VXI VM4016 User Manual

Page 60

Advertising
background image

VXI Technology, Inc.

60

VM4016 Command Dictionary

*SRE

Purpose

Sets the service request enable register

Type

IEEE 488.2 Common Command

Command Syntax

*SRE <mask>

Command Parameters

<mask> = Numeric ASCII value from 0 to 255

*RST Value

None – Required Parameter

Query Syntax

*SRE?

Query Parameters

N/A

Query Response

Numeric ASCII value from 0 to 255

Description

The Service Request Enable (SRE) mask is used to control which bits in the status
byte generate back plane interrupts. If a bit is set in the mask that newly enables a
bit set in the status byte and interrupts are enabled, the module will generate a
REQUEST TRUE event via an interrupt. See the *STB? Command for the layout of
bits.

Note:
Bit 6 is always internally cleared to zero as required by IEEE 488.2 section 11.3.2.3.

The layout of the Service Request Enable Register is:

Bit 0 – Unused
Bit 1 – Unused
Bit 2 – Error Queue Has Data
Bit 3 – Questionable Status Summary (Not Used)
Bit 4 – Message Available
Bit 5 – Event Status Summary
Bit 6 – 0 (per IEEE 488.2 section 11.3.2.3)
Bit 7 – Operation Status Summary

Examples

Command / Query

Response (Description)

*SRE 4

(Sets the service request enable register)

*SRE?

4 (Returns the value of the SRE register)

Related Commands

N/A

Advertising