LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument faults not handled gracefully

Hello

Just as a test, I decided to switch off an instrument in the middle of a LabVIEW acquisition to see how it would handle it. The results were not pretty - not only did LabVIEW freeze, it also froze my KDE session and logged me out. The OS was not affected, but shouldn't LabVIEW generate an error, stop the execution and display a user message if it suddenly loses contact with an instrument instead of this freeze+crash ?

Using LabVIEW 7.1 on Linux.

Thanks.
0 Kudos
Message 1 of 3
(2,682 Views)
What kind of instrument were you using, and what interface. Was it VISA? In my experience, VISA generates an error once the communication timeout is reached. The timeout is set using propery nodes. If you're using VISA, was the timeout changed to something ridiculously large?

I've never seen LabVIEW completely freeze in the kind of situation you're describing, but then I wasn't using Linux, so I don't know if that's a factor.
0 Kudos
Message 2 of 3
(2,676 Views)
Hello,

I am using VISA. I have not checked the timeout value, but no matter what it is, why should the program freeze and crash my WM ? It should just keep on waiting for that period of time before indicating an error.

Thanks.

0 Kudos
Message 3 of 3
(2,668 Views)