The display window will outline the write and read operations.Īfter completing your configuration and verifying communication with the instrument, you can easily transition from interactive mode to programming mode by using an instrument driver. Refer to manufacturer documentation for a valid list of commands to use with your instrument. In the Basic I/O tab, input a supported command and select Query. In the Test Panel windows, select the Input/Output tab. Select the VISA TCP/IP resource of your instrument. In MAX, select the Tools tab > NI-VISA > VISA Interactive Control. Raw Socket Instrument - TCPIP::host address::port::SOCKETĪfter set up and configuration, use VISA Test Panels to verify communication with the instrument and test different instrument commands.There should now be a new VISA TCP/IP Resource under Devices and Interfaces > Network Devices in MAX in one of the following formats: Validate and finish the configuration.The instrument's port number should be indicated in its Ethernet Interface Specification found in manufacturer documentation. With this option, you will have to enter an IP address and port number for your instrument. Otherwise, select Manual Entry of Raw Socket to add your Ethernet instrument as a Raw Socket. Manual Entry of LAN instrument - Add the IP address and LAN device name for your instrument manually.Auto-detect of LAN Instrument – This option provides a list of LAN instruments found on the local subnet.If your instrument conforms to the VXI-11 LAN or LXI instrument specifications, select one of the following Select the type of TCP/IP resource to add.In the Create New… window, select VISA TCP/IP Resource. Right-click on Devices and Interfaces and select Create New… Use Measurement and Automation Explorer (MAX) to create and configure the VISA TCP/IP Resource used to communicate with your instrument. If you get a reply response back, you are able to communicate with the instrument and are ready to configure it in Measurement & Automation Explorer (MAX). Depending on the instrument, you may not need to specify the port. Where is the IP address of the instrument and yyyy is the port. Open the Command Prompt from the Start menu. Ping your device to make sure you can communicate with your instrument over the network. Refer to your instrument’s user manual for more information. NI-VISA and LabVIEW Version Compatibilityĭirectly connect the instrument’s Ethernet port to the Ethernet port on the target machine via an Ethernet cable. ![]() NI-VISA and Operating System Compatibility.LabVIEW and Microsoft Windows Compatibility.Refer to the following for compatibility information. Install the latest compatible version of LabVIEW and the NI-VISA driver.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |