Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

24/7 system

1 view
Skip to first unread message

Isaac

unread,
Feb 21, 2008, 4:34:17 PM2/21/08
to
Hello,
I am developing a medium system for a factory that work 24/7 so I need
to make sure my software did not crash or hangup by any mean so what is
the measures I should place in my software ?

any suggestion are welcome
Thanks

Krisztian Pinter

unread,
Feb 22, 2008, 3:29:25 AM2/22/08
to
On Thu, 21 Feb 2008 22:34:17 +0100, Isaac <as...@fsdf.com> wrote:


> I am developing a medium system for a factory that work 24/7 so I need
> to make sure my software did not crash or hangup by any mean so what is
> the measures I should place in my software ?

you find a property of TApplication named "NeverFail". set it to true.

Isaac

unread,
Feb 22, 2008, 7:31:33 AM2/22/08
to

Thanks Krisztian, any advises are welcome

Ray Marron

unread,
Feb 22, 2008, 12:52:54 PM2/22/08
to
"Krisztian Pinter" <pinter.k...@chello.hu> wrote in message
news:op.t6w27bq6obk3tt@karwst_pint2...

You owe me a keyboard! :o)

--
Ray Marron


Isaac

unread,
Feb 22, 2008, 6:42:24 PM2/22/08
to
Ray Marron wrote:
> You owe me a keyboard! :o)
>

!!!! why ?? did your old keyboard is broken by me !!! :)

Ray Marron

unread,
Feb 25, 2008, 9:53:52 AM2/25/08
to
"Isaac" <as...@fsdf.com> wrote in message
news:47bf...@newsgroups.borland.com...

> Ray Marron wrote:
>> You owe me a keyboard! :o)
>>
>
> !!!! why ?? did your old keyboard is broken by me !!! :)

Your humorous reply caused me to spit coffee all over it!

--
Ray Marron


Isaac

unread,
Feb 25, 2008, 5:57:50 PM2/25/08
to
ok my advice is either you should not use a keyboard or not drinking
coffee any more again , you choose :)

seriously: about my topic I suggest my customer to buy UPS to prevent
data loose is there something else I should do in my software to prevent
crash or hanging specially when I am connecting to RS232 com ports

Krisztian Pinter

unread,
Feb 26, 2008, 3:46:16 AM2/26/08
to
On Mon, 25 Feb 2008 23:57:50 +0100, Isaac <as...@fsdf.com> wrote:

> seriously: about my topic I suggest my customer to buy UPS to prevent
> data loose

UPS, raid system, failsafe power supply, and bluescreen-safe operating
system
are good. but they DON'T make your data safe. they only reduce the recovery
costs, simply with making data recovery a less frequent operation.

no matter how safe your hardware is, you need to have plans for data loss.

> is there something else I should do in my software to prevent crash or
> hanging specially when I am connecting to RS232 com ports

a lot. designing safety critical and mission critical software is a
complete
branch in computer science. should your application corrupt any of its
data,
run on an unexpected code-branch, leave one uninitialized variable, and the
behaviour is unpredictable. garbage can be communicated over the rs232, or
can be written in any files, logs, etc. hangs, or crashes can occur. there
is
no silver bullet against bugs. there are methods that can minimize and help
detect bugs. the entire software design phase should be done with safety
issues in mind.

more to that, windows is no real time OS. you never can guarantee that your
thread will get CPU time when needed.

Arthur Hoornweg

unread,
Mar 4, 2008, 10:32:36 AM3/4/08
to
Isaac wrote:

> Hello,
> I am developing a medium system for a factory that work 24/7 so I need
> to make sure my software did not crash or hangup by any mean so what is
> the measures I should place in my software ?


On the hardware side, a UPS and a software that cleanly shuts down the PC
if the battery goes empty to prevent HDD damage.


On the software side, implement a "watchdog" application. This watchdog
application should communicate with your main application in regular time
intervals to see if it is still alive. Use sockets or named pipes for the
communication.

If it finds that the main application doesn't answer, it can undertake
action
such as killing/restarting the task or even rebooting the PC.

A hardware watchdog, connected to a serial port, is even better.

--
Arthur Hoornweg

(In order to reply per e-mail, please just remove the ".net"
from my e-mail address. Leave the rest of the address intact
including the "antispam" part. I had to take this measure to
counteract unsollicited mail.)

DelphiUser

unread,
Apr 8, 2008, 7:12:02 AM4/8/08
to
Bevor giving some advice I would like to know some more about your
architecture.

I have a system running which has
DB-Server
Application-Server
40-60 Fat-Clients
Products are connected by serial-port or lan.

At the beginning the DB-Server and the Application-Server were located on
different machines.
To improve the situation we later installed both (DB-Server and Application
Server) on the same machine.

"Isaac" <as...@fsdf.com> wrote in message

news:47bd...@newsgroups.borland.com...

0 new messages