beautypg.com

Martel Electronics M2000 User Manual

Page 25

background image

*TST?

IEEE-488

RS-232

Sequential

Overlapped

(Self Test command) Initiates self-test and returns a 0 for pass or a 1 for fail. If any faults are
detected, they are displayed on screen (Terminal mode) or are logged into the fault queue
where they can be read by the FAULT? query (Computer mode).

Responses:

0

(fail self test)

1

(pass self test)

Example:

*TST? returns 1

Returns 1 when self test passes.

*WAI

IEEE-488

RS-232

Sequential

Overlapped

(Wait-to-Continue command) Prevents further remote commands from being executed until all
previous remote commands have been executed. For example, if you send an OUT com-
mand, you can cause the M2000 to wait until the output has settled before continuing on to
the next command if you follow OUT with a *WAI command. The *WAI command is useful
with any overlapped command, preventing the M2000 from processing other commands until
the overlapped command is processed.

Example: *WAI

Process all existing commands before continuing.

X

X

X

X

X

X

25