Measurement Computing Analyzer488 User Manual

Page 114

Advertising
background image

Section 4

Serial Controller

4.20

TRIGGER

The event message 'TRIGGER' is returned to the serial host when the
Analyzer488 trigger circuitry has found the trigger point. This event
is edge sensitive.

RECORD

The event message 'RECORD' is returned to the serial host when the
Analyzer488 recording sequence is finished. This event is edge
sensitive.

STEP

The event message 'STEP' is returned to the serial host when the bus
is ready for a source (talker) or acceptor (listener) handshake. This
event is edge sensitive.

MODE

any

BUS STATES

None

QUERY

String of events in the following format:

RESPONSE

ARM SRQ TRIGGER STEP RECORD

EXAMPLES

100 PRINT#1,"ARM SRQ"

Enable SRQ Condition

110 T = TIMER
110 IF LOC(1) THEN PRINT INPUT$(LOC(1),1);
120 IF TIMER - T < 5 GOTO 110

SRQ message will be received and printed if an SRQ occurs within
5 seconds after receipt of the ARM command.

PRINT #1,"ARM SRQ STEP"

Arm SRQ and STEP.

PRINT #1,"ARM?"

Query armed status.

INPUT #1, A$

Get response.

PRINT A$

Display results

The returned string would be:
'ARM SRQ STEP'

Refer to the demonstration program listed in appendix F for further examples of

the ARM command.

Advertising