104 N9310A User’s Guide
6 Subsystem Command Reference
Conventions used in Programming
• Use "us" instead of "μs" in your coding when describing
microsecond.
• Always enter a minus symbol with English language
environment settled in your PC.
• The returned data of a query keeps to the following
rules:
• a boolean variable returns 1|0. (1= On, 0= Off)
• an enumerative variable returns its short form
normally. For example, :SWEep:REPeat? returns SING,
indicating the current sweep repeat is in single mode.
• a minority of enumerative variable return their
specified format. For example,
:SYSTem:REFerence:FREQuency? returns EXT10MHZ,
indicating the current reference is set to external 10
MHz oscillator.
• If the variable contains a parameter and a unit, with a
space between them, the returned data also consists of a
parameter and a unit with the best match telling the
magnitude. For example, :FREQ:CW? returns a parameter
with different magnitude unit:
• “60.0000 kHz” (9 kHz <
Frequency < 1 MHz)
• “450.0000000 MHz” (1 MHz <
Frequency < 1 GHz)
• “1.5620000000 GHz” (Frequency >
1 GHz)