UNI-T MSO/UPO2000 Series Programming Manual page 150

Digital phosphor oscilloscope
Table of Contents

Advertisement

Programming Manual
LabVIEW
Environment: Window system, LabVIEW
Description: Access the instrument via USBTMC and TCP/IP, and send "*IDN?" command on NI-VISA
to query the device information.
Steps:
1.
Open LabVIEW software and create a VI file.
2.
Add control, press the front panel interface, select and add VISA resource name, error input, error
output and partial indetifier on control flow diagram.
3.
Open diagram, press VISA resource name and then select and add function VISA Write, VISA Read,
VISA Open and VISA Close on pop-out menu.
4.
VI open a VISA session of USBTMC device and wrote *IDN? command and read back the response
value. When all communication is complete, VI will close the VISA session.
5.
Communication with the device via TCP/IP is similar with USBTMC, it need to set VISA write and
read function to synchronous I/O, set LabVIEW to asynchronous IO by default. Right click on the
node and select "Synchronous I/O Mode>>Synchronous" from shortcut menu to enable synchronous
writing or reading of data, as shown in the following figure.
Instruments.uni-trend.com
Example
MSO/UPO2000 Series
150 / 156

Advertisement

Table of Contents
loading

Table of Contents