beautypg.com

To use the trigger, Trigger input, Trigger output – RIGOL DP832A User Manual

Page 188: To use the trigger -6, Trigger input -6, Trigger output -6

background image

RIGOL

Chapter 3 Application Examples

3-6

DP800 Programming Guide

To Use the Trigger

Trigger Input

Requirement

Use the SCPI commands to realize the following functions:
 Set the trigger input parameters of D0: set the source under control to CH1, the trigger type to falling

edge, the output response to ON and the trigger sensitivity to low.

 Enable the trigger input function of D0.

Method

1

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

communication is normal*/

2

:TRIG:IN:SOUR D0,CH1 /*Set the source under control of the trigger input of D0 to CH1*/

3

:TRIG:IN:TYPE D0,FALL /*Set the trigger type of the trigger input of D0 to falling edge*/

4

:TRIG:IN:RESP D0,ON /*Set the output response of the trigger input of D0 to ON*/

5

:TRIG:IN:SENS D0,LOW /*Set the trigger sensitivity of the trigger input of D0 to low*/

6

:TRIG:IN D0,ON /*Enable the trigger input function of D0*/

Trigger Output

Requirement

Use the SCPI commands to realize the following functions:
 Set the trigger output parameters of D1: set the control source to CH2, the trigger condition to

"Voltage>5V", the output signal to square waveform (0.5s period and 60% duty cycle) and the polarity

of the signal to negative.

 Enable the trigger output function of D1.

Method

1

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

remote communication is normal*/

2

:TRIG:OUT:SOUR D1,CH2 /*Set the control source of the trigger output of D1 to CH2*/

3

:TRIG:OUT:COND D1,>V,5 /*Set the trigger condition of the trigger output of D1 to

"Voltage>5V"*/

4

:TRIG:OUT:SIGN D1,SQUARE /*Set the trigger output signal of D1 to square waveform*/

5

:TRIG:OUT:PERI D1,0.5 /*Set the period of the square waveform of the trigger output on D1

to 0.5s*/

6

:TRIG:OUT:DUTY D1,60 /*Set the duty cycle of the square waveform of the trigger output on

D1 to 60%*/

7

:TRIG:OUT:POLA D1,NEGA /*Set the polarity of the trigger output signal of D1 to negative*/

8

:TRIG:OUT D1,ON /*Enable the trigger output function of D1*/

This manual is related to the following products: