beautypg.com

Measurement Computing Analyzer488 User Manual

Page 113

background image

Section 4

Serial Controller

4.19

ARM

The ARM command programs the Analyzer488 to send event messages to the

serial host when one or more specified events (SRQ, TRIGGER, RECORD, or STEP)
occur. The event messages returned are the same strings used to program the events.

Once a condition is ARMed it remains ARMed until the event specified has

occurred, it is DISARMed, or the Analyzer488 is reset. The ARM command must be
resent after an event message is reported to reactivate the ARMed condition.

There are two types of events, level sensitive and edge sensitive. The level

sensitive event, SRQ, will be reported immediately if the SRQ line is asserted when
ARM

is issued. Usually, some action must be taken, such as issuing a SPOLL

command to clear SRQ, prior to reissuing the ARM command. The edge sensitive
events, TRIGGER, RECORD, and STEP, are cleared when reported.

The query option, ARM?, returns the conditions that are presently ARMed.

TYPE

System Command

SYNTAX

ARM

[[?]|[event[event…]]]

event

is one or more of SRQ, TRIGGER, RECORD, or STEP

If no event is specified, ARM SRQ is assumed.

RESPONSE

Event string sent when the event occurs

REMARKS

The following conditions are available using the ARM command:

SRQ

The event message 'SRQ' is returned to the serial host when the state
of the Service Request (SRQ) bus line is detected to be in the
asserted state. This event is level sensitive. If the condition exists at
the time the ARM SRQ command is issued, the Analyzer488 will
return the event message immediately. If the ARM command is issued
without any specified events, ARM SRQ is assumed.