Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there an easy way to find out if the GPIB/ENET adapter is connected to the computer?

I'm using Component Works for Visual Basic and have no problem with my software on computers with PCMCIA GPIB adapters. The GPIB driver seems to know if the adapter is in the computer or not.

When my software is used on a computer where the GPIB/ENET adapter is not powered on, the software seems to lock up but eventually comes back with an error. Since there doesn't seem to be an easy way to determine if an adapter is present my code just assumes it's there, which doesn't work with the GPIB/ENET GPIB dll. Is there any way I can look for the board before querying for instuments on the bus?
0 Kudos
Message 1 of 2
(3,311 Views)
Hello David,
One possible solution would be to ping the ENET box. If you know the IP of the box, a simple ping should immediatly let you know the status of the box.

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,311 Views)