beautypg.com

EXFO FVA-3150 Variable Attenuator User Manual

Page 78

background image

Remote Control Commands

72

FVA-3150

IEEE 488.2 Required Commands

*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

Note

The CLR command is equivalent to the *CLS command. Both

give the same result.

*ESE

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

Enable Register (ESE) to a new value (default 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. This command is useful for selecting

which events may generate an SRQ.

Syntax

*ESE

Parameter

The parameter must be between 0 and 255.

*ESE?

Description This query reads the contents of the Event Status Register.

Syntax

*ESE?

Response

Binary integer with a value between 0 and 255.