Source - HP E1361A 4X4 User Manual

Relay matrix module
Table of Contents

Advertisement

Examples

:SOURce?

Example
Chapter 5
All manuals and user guides at all-guides.com
Scanning Using External Triggers
This example uses external triggering (
through 03 of a single-module switchbox. The trigger source to advance the scan is
the input to the "Event In" on an HP E1300A/E1301A mainframe. When
executed, the scan is started and channel 00 is closed. Then each trigger received at
the "Event In" 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 (
03 of a single-module switchbox. The trigger source to advance the scan is the
command (as set with
TRIGger:SOURce BUS
started and channel 00 is closed. Then, each
the next channel.
TRIG:SOUR BUS
SCAN (@100:103)
INIT
loop statement
*TRG
increment loop
returns the current trigger source for the switchbox. Command
TRIGger:SOURce?
returns
BUS
,
EXT
,
HOLD
IMMediate, respectively.
Query Trigger Source
This example sets external triggering and queries the trigger source. Since external
triggering is set,
TRIG:SOUR?
TRIG:SOUR EXT
TRIG:SOUR?
TRIG:SOUR EXT
Select external triggering
Scan channels 00 through 03
Begin scan, close channel 00
Advance scan to next channel
TRIG:SOUR BUS
). When
*TRG
Select interface (bus) triggering
Scan channels 00 through 03
Start scan, close channel 00
Loop to scan all channels
Advance scan using bus triggering
Increment loop count
, or
IMM
for sources BUS, EXTernal, HOLD, or
returns
.
EXT
Set external trigger source
Query trigger source
) to scan channels 00
INIT
) to scan channels 00 through
INIT
is executed, the scan is
command advances the scan to
C ommand Reference59
is
*TRG

Advertisement

Table of Contents
loading

Table of Contents