Communicating with the Device
Communication with the test and measurement device is mostly done using setValue, query, and perform commands and functions. They provide basic SCPI communication to the device using a more readable and usable style than raw SCPI commands. In the case of setValue and query, they also simplify the use of channels and identifiers when the defaultChannel or defaultIdentifier is set.
ノート
In SenseTalk, you can call most of the functions as either commands or functions. If you call query or queryData as a command, the returned value is stored in the variable it.
SCPI Commands and Functions
Command Parameters
SetValue, query, queryData, and perform all take a string parameter that contains the SCPI command. You can either write the command name portion of this string as:
- A raw SCPI command conforming to SCPI syntax.
- An English-like form that is converted to SCPI when it is sent to the device.