Trigger[:sequence]:source, Trigger[:sequence]:source -158 – RIGOL DP832A User Manual

Page 182

Advertising
background image

RIGOL

Chapter 2 Command System

2-158

DP800 Programming Guide

:TRIGger[:SEQuence]:SOURce

Syntax

:TRIGger[:SEQuence]:SOURce {BUS|IMM}

:TRIGger[:SEQuence]:SOURce?

Description

Select the trigger source.
Query the trigger source currently selected.

Parameter

Name

Type

Range

Default

{BUS|IMM}

Discrete

BUS|IMM

BUS

Explanation

 The trigger sources include BUS (bus trigger) and IMM (immediate trigger). In

bus trigger, also called software trigger, the power supply receives trigger from

the bus, namely the power supply receives trigger via software. In immediate

trigger, the power supply receives immediate trigger via the remote interface.

 When the trigger source is set to "IMM" (immediate trigger), the system

executes a complete trigger operation (the voltage/current of the specified

channel changes to the trigger voltage/current currently set immediately)

immediately after executing the

:INITiate

or

:TRIGger:IN:IMMEdiate

command and there is no delay.

 When the trigger source is set to "BUS" (bus trigger, namely software trigger),

the system generates a trigger by executing the

*TRG

command after

executing the

:INITiate

or

:TRIGger:IN:IMMEdiate

command to initialize the

trigger system. Then, the power supply executes a trigger operation (the

voltage/current of the specified channel change to the trigger voltage/current

currently set) after the specified delay time (if the delay time is

set,

:TRIGger[:SEQuence]:DELay

).

 When the trigger source is set to "BUS" (bus trigger, namely software trigger),

the

*WAI

command can ensure the synchronization. After executing the

*WAI

command, the power supply will only execute new command when all the

pending operations are completed.

 When the trigger source is set to "BUS" (bus trigger, namely software trigger),

you can use the

*OPC

command to report that the operation is completed. The

*OPC? command will return "1" to the output buffer and the *OPC command

will set the bit0 (OPC bit, operation complete) in the standard event register

when the operation is finished.

 You can also send the

:TRIGger:IN:CHTYpe

command to select the trigger

source type.

Return Format

The query returns BUS or IMM.

Example

:TRIG:SOUR BUS /*Set the trigger source to BUS (bus trigger, namely software

trigger)*/

:TRIG:SOUR? /*Query the trigger source currently selected and the query

returns BUS*/

Related

Commands

:INITiate

:TRIGger:IN:IMMEdiate
*TRG

:TRIGger[:SEQuence]:DELay
*WAI
*OPC

:TRIGger:IN:CHTYpe

Advertising
This manual is related to the following products: