User Tools

Site Tools


ffc:cm:api-osc

FFC-CM Fiber Laser/Oscillator API

Implementation Instructions

Listed below is the command set for the Application Programming Interface (API) for the FFC-100. Since the FFC-CM does not have a touch screen or GUI, all commands must be performed via the API.

Computer communication to the FFC-100 occurs by first establishing a Serial COM port via the USB 2.0 physical interface. Computer communication should be platform independent, though appropriate USB drivers may have to be installed. The following table shows the serial port settings:

Baud Rate 155200
Data Bits 8
Parity None
Stop Bits 1
Flow Control None

To perform an operation, an ASCII-based text message is first constructed from a command and its arguments, and then the message is transmitted to the FFC-CM through the COM port. The following rules apply:

  1. Syntax is insensitive to case.
  2. A message is an ASCII string composed of a command followed by zero or more arguments.
  3. A command and its arguments are delimited by spaces.
  4. Messages are terminated by a carriage return (“\r”).
  5. All valid messages return an ASCII string value.
  6. [Int] refers to an integer argument that has no decimal point.
  7. [Float] refers to a floating point argument that has a decimal point in its value.
  8. Changes effected by issuing a serial command from this API are not permanently stored in non-volatile memory until you issue a SAVE command. Configuration changes without the SAVE command will be lost with power cycling. The Save command stores the entire configuration and so several configuration changes can be implemented and then a single SAVE command could be issued.

For most complete version of API, download the FFC-Serial API PDF from the downloads section.

ffc/cm/api-osc.txt · Last modified: 2021/12/09 00:16 by 127.0.0.1