This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Communicating with an Ethernet Controlled Instrument in LabVIEW

Updated Jan 14, 2019

Reported In


  • cRIO-9067

Issue Details

How do I communicate with an Ethernet instrument in LabVIEW? Or I am trying to communicate with an Ethernet instrument in LabVIEW with a cRIO, but I can't create a TCP/IP resource in MAX.


There are two ways to reference an Ethernet instrument in LabVIEW: 
  • Create a VISA resource constant.  The instrument reference in the figure below is, where the x's refer to the instrument's IP address, and INSTR is the resource name. (INSTR may not always be the resource name, check your device's manual.) This method does not require configuration in Measurement & Automation Explorer (MAX). 
  • Create a new TCP/IP VISA resource in MAX.  Then reference the VISA Alias in LabVIEW instead of using the constant created in the previous step.  To setup the TCP/IP VISA resource, refer to the Ethernet Instrument Control Tutorial referenced below. Because cRIO real-time targets do not have the ability to create a new TCP/IP VISA resource in MAX, you need to create a VISA resource constant to communicate with an Ethernet Instrument.

Additional Information

  • More information regarding VISA resource constants can be found here.