Rev. 01/2020
28
Commands for the serial text interface
The following table contains a command reference for the LDP-QCW.
Command Parameter
Description
ghwver
-
returns the hardware version number
gswver
-
returns the software version number
gserial
-
returns the serial number
gname
-
returns the device name
ps
-
prints out all settings
loaddef
-
load default values
savedef
-
save all settings as default values
enautodef -
enables the automatic loading of default settings on power on
disautodef -
disables the automatic loading of default settings on power on
gerrtxt
-
returns the error register in text form
gerr
-
returns the error register as a 32-bit number
clrerr
-
clears the error register
glstat
-
returns the laser status register
slstat
32-bit number sets the laser status register to the given value
gtrgedge
-
returns “0” for negative edge or “1” for positive edge
strgedge
0 or 1
sets the trigger edge for external trigger
“0” = negative, “1” = positive
gmode
-
returns the current regulator mode
Mode 0: manual
Mode 1: semi-automatic
See section “Current Regulator” for more information
smode
0 … 1
sets the current regulator mode to the given value
Mode 0: manual
Mode 1: semi-automatic
See section “Current Regulator” for more information