beautypg.com

Trigger:state, Trigger:source – GW Instek GDS-1000A-U Series Programming Manual User Manual

Page 84

background image

GDS-1000A-U Programming Manual

84

Note

Before using this command, select the edge or
pulse trigger. See the example below.

Example

:trigger:type 0
:trigger:slop 1

Selects the edge trigger
and negative trigger
slope

:TRIGger:STATe

Query

Description

Queries the present trigger state.

Syntax

< Long >

< Short >

:trigger:state?

:trig:stat?

Return Parameter

Trigger state

0

Un-triggered

1

Triggered

Note

This function is designed for triggering with slow
time-bases or for single shot events. This query
will return 0 before the trigger point and 1 after a
trigger point (if any).
However with quicker time-bases in auto mode, a
periodic waveform is constantly re-sampled and
thus re-triggered each time, resulting in the query
returning 0 before each trigger. Therefore with
quicker time bases, this will usually result in 0
being returned, even if the waveform is shown as
triggered.

Example

:trigger:state?
0

Returns the current
trigger state as un-
triggered.

:TRIGger:SOURce

Set

Query

Description

Selects the trigger source channel.
Same as: Trigger key → F2