STATus:MODule:SLOT[n]:ENABle

34980A

STATus:MODule:SLOT[n]:ENABle

Syntax

STATus:MODule:SLOT[n]:ENABle <enable_value>

STATus:MODule:SLOT[n]:ENABle?

Description

Most of the plug-in modules have their own set of Slot Event Registers (see Plug-In Module Event Register Information). This command enables bits in the enable register for the specified Slot Event Register group. The selected bits are then reported to the corresponding bit in the Module Event Register group.

For more information on the SCPI Status System for the Agilent 34980A, see the Status System Diagram.

Parameters

Name

Type

Range of Values

Default Value

<n>

Discrete

{1|2|3|4|5|6|7|8}

Slot 1

<enable_value>

Numeric

A decimal value which corresponds to the binary-weighted sum of the bits in the register (see link above).

This is a required parameter

Remarks

  • Use the <enable_value> parameter to specify which bits will be reported to the corresponding bit in the Module Event Register group. The decimal value specified corresponds to the binary-weighted sum of the bits you wish to enable in the register. For example, to enable bit 0 (decimal value = 1), bit 1 (decimal value = 2), and bit 11 (decimal value = 2048), the corresponding decimal value would be 2051 (1 + 2 + 2048).

  • The *CLS (clear status) command will not clear the enable register but it does clear all bits in the event register.

  • The STATus:PRESet command will clear all bits in the enable register.

Return Format

The query command reads the enable register and returns a decimal value which corresponds to the binary-weighted sum of all bits set in the register. For example, if bit 0 (decimal value = 1) and bit 1 (decimal value = 2) are enabled, the query command will return "+3".

Examples

The following command enables bit 3 (decimal value = 8) in the enable register for Slot 4.

STAT:MOD:SLOT4:ENAB 8

The following query returns which bits are enabled in the register.  

STAT:MOD:SLOT4:ENAB?

Typical Response:  +8

See Also

STATus:PRESet

STATus:MODule:ENABle

STATus:MODule:SLOT[n]:CONDition?

STATus:MODule:SLOT[n]:EVENt?