142
────────────────────────────────────────────────────
8.4 Command Reference
────────────────────────────────────────────────────
■ Queries the frequency setting items.
Syntax
FREQuency?
Function
Returns the current setting of frequency measuring items as character data (A),
frequency range as a numerical value in NR3 format and frequency auto
ranging as "ON" or "OFF".
Note
・ With this query, if any error occurs, no response message is produced.
・ By using the ":TRANsmit:SEParator" command, the message unit separator
can be changed from the semicolon ";" to the comma ",".
Response
syntax
Headers: ON
Headers: OFF
":FREQUENCY:SOURCE_<A>;RANGE_<NR3>;AUTO_ <ON/OFF>"
"<A>;<NR3>;<ON/OFF>"
Errors
・ Query error/ If the response message is longer than 1000 bytes.
・ System error/ This query is not executed. A device dependent error occurs.
Example
Transmission
Response
Headers: ON
Headers: OFF
":FREQ?"
":FREQUENCY:SOURCE V;RANGE 500.0E+0;AUTO ON"
"V;500.0E+0;ON"
■ Sets the frequency auto range.
Syntax
FREQuency:AUTO_<ON/OFF>
Function
Sets the frequency auto range either ON or OFF.
Errors
・
Execution error/ If the setting data is other than listed above.
・
Command error/ If the setting data is not character data.
・ Device dependent error/
① In the event of a system error
② If this command is executed in the hold state
(HOLD indicator lit or flashing)
Example
Transmission
":FREQ:AUTO ON"
Frequency auto range setting is turned on.
FREQuency?
FREQuency:AUTO