
12
TOS5300_INTERFACE
Message Overview
Terminating character strings
All commands must be terminated with a valid terminator.
The available terminators are <line feed> (ASCII 0x0A) and EOI (end-or-identify).
You can use either of these terminators to terminate a command.
When you terminate a command string, the path is reset to the root level.
Common commands
There are commands that are common to the IEEE-488.2 and SCPI standards for functions such as
resetting devices and performing self-diagnoses. These common commands start with an asterisk
(“*”). These commands may have one or multiple parameters.
Parameters
The SCPI parameter format is derived from the program parameter format that is defined in IEEE
488.2.
The program data expression format that the TOS5300 Series uses is shown below.
Non-numeric parameters
The TOS5300 Series uses the following three parameter types.
CR (ASCII 0x0D) is not a terminator.
See
Symbol or character
Description
String data
(String)
Used when a series of ASCII characters are requested.
Be sure to enclose strings in single or double quotation marks. The opening and
closing quotation marks must match (you cannot mix single and double quotation
marks).
Example:
PROGram:NAME "ACW2IR"
If you want to include a quotation mark as part of the string, enter consecutive
quotation marks (with no characters between them). ASCII codes 20H to 7EH can be
used in strings.
Character data
(Character)
Used when only a limited number of values are available for a program setting.
Responses are returned in short form.
Example:
TRIGger:SOURce {IMMediate|BUS|TIMer|TEST}
Boolean data
(Boolean)
Used to express a condition of 1 or 0, or ON or OFF.
Responses are returned as 1 or 0.
Example:
SOURce:VOLTage:TIMer:STATe {ON|OFF|1|0}
Содержание TOS5300
Страница 8: ...8 TOS5300_INTERFACE This page is intentionally blank ...
Страница 14: ...14 TOS5300_INTERFACE This page is intentionally blank ...
Страница 15: ...Command Reference This chapter explains topics such as command details and registers Remote Control ...
Страница 76: ...76 TOS5300_INTERFACE ...