PEM200 User Manual
33
Set commands are usually but not always followed by arguments. Arguments can be
single values (eg. “0.1”), text (eg. “ON” or ”OFF”), or vectors (eg. “0.1, 10, 100.3”). The
expected argument is defined by the specific command. If the command is not known,
the unit will return an error (eg. sending “:BOD:VOX” will return
“<SCPINOP>(:BOD:VOX)” as this is an unknown command). Returns are categorized
by type with each type using a different bracket set to ease parsing with regular
expressions. All returns are ended with a new line (‘\n’).
Type
Bracket format
Notes
Error
<IDENTIFIER>(Message)
Sent on unknown commands and
general errors. May be transmitted by
the unit at any time or in response to
a command.
Command return
[IDENTIFIER](Return arguments)
Sent upon successfully parsing and
applying the command. Some returns
are instant. Others may take a
moment to return as the unit is
setting internal systems.
Argument format
Arguments usually consist of a single floating point number. These are parsed by the
device as standard floats (eg. 0.01) or as scientific notation (eg. 1e-2 for 0.01).
Arguments can also be a simple integer (eg 1). Arguments may take a vector format of
more than one argument. For these cases, individual values are separated by a
comma,’,’.
Please allow 300ms for PEM-200 to return after a command is sent.
Command structure overview.
NOTE: All Detector commands other than Harmonic
Trigger are only available with the Synchronous Detector (SD) option.
Command
Type
Note
*IDN?
Get
Identify the unit
:MODulator
Root
Modulator related command root
:DRiVe
Set
Set modulator drive voltage as range 0 to 1
:DRiVe?
Get
Get modulator drive voltage as range o to 1