beautypg.com

Timing output, Delay output, Timing output -3 – RIGOL DP832A User Manual

Page 185: Delay output -3

background image

Chapter 3 Application Examples

RIGOL

DP800 Programming Guide

3-3

Timing Output

Requirement

Use the SCPI commands to realize the following functions:
 Set the timer parameters of CH1: set the number of groups to 25, the number of cycles to 20 and the

end state to last; use the Sine templet to create the timer parameters; set the editing object to voltage

and the current to 2A; set the templet maximum to 8V and the templet minimum to 0V; set the total

number of points to 25 and the time interval to 5s; enable the invert.

 Save the timer parameters edited.
 Enable the timing output.

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

:TIME:GROUP 25 /*Set the number of groups to 25*/

4

:TIME:CYCLE N,20 /*Set the number of cycles to 20*/

5

:TIME:ENDS LAST /*Set the end state to last*/

6

:TIME:TEMP:SEL SINE /*Select Sine templet*/

7

:TIME:TEMP:OBJ V,2 /*Set the editing object to voltage and set the current to 2A*/

8

:TIME:TEMP:MAXV 8 /*Set the maximum to 8V*/

9

:TIME:TEMP:MINV 0 /*Set the minimum to 0V*/

10 :TIME:TEMP:POINT 25 /*Set the total number of points to 25*/

11 :TIME:TEMP:INTE 5 /*Set the time interval to 5s*/

12 :TIME:TEMP:INVE ON /*Enable the invert*/

13 :TIME:TEMP:CONST /*Create the timer parameters*/

14 :MEM:STOR RTF,1 /*Save the timer parameters edited in internal memory*/

15 :OUTP CH1,ON /*Enable the output of CH1*/

16 :TIME ON /*Enable the timing output*/

Delay Output

Requirement

Use the SCPI commands to realize the following functions:
 Set the delayer parameters of CH1: set the number of groups to 25, the number of cycles to 20 and the

end state to last; select 1 0 pattern to generate state; set the time generation method to monotonic

increase, the time base value to 2s and the step to 5s; set the stop condition to ">V" and the voltage

to 8V.

 Save the delayer parameters edited.
 Enable the delay output.

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

:DELAY:GROUP 25 /*Set the number of groups to 25*/

4

:DELAY:CYCLE N,20 /*Set the number of cycles to 20*/

5

:DELAY:ENDS LAST /*Set the end state to last*/

6

:DELAY:STAT:GEN 10P /*Select 1 0 pattern to generate state*/

7

:DELAY:TIME:GEN INC,2,5 /*set the time generation method to monotonic increase, the time base

value to 2s and the step to 5s */

8

:DELAY:STOP >V,8 /*Set the stop condition to ">V" and the voltage to 8V*/

9

:MEM:STOR RDF,1 /*Save the delayer parameters edited in internal memory*/

10 :OUTP CH1,ON /*Enable the output of CH1*/

11 :DELAY ON /*Enable the delay output*/

This manual is related to the following products: