6
IEEE-488 Common Command
36
U2300A Series USB DAQ Programming Guide
Remarks
•
The following table lists the bit definitions for the Standard Event
Register.
•
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 2
(decimal value = 4), bit 3 (decimal value = 8), and bit 7 (decimal value
= 128), the corresponding decimal value would be 140 (4 + 8 + 128).
•
The
*CLS
(clear status) command will not clear the enable register but
it clears all bits in the event register.
•
An Instrument Preset (
SYSTem:PRESet
command) does not clear the
bits in the Status Byte enable register.
•
Refer to
on page 37 for the status system diagram.
Example
The following command enables bit 4 (decimal value = 16) in the enable
register. If an Execution Error occurs, this condition will be reported to
the Status Byte Register (bit 5 will be set to high).
Bit Number
Decimal Value
Definition
0 Not used
Not used
"0" is returned
1 Not used
Not used
"0" is returned
2 Query Error
4
The instrument tried to read the output buffer but it was
empty. Or, a new command line was received before a
previous query has been read. Or, both the input and
output buffers are full
3 Device Error
Not used
"0" is returned
4 Execution Error
16
An execution error occurred
5 Command Error
32
A command syntax error occurred
6 Not used
Not used
"0" is returned
7 Power On
128
Power has been turned off and on since the last time
the event register was read or cleared
Содержание U2300A Series
Страница 1: ...Agilent Technologies Agilent U2300A Series Multifunction USB Data Acquisition Programming Guide ...
Страница 8: ...VIII U2300A Series USB DAQ Programming Guide Contents ...
Страница 18: ...1 Introduction to Programming 10 U2300A Series USB DAQ Programming Guide ...
Страница 40: ...5 CONFigure Subsystem 32 U2300A Series USB DAQ Programming Guide ...
Страница 60: ...6 IEEE 488 Common Command 52 U2300A Series USB DAQ Programming Guide ...
Страница 70: ...7 MEASure Subsystem 62 U2300A Series USB DAQ Programming Guide ...
Страница 84: ...8 OUTPut Subsystem 76 U2300A Series USB DAQ Programming Guide ...
Страница 92: ...9 Root Commands 84 U2300A Series USB DAQ Programming Guide ...
Страница 104: ...10 ROUTe Subsystem 96 U2300A Series USB DAQ Programming Guide See Also ROUTe CHANnel RSouRCe ...
Страница 130: ...11 SENSe Subsystem 122 U2300A Series USB DAQ ...
Страница 162: ...15 WAVeform Subsystem 154 U2300A Series USB DAQ Programming Guide ...
Страница 168: ...16 Error Messages 160 U2300A Series USB DAQ Programming Guide ...