beautypg.com

B remote control (scpi) commands, General commands – EXFO PM-1600 High-Speed Power Meter User Manual

Page 121

background image

High-Speed Power Meter

111

B Remote Control (SCPI)

Commands

General Commands

The PM-1600 recognizes the main commands identified in IEEE 488.2.
These commands, as well as some optional general commands, the
programming state commands, and some status queries, are fully
explained on the following pages.

*CLS

Description This command sets the contents of the Standard Event Register

(ESR), the Status Byte Register (STB), and the Error Queue

(ERR) to zero. This command is commonly used to clear the

status registers before enabling SRQ. Note that the output

queue, Standard Event Status Enable Register (ESE), and

Service Request Enable Register (SRE) are not affected.

Syntax

*CLS

*ESE

Description This command is used to set bits in the Standard Event Status

Enable Register (ESE) to a new value (initial value is 255). The

contents of the ESE register are logically ANDed with the ESR

register. A non zero result will set the Event Summary Bit (ESB)

of the Status Byte Register (STB). This command is useful for

selecting which events may generate an SRQ.

Syntax

*ESE

Parameter

The parameter must be between 0 and 255.

High-Speed Power Meter

111

B Remote Control (SCPI)

Commands

General Commands

The PM-1600 recognizes the main commands identified in IEEE 488.2.
These commands, as well as some optional general commands, the
programming state commands, and some status queries, are fully
explained on the following pages.

*CLS

Description This command sets the contents of the Standard Event Register

(ESR), the Status Byte Register (STB), and the Error Queue

(ERR) to zero. This command is commonly used to clear the

status registers before enabling SRQ. Note that the output

queue, Standard Event Status Enable Register (ESE), and

Service Request Enable Register (SRE) are not affected.

Syntax

*CLS

*ESE

Description This command is used to set bits in the Standard Event Status

Enable Register (ESE) to a new value (initial value is 255). The

contents of the ESE register are logically ANDed with the ESR

register. A non zero result will set the Event Summary Bit (ESB)

of the Status Byte Register (STB). This command is useful for

selecting which events may generate an SRQ.

Syntax

*ESE

Parameter

The parameter must be between 0 and 255.