EasyManua.ls Logo

R&S EM510 - Querying Status Registers and Error Queue

R&S EM510
183 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EM510 Remote Control via LAN
4065.7763.32-01.00 5.142
5.5.4.2 Query by Means of Commands
Each part of every status register can be read by means of queries. The individual commands are
indicated in the detailed description of the registers in section "Description of the Status Registers" on
page 5.132. Only one number is returned which represents the bit pattern of the register queried. The
format of the number can be set by the FORMat:SREGister command.
Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the
SRQ.
5.5.4.3 Error-Queue Query
Each error state in the device results in an entry in the error queue. The entries of the error queue are
detailed plain-text error messages which can be queried via the IEC/IEEE bus using the command
SYSTem:ERRor?. Each call of SYSTem:ERRor? provides an entry from the error queue. If no error
messages are stored there any more, the device responds with 0, "No error".
The error queue should be queried after every SRQ in the controller program as the entries describe
the cause of an error more precisely than the status registers. Especially during the test phase of a
controller program the error queue should be queried regularly since faulty commands from the
controller to the device are recorded there as well.

Table of Contents

Related product manuals