Thread View: borland.public.delphi.database.win32
10 messages
10 total messages
Started by Isaac
Thu, 21 Feb 2008 21:34
24/7 system
Author: Isaac
Date: Thu, 21 Feb 2008 21:34
Date: Thu, 21 Feb 2008 21:34
7 lines
1092 bytes
1092 bytes
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
Re: 24/7 system
Author: Krisztian Pinter
Date: Fri, 22 Feb 2008 08:29
Date: Fri, 22 Feb 2008 08:29
8 lines
1265 bytes
1265 bytes
On Thu, 21 Feb 2008 22:34:17 +0100, Isaac <asda@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.
Re: 24/7 system
Author: Isaac
Date: Fri, 22 Feb 2008 12:31
Date: Fri, 22 Feb 2008 12:31
11 lines
1405 bytes
1405 bytes
Krisztian Pinter wrote: > On Thu, 21 Feb 2008 22:34:17 +0100, Isaac <asda@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. Thanks Krisztian, any advises are welcome
Re: 24/7 system
Author: Ray Marron
Date: Fri, 22 Feb 2008 17:52
Date: Fri, 22 Feb 2008 17:52
15 lines
1420 bytes
1420 bytes
"Krisztian Pinter" <pinter.krisztian@chello.hu> wrote in message news:op.t6w27bq6obk3tt@karwst_pint2... > On Thu, 21 Feb 2008 22:34:17 +0100, Isaac <asda@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. You owe me a keyboard! :o) -- Ray Marron
Re: 24/7 system
Author: Isaac
Date: Fri, 22 Feb 2008 23:42
Date: Fri, 22 Feb 2008 23:42
5 lines
1023 bytes
1023 bytes
Ray Marron wrote: > You owe me a keyboard! :o) > !!!! why ?? did your old keyboard is broken by me !!! :)
Re: 24/7 system
Author: Ray Marron
Date: Mon, 25 Feb 2008 14:53
Date: Mon, 25 Feb 2008 14:53
12 lines
1350 bytes
1350 bytes
"Isaac" <asda@fsdf.com> wrote in message news:47bf5dbc@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
Re: 24/7 system
Author: Isaac
Date: Mon, 25 Feb 2008 22:57
Date: Mon, 25 Feb 2008 22:57
16 lines
1638 bytes
1638 bytes
Ray Marron wrote: > "Isaac" <asda@fsdf.com> wrote in message > news:47bf5dbc@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! > 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
Re: 24/7 system
Author: Krisztian Pinter
Date: Tue, 26 Feb 2008 08:46
Date: Tue, 26 Feb 2008 08:46
29 lines
2462 bytes
2462 bytes
On Mon, 25 Feb 2008 23:57:50 +0100, Isaac <asda@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.
Re: 24/7 system
Author: Arthur Hoornweg
Date: Tue, 04 Mar 2008 15:32
Date: Tue, 04 Mar 2008 15:32
34 lines
2085 bytes
2085 bytes
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.)
Re: 24/7 system
Author: DelphiUser
Date: Tue, 08 Apr 2008 11:12
Date: Tue, 08 Apr 2008 11:12
25 lines
1737 bytes
1737 bytes
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" <asda@fsdf.com> wrote in message news:47bdee3c@newsgroups.borland.com... > 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads