beautypg.com

Source – HP E1368A User Manual

Page 70

background image

Scanning Using Bus Triggers

This example uses bus triggering (

TRIG:SOUR BUS

) to scan channels 00

through 02 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

Select interface (BUS) triggering.

SCAN (@100:102)

Scan channels 00 through 02.

INIT

Start scan, close channel 00.

*TRG

Advances scan using BUS
triggering.

increment loop

Increment loop count.

:SOURce?

TRIGger:SOURce?

returns the current trigger source for the switchbox.

Command returns either

BUS

,

EXT

,

HOLD

, or

IMM

for trigger sources

BUS

,

EXTernal

,

HOLD

, or

IMMediate

, respectively.

Example

Query the Trigger Source

TRIG:SOUR EXT

Sets trigger source to external.

TRIG:SOUR?

Query trigger source.

Chapter 4

HP E1368A/69A/70A Command Reference 69

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