*rn?
Status Byte Query
Syntax:
'STB?
Parameters:
None
Function:
This query returns the contents of the Status Byte which records current
system conditions. Appendix C describes the Status Byte in detail.
If
a bit is set in the Status Byte Register and it's corresponding bit is set in the
Service Request Enable Register, then a service request will be generated once
for the given event. When service
is
being requested, bit
6
is
set in the byte
returned by a serial poll of the
28324.
The Status Byte Register
is
an
&bit, bit mapped register, with each bit signify-
ing a different condition. When a bit is set, or has a value of one, then the
condition
is
true. The bits are listed below, most significant bit first:
'
'
OL
New Data Available CH A
New Valid Data Available CH A
New Data Available CH B
New Valid Data Available CH B
Message Available Brl
Event Status Byie Bit
Master Status
Sumrnaly Bii
Error
Oueue Bit
Status Byte Register.
Note that the *CLS common command clears most of the bits in the Status
Byte.
Returns:
<value>
<value>
is
an integer in the range
0
to
255
inclusive.
Related Commands:
*CLS, *SRE, *SRE?
*
TST?
Self
Test Query
Syntax:
*TSV
Parameters:
None
Function:
As
defined in the
lEEE
488.2
standard, the 'TST? command causes the device
to return a result of a self-test, indicating whether or not the unit completed
the self-test without any errors. The self test
is
only administered upon reset
or power up. The query does not initiate the self test and only returns a
0
indicating that the system passed its earlier
self
test.
Returns:
0
Related Commands:
None
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com