
© 2015 Thorlabs
2 Introduction to the SCPI Language
9
2.6.2 Discrete Parameters
Discrete parameters are used to program settings that have a limited number of values (like
CELSius
,
FAHRenheit
or
KELVin
). They have a short form and a long form just like command
keywords. You can mix upper- and lower-case letters. Query responses will always return the
short form in all upper-case letters.
Example
The following command requires a discrete parameter for the temperature unit:
UNIT:TEMPerature {C|CEL|CELSius|F|FAR|FAHRenheit|K|KELVin}
Discrete parameters may also have a default condition. In this manual the default conditions
are underlined.
2.6.3 Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. For a false
condition, the instrument will accept
OFF
or
0
. For a true condition, the instrument will accept
ON
or
1
. When you query a boolean setting, the instrument will always return
0
or
1
.
Boolean parameters may also have a default condition. In this manual the default conditions
are underlined.
2.6.4 ASCII String Parameters
String parameters can contain virtually any set of ASCII characters. A string must begin and
end with matching quotes; either with a single quote or a double quote. You can include the
quote delimiter as part of the string by typing it twice without any characters in between.
Содержание 4000 Series
Страница 1: ...Series 4000 LDC40xx TED4015 ITC40xx SCPI Programmer s Reference Manual 2015 ...
Страница 2: ...Version Date 3 3 08 Apr 2015 Copyright 2015 Thorlabs ...
Страница 69: ... 2015 Thorlabs 3 Commands by Subsystem 67 Figure FIGURENO Status Structure ...
Страница 92: ... 2015 Thorlabs 90 Series 4000 SCPI Programmers Reference Manual instrument ...