Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET with GPIB Interface -- Verifying Listener Present

I have a NI PCI-GPIB interface card, and simply want to verify that the device is turned on with my program starts up.  I am using VB.NET within MS Visual Studio 2003 along with the GPIB library (included with the NI Card) for .NET. 
 
Is there a simply command to verify that the (or any device) is listening on the GPIB cable?   I do have it working right now, but it is not very clean or quick...
 
Thanks.
0 Kudos
Message 1 of 4
(3,844 Views)
I would look at the Board class's FindListeners() overloaded method.  You can find all listeners, or for maximum efficicency, specify what address you want to scan and it will do so.  Hope this helps.
 
Scott B.
GPIB Software
0 Kudos
Message 2 of 4
(3,825 Views)
Ok.. I was able to find the FindListener Function within the Board Object of the NationalInstruments Library. 
 
However, when I try to run my code to check for a listener, I get the following error:
 
"Additional Information: Method requeres the GPIB Interface to be CIC"
 
What does this mean and how do I make my interface "CIC"?
0 Kudos
Message 3 of 4
(3,803 Views)

CIC means Controller-In-Charge.  See the board method "SendInterfaceClear".

Scott

0 Kudos
Message 4 of 4
(3,791 Views)