
© 2015 Thorlabs
8
Series 4000 SCPI Programmers Reference Manual
2.4 Querying Parameter Settings
You can query the current value of most parameters by adding a question mark (
?
) to the
command. For example, the following command sets the temperature setpoint:
SOURce:CURRent 5.0
You can then query the value by typing:
SOURce:CURRent?
You can also query the minimum or maximum and - where specified - the default values as
follows:
SOURce:CURRent? MINimum
SOURce:CURRent? MAXimum
2.5 Command Terminators
A command string sent to the instrument must terminate with a <new line> (
<NL>
) character.
Command string termination will always reset the current SCPI command path to the root level.
2.6 Parameter Types
The SCPI language defines several data formats to be used in program messages and
response messages.
2.6.1 Numeric Parameters
Commands that require numeric parameters will accept all commonly used decimal
representations of numbers including optional signs, decimal points, and scientific notation.
Special values for numeric parameters such as
MIN
,
MAX
, and
DEF
may also be accepted. You
can also send engineering unit suffixes with numeric parameters (e.g., M, k, m, or u). If a
command accepts only certain specific values, the instrument will automatically round the input
numeric parameter to the accepted values.
Additionally numeric parameters can be programmed using binary, decimal, hexadecimal or
octal data formats for the parameter value (for a detailed description of numeric formats see
chapter 7.7.4 <NONDECIMAL NUMERIC PROGRAM DATA> of IEEE488.2-1992).
Example
The four commands program the
Auxiliary Enable Register
to the same value:
STAT:AUX:ENAB 2081
Program the
Auxiliary Enable Register
with 2018 decimal.
STAT:AUX:ENAB #H821
Program the
Auxiliary Enable Register
with 821 hexadecimal.
STAT:AUX:ENAB #Q4041
Program the
Auxiliary Enable Register
with 4041 octal.
STAT:AUX:ENAB #B100000100001
Program the
Auxiliary Enable Register
with 100000100001 binary.
Содержание 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 ...