ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib fail connect

HI all, I have a small VI that comunicate with the instrument by using gpib card. And the card can connect to the instrument also. My problem is when I try to test with the no gpib attached to the usb computer, the VI just hang at there and do nothing, I did refer to the sample in the labview, the problem still at there. What I want to do is when no gpib card or instrument being detected, it will go to the error, rather just hang at somewhere. With the attachment is my small VI , correct me if I am wrong. Any idea Thanks William Lee
0 Kudos
Message 1 of 3
(3,698 Views)
Why not use VISA with a short timeout?
greetings from the Netherlands
Message 2 of 3
(3,670 Views)
Yes, the VISA functions and not the low level GPIB is the preferred api and has been for quite a few years.
Message Edited by Dennis Knutson on 07-23-2009 02:50 PM
Message 3 of 3
(3,667 Views)