06.08.2014 Views

(8.5x11) 6000 Manual Cover - Newport Corporation

(8.5x11) 6000 Manual Cover - Newport Corporation

(8.5x11) 6000 Manual Cover - Newport Corporation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

*STB?<br />

Status Byte Query<br />

Syntax: *STB?<br />

Parameters: None<br />

Function:<br />

This query returns the contents of the Status Byte which records current<br />

system conditions. Appendix C describes the Status Byte in detail.<br />

If a bit is set in the Status Byte Register and it’s corresponding bit is set in the<br />

Service Request Enable Register, then a service request will be generated<br />

once for the given event. When service is being requested, bit 6 is set in the<br />

byte returned by a serial poll of the 2832-C.<br />

The Status Byte Register is an 8-bit, bit mapped register, with each bit signifying<br />

a different condition. When a bit is set, or has a value of one, then the<br />

condition is true. The bits are listed below, most significant bit first:<br />

7<br />

6<br />

5<br />

4<br />

3<br />

2<br />

1<br />

0<br />

New Data Available CH A<br />

New Valid Data Available CH A<br />

New Data Available CH B<br />

New Valid Data Available CH B<br />

Message Available Bit<br />

Event Status Byte Bit<br />

Master Status Summary Bit<br />

Error Queue Bit<br />

Status Byte Register.<br />

Note that the *CLS common command clears most of the bits in the Status<br />

Byte.<br />

Returns: <br />

is an integer in the range 0 to 255 inclusive.<br />

Related Commands: *CLS, *SRE, *SRE?<br />

*TST?<br />

Self Test Query<br />

Syntax: *TST?<br />

Parameters: None<br />

Function:<br />

As defined in the IEEE 488.2 standard, the *TST? command causes the device<br />

to return a result of a self-test, indicating whether or not the unit completed<br />

the self-test without any errors. The self test is only administered upon reset<br />

or power up. The query does not initiate the self test and only returns a 0<br />

indicating that the system passed its earlier self test.<br />

Returns: 0<br />

Related Commands: None<br />

46

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!