![Laser electronics ldc1000 Operating Instructions Manual Download Page 26](http://html.mh-extra.com/html/laser-electronics/ldc1000/ldc1000_operating-instructions-manual_677631026.webp)
26
6 Interfaces command description
The instrument can be remotely controlled by a PC. All parameters can be set and read-out with a
choice of commands including turning on and turning off of the laser diode.
6.1 Serial interface
Please make the appropriate connection with the provided cable from a free serial port of the PC to
the serial interface connector of the Laser Diode Controller. Then switch on the instrument.
Any program which provides the transfer of commands via a serial communication port of a PC can be
used. Select the correct port (e.g. COM 1).
Set the serial port parameters as follows:
Baud-rate
38.400
Data-bits
8
Stop-bits
1
Parity
none
Description of the format of the transfer protocol:
First, there are two keywords which represent the action of writing or reading of information to and
from the Laser Diode Controller:
•
Write keyword:
set
•
Read keyword:
get
These keywords are followed by a command, separated by a space. Some commands require the
additional input of a parameter and maybe also a unit.
•
Writing a command
set ccc <Enter>
e.g. Turning on or turning off the laser diode depending on the condition before the command was
sent out (toggle function): set LAS <Enter>
•
Writing a command with a parameter
set ccc vv.v <Enter>
e.g. Setting the current of the laser diode to 12.5 A: set SLC 12.5 <Enter>
e.g. Setting the pulse width to 100 milliseconds: set PUW 100ms <Enter>
After modifying the parameter the value will be send back to the PC automatically as
acknowledgement.
e.g. After setting the current of the laser diode to 12.5 A: s SLC 12.5 <Enter> the string “12.5A”
will be send back.
•
Reading a value or condition
get ccc <Enter>
e.g. Reading the actual temperature of the laser diode (channel 1): get at1 <Enter>
In response the instrument sends out to the PC for example the string 25.3 °C.
Summary of Contents for ldc1000
Page 2: ...2 ...