LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is GPIB ResetSys documentation wrong?

LabVIEW Help states that the GPIB ResetSys function asserts REN before sending IFC. Does the order here matter (all other documents I've seen claim you should send IFC before REN when Resetting the GPIB.) I'm trying to devise a way to use the VISA GPIB Send IFC function to automatically unhang a while loop that performs VISA Reads (it occasionally stalls when random VISA errors occur.) I'm hoping I can send IFC from a separate while loop that monitors a local variable of the VISA Read error message.
0 Kudos
Message 1 of 2
(2,539 Views)
The help for NI-488.2 has a similar description of the behavior of ResetSys. Perhaps someone from NI's GPIB group can confirm that this is really how the driver behaves (and why).

I'm concerned with your "random VISA errors". What are they? Do you think it's the instrument that gets confused, or the VISA driver? It just seems like it would be better to get to the root of this problem, if that's possible. Resetting the bus seems like a sledgehammer.

Brian
0 Kudos
Message 2 of 2
(2,539 Views)