Programming Manual UTG1000X Series
Instruments.uni-trend.com
44
/
51
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.
MATLAB Example
Environment: Window system, MATLAB
Description: Access the instrument via USBTMC and TCP/IP, and send "*IDN?" command on
NI-VISA to query the device information.
Steps:
1.
Open MATLAB software, click File>>New>>Script on Matlab interface to create an empty M file.
2.
Source code
a)
USBTMC Example