Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

ivi property

In creating a Labview G driver that uses the new visa open, the resource string has been replaced with a session id. 
 
In some cases though it is important to understand if the connection is a gpib, serial, USB, tcip instrument or a tcip socket as the device has functions such as the READ STROBE that  are and are not present over all interfaces. 
 
With the old visa open, you could test the resourse string and determine how the connection was made for example ASR indicated a serial port was in use and SOCKET provide the key to TCIP over a socket So the Labview G driver knows certain functions are not avaialble.  Now with properties and the new open, how do you do determine the connection type with 100 % certainity?
 
 
 
 
 
0 Kudos
Message 1 of 2
(2,956 Views)

I'm not sure what you mean by 'new' VISA Open and parsing the resource name was always a problem if an alias was used. Use a VISA property node and select Interface Information>Interface Type.

Message Edited by Dennis Knutson on 07-13-2007 12:32 PM

Message 2 of 2
(2,955 Views)