LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error 6 when running VI

I have attached the VI which sometimes gives me an Error 6, but sometimes don't. The VI is part of the HP 5371A instrument. And when I press PRESET (reset)button on HP sometimes it does run without error 6 but it is giving me trouble most of the time and I do not know what's causing it?
0 Kudos
Message 1 of 2
(2,551 Views)
You can learn what error 6 means by opening LabVIEW >> help >> explain error.

Warning 6 occurred at an unidentified location.

Possible reasons:

LabVIEW: Generic file I/O error.
or
NI-488: I/O operation aborted.


I suspect that since you are using an GPIB device, the latter message pertains. I suspect your computer is running much faster than the device. Have you considered putting delays in your code to help diagnose the problem?
0 Kudos
Message 2 of 2
(2,551 Views)