Service request enable, Status byte query, Trigger – Agilent Technologies Signal Analyzer N9030a User Manual

Page 109

Advertising
background image

3  Programming the Analyzer

IEEE 488.2 Common Commands

Service Request Enable

This command enables the desired bits of the service request enable register.

The query returns the value of the register, indicating which bits are currently enabled.

Remote Command

*SRE <integer>

*SRE?

Example

*SRE 22 Enables bits 1, 2, and 4 in the service request enable register.

Notes

For related commands, see the STATus subsystem and SYSTem:ERRor[:NEXT]? commands.

Preset

0

Min

0

Max

255

Status Bits/OPC
dependencies

Service Request Enable Register (all bits, 0 – 7).

Initial S/W Revision

Prior to A.02.00

Status Byte Query

Returns the value of the status byte register without erasing its contents.

Remote Command

*STB?

Example

*STB? Returns a decimal value for the bits in the status byte register.

For example, if a 16 is returned, it indicates that bit 5 is set and one of the conditions monitored
in the standard event status register is set.

Notes

See related command *CLS.

Status Bits/OPC
dependencies

Status Byte Register (all bits, 0 – 7).

Initial S/W Revision

Prior to A.02.00

Trigger 

This command triggers the instrument. Use the :TRIGger[:SEQuence]:SOURce command to select
the trigger source.

Key Path

No equivalent key. See related keys Single and Restart.

Remote Language Compatibility Measurement Application Reference

109

Advertising