EasyManuals Logo

Rigol DP832 Programming Guide

Rigol DP832
134 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 #111 background imageLoading...
Page #111 background image
Chapter 4 Programming Demos RIGOL
DP800 Programming Guide 4-7
Matlab Programming Demo
The program used in this demo: MATLAB R2009a
The function realized in this demo: read the output voltage, current and power measured internally on
CH1.
1 Run the Matlab software and modify the current directory (namely modify the Current Directory at
the top of the software). In this demo, the current directory is modified to E:\DP800_Demo.
2 Click File New Blank M-File in the Matlab interface to create an empty M file.
3 Add the following codes in the M file:
dp800 = visa( 'ni','USB0::0x1AB1::0x0E11::DP8A000001::INSTR' ); %Create VISA object
fopen( dp800 ); %Open the VISA object created
fprintf(dp800, ':MEAS:ALL? CH1' ); %Send request
meas_CH1 = fscanf(dp800); %Read data
fclose(dp800); %Close the VISA object
display(meas_CH1) %Display the device information read
4 Save the M file under the current directory. In this demo, the M file is named as
DP800_Demo_MATLAB.m.
5 Run the M file and the following running result is displayed in the command window.
meas_CH1 =
7.9833,0.0484,0.386

Table of Contents

Other manuals for Rigol DP832

Questions and Answers:

Question and Answer IconNeed help?

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

Rigol DP832 Specifications

General IconGeneral
Number of Outputs3
Output Voltage Range CH1/CH20-30V
Output Voltage Range CH30-5V
Output Current Range CH1/CH20-3A
Output Current Range CH30-3A
Total Power195 W
Power per Channel CH1/CH290 W
Power per Channel CH315 W
Voltage Resolution1 mV
Current Resolution1 mA
InterfacesUSB, RS232
Display3.5 inch TFT LCD

Related product manuals