User`s manual

112 Agilent E8462A Relay Multiplexer Command Reference
external trigger source (with an TRIGger:SOURce EXTernal command).
Using TTL or ECL Trigger Bus Inputs:
With
TRIGger:SOURce TTLTrgn or ECLTrgn selected, only one switchbox at a time
can use the trigger bus selected on the Agilent E1406A Command Module bus. The
trigger input is assigned to the first switchbox that requested the trigger source (with
a
TRIGger:SOURce TTLTrgn or ECLTrgn command). Only one of the ten available
trigger bus lines (
ECL0 to 1 or TTL0 to 7) can be specified at one time.
Assigning
EXTernal|TTLTrg|ECLTrg Trigger Source: A switchbox assigned
with
TRIGger:SOURce EXT|TTLT|ECLT remains assigned to that source until the
switchbox trigger source is changed to
BUS, HOLD, or IMMediate. When the source
is changed, the trigger source is available to the next switchbox that requests it (with
a
TRIGger:SOURce ECLTn command). If a switchbox requests a trigger already
assigned to another switchbox, an error is generated.
Using Bus Triggers: To trigger the switchbox with
TRIGger:SOURce BUS
selected, use the IEEE 488.2 common command
*TRG or the GPIB Group Execute
Trigger (
GET) command.
"Trig Out" Port Shared by Switchboxes: See the
OUTPut command on page 83.
Related Commands:
ABORt, [ROUTe:]SCAN, OUTPut
*RST Condition: TRIGger:SOURce IMMediate
Example Scanning Using External Triggers
This example uses external triggering (
TRIG:SOUR EXT) to scan bank 0, channels
0 through 7 of a single-module switchbox. The trigger source to advance the scan is
the input to the "Trig In" on an Agilent E1406A Command Module. When
INIT is
executed, the scan is started and bank 0, channel 0 is closed. Then each trigger
received at the "Trig In" port advances the scan to the next channel. For the example,
ROUTe:SCAN:MODE and ROUTe:SCAN:PORT default values of NONE are used.
TRIG:SOUR EXT
Select external triggering.
SCAN (@100:107)
Scan channels 0 to 7.
INIT
Begin scan, close channel 0.
trigger externally
Advance scan to next channel.
Example Scanning Using Bus Triggers
This example uses bus triggering (
TRIG:SOUR BUS) to scan bank 0, channels 0
through 7 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 0 is closed. Then, each
*TRG command advances the
scan to the next channel. For the example,
ROUTe:SCAN:MODE and
ROUTe:SCAN:PORT default values of NONE are used.
TRIG:SOUR BUS
Trigger command will be via backplane
(bus) interface (*TRG command
generates trigger).
SCAN (@100:107)
Scan channels 0 to 7 in bank 0.
INIT
Begin scan, close channel 0.
loop statement
Loop to scan all channels.
*TRG
Advance scan using bus triggering.