Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

"pyVisa" support for TCPIP INSTR (RAW)?

I am using the "pyVisa 1.3" on windows. This version does not seem to support the TCPIP INSTR type. I have serial, GPIB and USB working at this point. I wanted to add the TCPIP INSTR support to our test application. The NI_VISA utility allows me to interact with the new TCIP INSTR test device in raw mode and it is working fine. This implies that only the python class support is missing. There doesn't appear to be a class defined for TCPIP INSTR.

 

So at this point I assume that I either need to find a better Python solution (is there an alternative to pyVisa?) or I will need to modify the "pyVisa" source to support the necessary "ctype" calls.

 

Let me know what you know :-}

0 Kudos
Message 1 of 2
(4,480 Views)

Discovered the undifferentiated Instrument class available in the current pyvisa release works fine with TCPIP INSTR device access types. Didn't need to add anything to the python code.

0 Kudos
Message 2 of 2
(4,474 Views)