beautypg.com

Trigger on command – Measurement Computing TempScan/1100 User Manual

Page 208

background image

A-12 API Command Reference

889897

TempScan / MultiScan User’s Manual

@

- Trigger On Command

TYPE

Acquisition

EXECUTION

Deferred

SYNTAX

@

Trigger upon receipt of an

@

DESCRIPTION

The Trigger On (

@

) command will start or stop the acquisition accordingly when the

start

or

stop

arguments

of the Set Trigger Configuration (

T

) command is set to

1

(trigger on). The

T

command is used as a trigger source

and follows the same rules as other trigger sources as defined by the

T

command.

The

@

command is valid only when an acquisition is configured such that either the Trigger (trigger start event)

and/or Stop (trigger stop event) is defined as the Trigger On (

@

) command. Otherwise, if this command is issued

such that either the Trigger and/or Stop are not defined as the Trigger On (

@

) command, an error condition will

occur.

EXAMPLE

PRINT#1, “OUTPUT07;T1,1,0,0X”

‘ Configure an acquisition with both Trigger and Stop

being assigned the Trigger On (

@

) command

PRINT#1, “OUTPUT07; @X”

‘ Start the acquisition

SLEEP 10

‘ Wait 10 seconds to collect data

PRINT#1, “OUTPUT07; @X”

‘ Stop the acquisition

This manual is related to the following products: