B.16 *wai — wait-to-continue command, Figure b-2. using the *wait-to-continue command, B.16 – KEPCO TMA VXI-27 User Manual

Page 48

Advertising
background image

TMA VXI-27 101602

B-5/(B-6 Blank)

Description:

Power Supply test.This query causes the power supply to do a self test and provide the controller
with pass/fail results.

B.16 *WAI — WAIT-TO-CONTINUE COMMAND

*WAI?

Syntax:

**WAI

Returned value: 0 or 1 (0 = pass test, 1 = fail test)

Description:

This command can be used to guarantee sequential execution of commands and queries. When all
pending operations are complete (all previous commands have been executed, changes in output
level have been completed, and no pending trigger operations are set), the WAI command is com-
pleted and execution of subsequent commands can continue. *WAI can be aborted only by a GPIB
interface Device Clear (DC1).

Example:

Controller sends Command 1

Power supply begins execution of command 1.

Controller sends *WAI

Power supply waits for command 1 to be completed before
executing command 2.

Controller sends Command 2

Command 2 executed after command 1 is completed.

FIGURE B-2. USING THE *WAIT-TO-CONTINUE COMMAND

Controller sends Command 1

Power supply begins execution of command 1.

Controller sends *WAI

Power supply waits for command 1 to be completed before
executing command 2.

Controller sends Command 2

Command 2 executed after command 1 is completed.

Advertising