IEEE-488 Common Command
6
U2300A Series USB DAQ Programming Guide
47
•
Use the <enable_value> parameter to specify which bits will be enabled.
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 1
(decimal value = 2), bit 3 (decimal value = 8), and bit 6 (decimal value
= 64), the corresponding decimal value would be 74 (2 + 8 + 64).
•
The Status Byte enable register is cleared when you execute the
*SRE 0
command.
•
Refer to
, status system diagram for more information.
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 3 (decimal value = 8) and bit 7 (decimal value
= 128) are enabled, the query command will return
"+136"
.
Example
The following command enables bit 4 (decimal value = 16) in the enable
register.
*SRE 16
The following query returns which bits are enabled in the register.
*SRE?
Typical Response: +16
See Also
5 Standard Event Summary
32
One or more bits are set in the Standard Event Register
(bits must be enabled, see
command)
6 Master Summary
64
One or more bits are set in the Status Byte Register and
may generate a Request for Service (RQS)
Bits must be enabled using the
7 Not used
Not used
Always zero
Summary of Contents for U2300A Series
Page 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Page 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Page 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Page 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Page 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Page 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Page 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Page 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Page 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Page 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Page 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...