Trigger:source - Agilent Technologies E1463A User's Manual And Scpi Programming Manual

32-channel, 5 amp, form c switch scpi programming guide
Hide thumbs Also See for E1463A:
Table of Contents

Advertisement

Example
Example

TRIGger:SOURce?

Example
74 E1463A Command Reference
ABORt, [ROUTe:]SCAN, OUTPut
Related Commands:
TRIGger:SOURce IMMediate
*RST Condition:
Scanning Using External Triggers
This example uses external triggering (TRIGger:SOURce EXTernal) to scan
channels 00 through 03 of a single-module switchbox. The trigger source to
advance the scan is the input to the "Trig In" port on the E1406A Command
Module. When INIT is executed, the scan is started and channel 00 is
closed. Then, each trigger received at the "Trig In" port advances the scan
to the next channel.
TRIG:SOUR EXT
SCAN(@100:103)
INIT
trigger externally
Scanning Using Bus Triggers
This example uses bus triggering (TRIG:SOUR BUS) to scan channels 00
through 03 of a single-module switchbox. The trigger source to advance the
scan is the *TRG command (as set with TRIGger:SOURce BUS). When INIT
is executed, the scan is started and channel 00 is closed. Then, each *TRG
command advances the scan to the next channel.
TRIG:SOUR BUS
SCAN(@100:103)
INIT
loop statement
*TRG
increment loop
returns the current trigger source for the switchbox. The
TRIGger:SOURce?
command returns BUS, EXT, HOLD, IMM, or TTLTfor sources BUS,
EXTernal, HOLD, IMMediate, or TTLTrgn, respectively.
Querying the Trigger Source
This example sets external triggering and queries the trigger source.
Since external triggering is set, TRIG:SOUR? returns "EXT".
TRIG:SOUR EXT
TRIG:SOUR?
!Select external triggering
!Scan channels 00 through 03
!Begin scan, close channel 00
!Advance scan to next channel
!Select interface (bus) triggering
!Scan channels 00 through 03
!Begin scan, close channel 00
!Loop to scan all channels
!Advance scan using bus
triggering
!Increment loop count
!Set external trigger source
!Query trigger source
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents