LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Presence

How would I determine if GPIB hardware is present on a system using LabWindows?
The program I am writing does both data analysis and retrieval. I would
like it to automatically detect when GPIB is unavailable so that certain
features of the program are not available to the user (ie avoid trying to
find and use instruments on a bus that doesn't exist).

I've tried "ibfind" on gpib0 and gpib1, but the function does NOT return
a negative number on an unfound board if no hardware is present at all.

At the present, I use "OpenDev" and check for errors every time I wish to
use an exertal device. If errors are present, the program avoids making
calls to that instrument. However, I would like to avoid the GPIB altogether
if its unavailable.

Any
suggestions? I suspect there may be a simple solution; I just don't
know what it is. My version of LabWindows/CVI is 5.5, if that helps.
0 Kudos
Message 1 of 1
(2,867 Views)