
© 2015 Thorlabs
2 Introduction to the SCPI Language
7
2.2 Command Separators
A colon (
:
) is used to separate a command keyword from a lower-level keyword. You must
insert a blank space to separate a parameter from a command keyword. If a command requires
more than one parameter, you must separate adjacent parameters using a comma (
,
) as
shown below:
MEM:STAT:NAME 1,"My setting"
A semicolon (
;
) is used to separate commands within the same subsystem, and can also
minimize typing. For example, sending the following command string:
DISP:BRIG 1;CONT 0.5
... is the same as sending the following two commands:
DISP:BRIG 1
DISP:CONT 0.5
Use a semicolon and a colon to link commands from different subsystems. The colon resets
the command tree to the root level. For example:
SOURce:CURRent 0.5;:OUTPut ON
2.3 Using the MIN, MAX and DEF Parameters
For many commands, you can substitute
MINimum
or
MAXimum
in place of a parameter. In some
cases you may also substitute
DEFault
.
For example, consider the following command:
SOURce:TEMPerature:PROTection:WINDow {MIN|MAX|DEF|<temp>}
SOURce[1]
:CURRent
:LIMit
[:AMPLitude] {MIN|MAX|<amps>}
Instead of selecting a specific value for the
<temp>
parameter, you can substitute
MIN
or
MINimum
to set the value to its minimum,
MAX
or
MAXimum
to set the value to its maximum,
DEF
or
DEFault
to set the value to the default value.
For reasons of clarity the following parts of commands are written in short form only throughout
this manual:
Original Form
Short Form
{MINimum|MAXimum|DEFault|<value>}
{MIN|MAX|DEF|<value>}
{MINimum|MAXimum|DEFault}
{MIN|MAX|DEF}
{MINimum|MAXimum|<value>}
{MIN|MAX|<value>}
{MINimum|MAXimum}
{MIN|MAX}
Содержание 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 ...