EasyManuals Logo

ILX Lightwave LDC-3700 Series User Manual

ILX Lightwave LDC-3700 Series
269 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #77 background imageLoading...
Page #77 background image
3.5
Advanced
Programming
Once
you have become familiar with the command
syntax
and
structure,
you may take advantage of some
programng shortcuts which are available.
Due
to the "tree-walking"
capabilities
of the LDC-3700
Series
Laser
Diode Controller software, the user
may
elect to write command strings without constantly repeating the entire
command
path
for each command.
3.5.1
Path Specification
The first command in the string must have
its
entire path entered. But once a
path
he1
is reached, other
commands which
are
at the same level (or higher level)
may
then
be
entered without repeating the path. To
accomplish this, the semicolon
(;)
must
be
used
to
separate
the commands
in
the string,
as
usual.
However, the
command following the semicolon need not
specrfy
its
full
path,
if
the same
path
which
was
previously written out
could
be
used
for the new command.
For example, the following legal command string could
be
used
to
(1)
set
the
LDC-3700
Series
Laser Diode
Controller TEC display to the measured temperature and
(2)
set the TEC @lay for the (temperature) set point
value:
"TEC:DIS:T; SET"
The
path
"TEC:DIS:"
is "remembered"
by
the LDC-3700
Series
Laser Diode Conuoller
software
in
this
case.
If
the
"SET"
command were not found
at
this level, the software would
walk
back
to
the
"TEC:"
level and
search
for a
"TEC:SETW command.
If
it is not found there, it
will
search at the next higher level, and
so
on until it
finds
the
command or not.
If
the command is not found, an error message
will
be generated.
The foliowing is an example of command "tree-walking", where
(1)
the
LASER
display is set for the current set
point, and
(2)
the LASER output is turned on:
"Laser:&splay:set; out on"
The command "out" is
first
searched at the "LAS:DIS:" level. Since the command "LAS:DIS:OUTU does not exist,
the
next
higher level "LAS:" is searched. There the command "LAS:OUTW is found, and the parameter "on" is
legal,
so
there is no error.
Care
must
be
taken to avoid errors which are
caused
by
trying
to implement commands from the wrong
path
or
level. For example, the following command string
was
intended to
(1)
read
back
the set point resistance and
(2)
read back the measured resistance:
"TEC:
SET:R'?;
R7"
Instead,
the output would return the set point resistance twice. When the second
"R?"
is found, the software
will
first search for that command at
its
current level. Since it
finds
it there it
will
be executed.
If
this command did not
exist at
this
level, the software would search down to the "TEC:" level and find and execute the intended
command,
"TEC:R?".
In
order to ensure the proper command is executed for the example above, the following command string should
have
been
issued:
"TEC:
SET:R?;
TEC:R?"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ILX Lightwave LDC-3700 Series and is the answer not in the manual?

ILX Lightwave LDC-3700 Series Specifications

General IconGeneral
BrandILX Lightwave
ModelLDC-3700 Series
CategoryController
LanguageEnglish

Related product manuals