4.3 Before Programming
4.3 Before Programming
4.3.1 Nomenclature
Program messages (PC ⇒ LDC340) are written in inverted commas:
Response messages (LDC340 ⇒ PC) are written in brackets:
There is a decimal point:
Parameters are separated by comma:
4.3.2 Program and response messages
Blocks of message data are transferred between the controller and the LDC340
during communications. Messages sent from the controller to the LDC340 are called
program messages and messages sent back from the LDC340 to the controller are
called response messages. If a program message contains a query command i.e. a
command which requests a response the LDC340 returns a response message.
Program messages
With program messages settings are effected (command) at the LDC340 and
response messages are selected (query). Program messages can be separated with
semicolon. All program messages are executed sequentially (one after the other).
Examples:
:MODE CC
"
"
*IDN?
"
"
:LDPOL CG;:PDPOL AG
"
Response messages
With response messages measurement values and status information are transferred
to the PC. All response messages are generated when the query (program message)
is parsed.
Example:
[:ILD:ACT 7.123456E-05]
LDC340 / Page 34
selecting the mode "constant current" (command)
requesting the identification (query)
" selecting the laser diode polarity and the photo
diode polarity.
measuring the actual laser diode current
*IDN?
"
"
[MODE CC]
1.234
PLOT 2,0
"
"
Need help?
Do you have a question about the LDC340 and is the answer not in the manual?