6
IEEE-488 Common Command
46
U2300A Series USB DAQ Programming Guide
*SRE
Syntax
*SRE <enable_value>
This command enables bits in the enable register for the Status Byte
Register group. Once enabled, the corresponding bits may generate a
Request for Service (RQS) in the Status Byte. This RQS event may
generate a "call back" to your application as a type of asynchronous
interrupt.
*SRE?
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"
.
Parameters
Remarks
•
The following table lists the bit definitions for the Status Byte Register.
Name
Type
Range of Values
Default Value
<enable_value>
Numeric
A decimal value which corresponds to
the binary-weighted sum of the bits in
the register. Refer to the table below.
This is a required
parameter.
Bit Number
Decimal Value
Definition
0 Not used
Not used
Always zero
1 Not used
Not used
Always zero
2 Error Queue
4
One or more errors have been stored in the Error Queue
Use the
command to read and delete
errors
3 Not used
Not used
Always zero
4 Message Available
16
Data is available in the instrument's output buffer for
single SCPI query but not for continuous acquisition
output buffer
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 ...