To use the analyzer, To use the monitor, To use the analyzer -5 – RIGOL DP832A User Manual

Page 187: To use the monitor -5

Advertising
background image

Chapter 3 Application Examples

RIGOL

DP800 Programming Guide

3-5

To Use the Analyzer

Requirement

Use the SCPI commands to realize the following functions:
 Open the C:\REC 1:RIGOL.ROF file; set the start time to 1s (it is assumed that the record period of

C:\REC 1:RIGOL.ROF is 1s. Note that the range of the start time is from the record period of the record

file opened to the end time) and the end time to 100s.

 Execute the analysis.
 Read the analysis results.

Method

1

*IDN? /*Query the ID string of the power supply to check whether the remote

communication is normal*/

2

:ANAL:MEM 1 /*Open the C:\REC 1:RIGOL.ROF file*/

3

:ANAL:STARTT 1 /*Set the start time to 1s*/

4

:ANAL:ENDT 100 /*Set the end time to 100s*/

5

:ANAL:ANAL /*Execute the analysis*/

6

:ANAL:RES? /*Read the analysis results*/

To Use the Monitor

Requirement

Use the SCPI commands to realize the following functions:
 Monitor CH1.
 Set the monitor condition: >Voltage, >Current or >Power; set the voltage to 5V, the current to 3A and

the power to 15W; set the stop mode to OutpOff, Warning and Beeper.

 Enable the monitor.

Method

1

*IDN? /*Query the ID string of the power supply to check whether the

remote communication is normal*/

2

:INST CH1 /*Select CH1*/

3

:MONI:VOLT:COND >V,OR /*Set the voltage monitor condition to ">V" and the logic relation to

"OR"*/

4

:MONI:VOLT 5 /*Set the voltage of the monitor condition to 5V*/

5

:MONI:CURR:COND >C,OR /*Set the current monitor condition to ">C" and the logic relation to

"OR"*/

6

:MONI:CURR 3 /*Set the current of the monitor condition to 3A*/

7

:MONI:POWER:COND >P /*Set the power monitor condition to ">P"*/

8

:MONI:POWER 15 /*Set the power of the monitor condition to 15W*/

9

:MONI:STOP OUTOFF,ON /*Enable the "OutpOff" stop mode*/

10 :MONI:STOP WARN,ON /*Enable the "Warning" stop mode*/

11 :MONI:STOP BEEPER,ON /*Enable the "Beeper" stop mode*/

12 :MONI ON /*Enable the monitor*/

Advertising
This manual is related to the following products: