12-02-2009 06:52 AM
In our measurement software we get error code 5 after about 3 hours running the program.
Does anyone know the problem?
thx
12-02-2009 07:27 AM
12-02-2009 07:28 AM
12-02-2009 07:42 AM
😉 no file is open. i profed that.
the app is controlling different measurement devices.
i have a loop every loop step reads out a config file. in one loop step different sequences are passed.
but the error is random. the program is running some hours then the error occurs. i tell him to continue. thene it takes another hour when the next error occurs.
one loop step taks about 30 sec.
in one of these sequence steps the error occurs. but there is no connection to any file.
thanks
darja
12-02-2009 07:48 AM
12-02-2009 07:48 AM
Hi darja,
which function is giving your the error 5? Where does the error occur?
Anyway:
When you can continue your program without problems, you can simply catch that error and handle it correctly (i.e. cancel it programmatically)!
12-02-2009 07:59 AM
the error occures when i connect to a gpib device.
but not every time. i can connect to it 100 or 200 times, then the error occures.
i will implement the error handling and try to change the gpib device.
12-02-2009 08:20 AM
12-02-2009 08:28 AM