EXFO PM-1600 High-Speed Power Meter User Manual

Page 125

Advertising
background image

Remote Control (SCPI) Commands

High-Speed Power Meter

115

General Commands

*SRE

Description This command sets bits in the Service Request Enable Register

(SRE; initial value is 255), and enables the corresponding bit in

the Status Byte Register (STB). The command can be used to

select which events can initiate a service request.

Syntax

*SRE<space><value>

Parameter

The <value> parameter must be between 0 and 255.

*SRE?

Description This query returns the contents of the Service Request Enable

Register (SRE).

Syntax

*SRE?

Response

A binary integer between 0 and 255.

*STB?

Description This query returns the contents of the Status Byte Register

(STB).

Syntax

*STB?

Response

A binary integer between 0 and 255.

Remote Control (SCPI) Commands

High-Speed Power Meter

115

General Commands

*SRE

Description This command sets bits in the Service Request Enable Register

(SRE; initial value is 255), and enables the corresponding bit in

the Status Byte Register (STB). The command can be used to

select which events can initiate a service request.

Syntax

*SRE<space><value>

Parameter

The <value> parameter must be between 0 and 255.

*SRE?

Description This query returns the contents of the Service Request Enable

Register (SRE).

Syntax

*SRE?

Response

A binary integer between 0 and 255.

*STB?

Description This query returns the contents of the Status Byte Register

(STB).

Syntax

*STB?

Response

A binary integer between 0 and 255.

Advertising