
18
(3) Synchronization Commands
Set OPC bit of SESR when Finished with All Pending Operations
Syntax
Command
*OPC
Description
Sets
OPC
bit 0 of the Standard Event Status Register (SESR) when all commands prior
to
*OPC
have finished processing.
Example
A;B;*OPC;C
The OPC bit of SESR is set after A and B command processing has been completed.
Respond with ASCII “1” when Finished with All Pending Operations
Syntax
Query
*OPC?
Response
1
Description
Responds with ASCII “1” when all commands prior to
*OPC
have finished processing.
Wait for Pending Commands to Finish
Syntax
Command
*WAI
Description
The instrument waits until all prior commands finish before executing any subsequent
commands.
Example
:
TRIG:SOUR EXT
:
INIT:CONT ON
*
TRG;*WAI;FETC?
Reads the measurement value after waiting for the measurement triggered by the
*TRG
command to finish.
Note
The
*WAI
command is accepted, as it is a mandatory command under IEEE Standard
488.2-1987. However, since all the device-specific commands implemented in this
instrument, except the
*TRG
and the
:INITiate
, are sequential, the
*WAI
command has
no effect even if used.
(4) Status and Event Control Commands
Clear Event Register, Status Byte Register (Except Output Queue)
Syntax
Command
*CLS
Description
Clears the event status registers. The Status Byte Register bits corresponding to the
event status registers are also cleared. (
SESR
,
ESR0
,
ESR1
)
Note
The output queue is unaffected.
Содержание BT4560
Страница 57: ...54 2 Enter the sample program into the code editor 3 Select Save All from the File menu Click...
Страница 60: ...57...
Страница 61: ...58...
Страница 62: ...59...