![THORLABS S4FC Series Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/thorlabs/s4fc-series/s4fc-series_user-manual_1110900015.webp)
S4FC Series Fiber Coupled Laser Source
Chapter 5: Operation
October 24, 2017, Rev R
Page 13
5.10.2. Command Line Operation
The system 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 unit should be
powered on, and a USB cable should be connected between the S4FC and the host.
The terminal emulator should be set as follows:
Terminal Emulator Settings
Baud Rate
115.2 kb/s
1
Data Bits
8
Parity
None
Stop Bits
1
Flow Control
None
If you are using a terminal program, be sure to check the option “Append line feeds to incoming line ends”, or a
similar option, depending upon the program you are using. In HyperTerminal you can find this option by
navigating to File
→
Properties, selecting the Settings Tab and clicking “ASCII Setup…” button. It is the first
option in the “ASCII Receiving” box.
If the connection is correct you will see the following after pressing the Enter key.
Command error CMD_NOT_DEFINED
Followed immediately by the 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).
See listing below.
The query structure is as follows:
Keyword? (CR)
The “keyword” defines the function and the question mark (?) indicates a query. The string is terminated with a
carriage return (CR). See listing below. There are a few exceptions to this which are noted below.
The prompt symbol “>” will appear on power up and after a command is accepted by the system indicating it is
ready to receive another command line.
1
kilobits per second, other baud rates can be applied.
Содержание S4FC Series
Страница 1: ...S4FC Series Fiber Coupled Laser Sources User Guide...
Страница 27: ...www thorlabs com...