Technical data
System Commands 29
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference 751
:SYSTem:LONGform
Command :SYSTem:LONGform {{ON | 1} | {OFF | 0}}
The :SYSTem:LONGform command specifies the format for query
responses. If the LONGform is set to OFF, command headers and alpha
arguments are sent from the oscilloscope in the short form (abbreviated
spelling). If LONGform is set to ON, the whole word is output.
Example This example sets the format for query responses from the oscilloscope to
the short form (abbreviated spelling).
myScope.WriteString ":SYSTEM:LONGFORM OFF"
Query :SYSTem:LONGform?
The :SYSTem:LONGform? query returns the current state of the
:SYSTem:LONGform command.
Returned Format
[:SYSTem:LONGform] {1 | 0}<NL>
Example This example checks the current format for query responses from the
oscilloscope, and places the result in the string variable, strResult. Then, it
prints the contents of the variable to the computer's screen.
Dim strResult As String ' Dimension variable.
myScope.WriteString ":SYSTEM:LONGFORM?"
strResult = myScope.ReadString
Debug.Print strResult
NOTE
LONGform Does Not Affect Input Headers and Arguments
LONGform has no effect on input headers and arguments sent to the instrument. You may
send headers and arguments to the oscilloscope in either the long form or short form,
regardless of the current state of the :SYSTem:LONGform command.