EasyManuals Logo

Rigol DL3000 Series Programming Guide

Rigol DL3000 Series
96 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #80 background imageLoading...
Page #80 background image
RIGOL Chapter 4 Programming Instances
4-6 DL3000 Programming Guide
MATLAB Programming Instance
Program used in this example: MATLAB R2009a
Function realized in this example: sending the *IDN? command and reading the instrument
information.
1. Run the MATLAB software and modify the current path (modify the Current Directory at the top of
the software). In this example, modify the current path to E:\DL3000_Demo.
2. Click File New Blank M-File in the MATLAB interface to create an empty M file.
3. Add the following codes to the M file:
dl3000= visa('ni','USB0::0x1AB1::0x0E11::DL3000A000001::INSTR'); %create VISA object
fopen(dl3000); %open the created VISA object
fprintf(dl3000, '*IDN?'); %send request
meas_CH1 = fscanf(dl3000); %read data
fclose(dl3000); %close the VISA object
display(IDN) %display the device information already read
4. Save the M file to the current path. In this instance, the M file is named as
"dl3000_Demo_MATLAB.m".
5. Run the M file and the running results are displayed as follows:
IDN=
RIGOL TECHNOLOGIES,DL3031A,LS000001,00.01.00.04.05

Table of Contents

Other manuals for Rigol DL3000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rigol DL3000 Series and is the answer not in the manual?

Rigol DL3000 Series Specifications

General IconGeneral
BrandRigol
ModelDL3000 Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals