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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Structure and Syntax of the Device Messages<br />

If the successive commands belong to the same system, having one or several levels<br />

in common, the command line can be abbreviated. For that purpose, the second<br />

command after the semicolon starts with the level that lies below the common levels<br />

(see also Fig. 5.1). The colon following the semicolon must be omitted in this case.<br />

Example:<br />

CALL IBWRT(analyzer%, "SENSe:FREQuency:STARt 1E6;:SENSe:<br />

FREQuency:STOP 1E9")<br />

This command line is represented in its full length and contains two commands<br />

separated from each other by the semicolon. Both commands are part of the<br />

SENSe command system, subsystem FREQuency, i.e. they have two common<br />

levels.<br />

When abbreviating the command line, the second command begins with the level<br />

below SENSe:FREQuency. The colon after the semicolon is omitted.<br />

The abbreviated form of the command line reads as follows:<br />

CALL IBWRT(analyzer%, "SENSe:FREQuency:STARt 1E6;STOP 1E9")<br />

However, a new command line always begins with the complete path.<br />

Example:<br />

CALL IBWRT(analyzer, "SENSe:FREQuency:STARt 1E6")<br />

CALL IBWRT(analyzer%, "SENSe:FREQuency:STOP 1E9")<br />

5.6.4 Responses to Queries<br />

A query is defined for each setting command unless explicitly specified otherwise. It<br />

is formed by adding a question mark to the associated setting command. According<br />

to SCPI, the responses to queries are partly subject to stricter rules than in standard<br />

IEEE 488.2.<br />

1. The requested parameter is transmitted without header.<br />

Example: INPut:COUPling?<br />

Response: DC<br />

2. Maximum values, minimum values and all further quantities, which are requested<br />

via a special text parameter are returned as numerical values.<br />

Example: SENSe:FREQuency:STOP? MAX<br />

Response: 3.5E9<br />

3. Numerical values are output without a unit. Physical quantities are referred to the<br />

base units or to the units set using the Unit command.<br />

Example: SENSe:FREQuency:CENTer?<br />

Response: 1E6 for 1 MHz<br />

4. Truth values are returned as 0 (for OFF) and 1 (for ON).<br />

Example: SENSe:BANDwidth:AUTO?<br />

Response: 1 for ON<br />

5. Text (character data) is returned in a short form.<br />

Example: SYSTem:COMMunicate:SERial:CONTrol:RTS?<br />

Response (for standard): STAN<br />

Operating Manual 1313.9681.12 - 01 5.13

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

Saved successfully!

Ooh no, something went wrong!