Liquid Crystal Controller
18828-D02 Rev F, Sept 23, 2011 Page
9
www.thorlabs.com
Computer Controlled Operation
The LCC25 may also be controlled by a command line language through the USB port.
This is offered to enable operation through a terminal interface or for those who may
want to write their own program to control the unit. The command language is described
below. Prior to running the command line interface, the included drivers should be
installed, the unit should be powered, and a USB cable should be connected between the
LCC25 and the host.
The terminal emulator should be set as follows:
•
Baud Rate: 115.2k b/s (bits per second)
•
Data Bits: 8
•
Parity: None
•
Stop Bits: 1
•
Flow Control: None
If the connection is correct and after pressing the Enter key, you will see the following:
Command error CMD_NOT_DEFINED
followed by the command prompt, “
>”
The basic structure of the interface is a keyword followed by either an equals sign (=) or
a question mark (?). The (=) or (?) will determine if the string is a command or a query.
All strings, commands and queries, must be terminated by a carriage return (CR) or
pressing the ENTER key on the computer.
The command structure is as follows:
Keyword = argument (CR)
Where “keyword” defines the function and “argument” is a numerical value followed by
a carriage return (CR).
The query structure is a follows:
Keyword? (CR)
The “keyword” defines the function and the question mark (?) indicates a query. The
string is terminated with a carriage return (CR).
There are a few exceptions to this which are noted below, also noted are unique shortcut
keys. The following table lists the commands and queries available with this device. The
prompt symbol (>) will appear on power up and after a command is accepted by the
LCC25 indicating it is ready to receive another command line.
If the keyword, format, or argument are incorrect or out of range the unit will return an
error string.
Содержание LCC25
Страница 1: ...LCC25 Liquid Crystal Controller Operating Manual ...
Страница 20: ...www thorlabs com ...