HP E1368A User Manual

Page 69

Advertising
background image

Comments

Enabling the Trigger Source: The

TRIGger:SOURce

command

only selects the trigger source. The

INITiate[:IMMediate]

command

enables the trigger source.

Using the

TRIG

Command: You can use

TRIGger[:IMMediate]

to

advance the scan when

TRIGger:SOURce BUS

or

TRIGger:SOURce

HOLD

is selected.

Using External Trigger Inputs: With

TRIGger:SOURce EXTernal

selected, only one switchbox at a time can use the external trigger
input at the HP E1300/E1301 Mainframe’s "Event In" port. The
trigger input is assigned to the first switchbox requesting the external
trigger source (with a

TRIGger:SOURce EXTernal

command).

Assigning External Trigger: A switchbox assigned with

TRIG:SOUR EXT

remains assigned to that source until it receives a

command to change the source to

BUS

,

HOLD

, or

IMMediate

. When

the source is changed, the external trigger source is available to the
next switchbox which requests it (with a

TRIGger:SOURce

EXTernal

command). If a switchbox requests an external trigger

input 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 HP-IB Group Execute Trigger (

GET

).

"Trig Out" Port Shared by Switchboxes: See the

OUTPut

command.

Related Commands:

[ROUTe:]SCAN

,

TRIGger

,

ABORt

*RST Condition:

TRIGger:SOURce IMMediate

Example

Scanning Using External Triggers

This example uses external triggering (

TRIG:SOUR EXT

) to scan channels

00 through 02 of a single-module switchbox. The trigger source to advance
the scan is the input to the "Event In" port on an HP E1300A/E1301A
mainframe. When

INIT

is executed, the scan is started and channel 00 is

closed. Then each trigger received at the "Event In" port advances the scan
to the next channel.

TRIG:SOUR EXT

Sets trigger source to external.

SCAN (@100:102)

Scan channels 00 through 02.

INIT

Begin scan, close channel 00.

trigger externally

Advance scan to next channel.

68 HP E1368A/69A/70A Command Reference

Chapter 4

Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Advertising