18.12.2012 Views

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - Rohde & Schwarz

R&S FSQ Signal Analyzer - Rohde & Schwarz

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.

R&S <strong>FSQ</strong> Remote Control – Basics<br />

Status Reporting System<br />

The instrument first has to be set for the parallel poll using quick-BASIC command<br />

"IBPPC()". This command allocates a data line to the instrument and determines<br />

whether the response is to be inverted. The parallel poll itself is executed using<br />

"IBRPP()".<br />

The parallel-poll method is mainly used in order to quickly find out after an SRQ<br />

which instrument has sent the service request if there are many instruments connected<br />

to the GPIB. To this effect, SRE and PPE must be set to the same value. A<br />

detailed example as to the parallel poll is to be found in chapter “Remote Control –<br />

Programming Examples”.<br />

5.7.4.4 Query by Means of Commands<br />

Each part of every status register can be read by means of queries. The individual<br />

commands are indicated in the detailed description of the registers. What is returned<br />

is always a number which represents the bit pattern of the register queried. Evaluating<br />

this number is effected by the controller program.<br />

Queries are usually used after an SRQ in order to obtain more detailed information<br />

on the cause of the SRQ.<br />

5.7.4.5 Error Queue Query<br />

Each error state in the instrument leads to an entry in the error queue. The entries of<br />

the error queue are detailed plain-text error messages which can be looked at in the<br />

ERROR menu via manual operation or queried via the GPIB using SYSTem:<br />

ERRor? command. Each call of SYSTem:ERRor? provides an entry from the error<br />

queue. If no error messages are stored there any more, the instrument responds<br />

with 0, "No error".<br />

The error queue should be queried after every SRQ in the controller program as the<br />

entries describe the cause of an error more precisely than the status registers.<br />

Especially in the test phase of a controller program the error queue should be queried<br />

regularly since faulty commands from the controller to the instrument are<br />

recorded there as well.<br />

Operating Manual 1313.9681.12 - 01 5.33

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

Saved successfully!

Ooh no, something went wrong!