LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to trace the error " Labview.exe has generated error"

I use Labview 5.1.1 to control A GPIB and A 3rd party frame grabber. I often get the error "Labview.exe has generated error...". I use NI-spy to monitor GPIB operation and found there is nothing worng other than the red line "viwaitonevent time out". However the instrument controlled by GPIB is working fine. The program crashes in random style and there is no specific error shown up before close window.

How to debug such error?
0 Kudos
Message 1 of 3
(2,307 Views)
The problem is likely within LabVIEW and not your VI or the GPIB device. I recommend trying a different operating system or the eval for LabVIEW 7. You can also look into updating the drivers for your computer--ni 488.2, video, etc.
0 Kudos
Message 2 of 3
(2,307 Views)
By the way, the VIWaitOnEvent timeout error is normal. We occasionally check for an event with a short timeout to see what's going on with VISA.
0 Kudos
Message 3 of 3
(2,307 Views)