System:longform - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

: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
myScope.WriteString ":SYSTEM:LONGFORM?"
strResult = myScope.ReadString
Debug.Print strResult
LONGform Does Not Affect Input Headers and Arguments
N O T E
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.
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
' Dimension variable.
31
System Commands
813

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents