2 *opc? - operation complete query, 3 *wai - wait-to-continue command, 4 status and event commands – B&K Precision 4034 - Manual User Manual

Page 46: 1 *cls - clear status, 2 *ese - standard event status enable

Advertising
background image


46

Command Type: Common Command

Syntax:

*OPC

Examples:

PULS:PER 1US;*OPC

The *OPC command (and the *OPC? query described below) find use mainly when commands having
relatively long execution times are executed, although all commands execute without any appreciable
delay.

4.11.3.2 *OPC? - Operation Complete Query

The operation complete query places an ASCII character 1 in the output queue on completion of the
selected device operation.

Command Type: Common Query

Syntax:

*OPC?

Response:

ASCII character 1

Example:

PULS:PER 1US;*OPC?

4.11.3.3 *WAI - Wait-to-Continue Command

This command is intended for use with overlapped commands. No commands in the pulse generator are
overlapped, and so this command has no effect.

Command Type: Common Command

Syntax

*WAI

4.11.4 Status and Event Commands

4.11.4.1 *CLS - Clear Status

The clear status command clears the SESR and Error Queue status data structures.

COMMAND TYPE:

Common Command

Syntax::

*CLS

4.11.4.2 *ESE - Standard Event Status Enable

This command is used to set the value of the Standard Event Status Enable Register.

COMMAND TYPE:

Common Command or Query

COMMON COMMAND

Syntax:

*ESE<ws><NRf>

Arguments:

Type:

NRf

Range:

0 to 255. Non integer arguments are rounded before execution.

Examples:

*ESE 48 (Enables the CME and EXE bits)
*ESE 255 (Enables all standard events)

QUERY

Syntax:

*ESE?

Response:

<NR1>

Advertising
This manual is related to the following products: