SIGLENT
SSG5000X Programming Guide 143
4.1.3
MATLAB Example
Environment: Win7 32bit system, MATLAB R2013a
The function of this example: Use National Instruments NI-VISA to control the device
with USBTMC or TCP/IP access and perform write and read operations.
Follow the steps to complete the example:
1.
Open MATLAB, modify the current directory. In this demo, the current directory is
modified to D:\USBTMC_TCPIP_Demo.
2.
Click File>>New>>Script in the Matlab interface to create an empty M file
3.
Add codes:
(1)
USBTMC access code
Write a function
Usbtmc_test.
function
USBTMC_test()
% This code demonstrates sending synchronous read & write commands
% to an USB Test & Measurement Class (USBTMC) instrument using
% NI-VISA
Содержание SSG5000X Series
Страница 1: ...SSG5000X Series Signal Generator Programming Guide PG0805X E01A...
Страница 14: ...SIGLENT 14 SSG5000X Programming Guide...
Страница 131: ...SIGLENT SSG5000X Programming Guide 131...
Страница 152: ...SIGLENT 152 SSG5000X Programming Guide To close the normal telnet window type Quit and press Enter...