LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can my VISA control communicate with an instrument via TCPIP?

Solved!
Go to solution

The VISA controls find my GPIB instrument when I select "Refresh", but none of the TCPIP instruments. I know the TCPIP instruments are connected because I can ping them.

0 Kudos
Message 1 of 7
(3,164 Views)
Solution
Accepted by topic author bmihura

if you're looking for how to build the resourcename, it can be found over here

 

TCPIP SOCKET TCPIP[board]::host address::port::SOCKET

 

e.g.

 

TCPIP0::1.2.3.4::999::SOCKET Raw TCP/IP access to port 999 at the specified IP address.
TCPIP::dev.company.com::INSTR A TCP/IP device using VXI-11 located at the specified address. This uses the default LAN Device Name of inst0.
Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
Message 2 of 7
(3,161 Views)

Did you create the VISA TCP/IP resource in MAX first?

0 Kudos
Message 3 of 7
(3,152 Views)

How is that done? I've used MAX for NI devices and other GPIB devices, but never TCPIP. I can't find this in MAX's help either.

0 Kudos
Message 4 of 7
(3,147 Views)

Right click on Devices & Interfaces and select Create New>VISA TCP/IP Resource. Since you marked your question as solved, why are you asking?

0 Kudos
Message 5 of 7
(3,140 Views)

I'd like to know how to do this in MAX, even though that first answer solved my problem.

 

I actually read about the "Devices and Interfaces" item in MAX's configuration tree, but my MAX's tree does not have this. It only has this, as shown in the attached screenshot:

 

My System

   Software

Remote Systems

 

How do I get "Devices and Interfaces" into that tree?

 

 

0 Kudos
Message 6 of 7
(3,133 Views)

Hold on, I'll ask that in a new thread so you can get points.

0 Kudos
Message 7 of 7
(3,132 Views)