Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
11 rating:
 1.72 out of 5     Rate this Document

Communicating with an Ethernet Controlled Instrument in LabVIEW

Hardware: PXI/CompactPCI>>Controllers

Problem:
Using LabVIEW, how do I read data from an instrument with an Ethernet connection?

Solution:
There are two ways to reference an Ethernet instrument in LabVIEW: 
  • Create a VISA resource constant.  The instrument reference is TCPIP::xxx.xxx.xxx.xxx::INSTR, where the x's refer to the instrument's IP address.  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.


Related Links:
KnowledgeBase 2OTCMRBJ: How Do I Configure the IP Addess of my Ethernet Instrument?
Developer Zone Tutorial: Ethernet Instrument Control Tutorial
Developer Zone Tutorial: Understanding LAN/LXI for Instrument Control
Developer Zone: Instrument Driver Network

Attachments:





Report Date: 02/18/2003
Last Updated: 05/15/2009
Document ID: 2UH3QKH6

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit