User Tools

Site Tools


ffc:cm:api-ld

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ffc:cm:api-ld [2021/12/08 21:39] – external edit 127.0.0.1ffc:cm:api-ld [2022/03/29 17:19] (current) – external edit 127.0.0.1
Line 1: Line 1:
-=====FFC-CM Laser Driver API=====+=====FFC-CM Fiber Laser Driver API=====
  
 ====Links==== ====Links====
 * **Quick-Start Guides** * **Quick-Start Guides**
-    * [[ffc:100|FFC-100 Quick Start]]+    * [[ffc:cm:quickstart|FFC-CM Quick Start]]
  
 *  **Electronics** *  **Electronics**
-    * [[ffc:100m|FFC-100 Manual]] +    * [[ffc:cm:manual|FFC-CM Manual]] 
-    * [[https://www.youtube.com/watch?v=dd9TBPtoo98|FFC-100 Firmware Upgrade Tutorial]]+
  
 *  **Websites** *  **Websites**
-    * [[https://vescent.com/us/ffc-100-frequency-comb.html|FFC-100 web page]]+    * [[https://vescent.com/us/ffc-100-frequency-comb.html|FFC-CM web page]]
     * [[https://github.com/Vescent/FFC_Firmware_Upgrade-and-FPGA-Software-Firmware|Github page for FFC-100 firmware revisions]]     * [[https://github.com/Vescent/FFC_Firmware_Upgrade-and-FPGA-Software-Firmware|Github page for FFC-100 firmware revisions]]
  
 *  **Downloads** *  **Downloads**
-    * {{ :fcc:100:ffc-100_serial_command_api.pdf |}}+    * {{ :ffc:cm:ffc_gen2_laser_driver_command_api_r03.docx |}}
  
 =====Implementation Instructions===== =====Implementation Instructions=====
  
-Listed below is the command set for the Application Programming Interface (API) for the FFC-100Most operations that can be performed via the touchscreen can be also be performed via the API. +Listed below is the command set for the Application Programming Interface (API) for the FFC-CM Laser Driver boardsSince the FFC-CM does not have a touch screen or GUIall 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      9600  | +
-^ Data Bits      8     | +
-^ Parity        |  None  | +
-^ Stop Bits      1     | +
-^ Flow Control  |  None  | +
- +
- +
-To perform an operation, an ASCII-based text message is first constructed from command and its argumentsand then the message is transmitted to the FFC-100 through the COM port. The following rules apply: +
- +
-  - Syntax is //insensitive// to case. +
-  - A message is an ASCII string composed of a command followed by zero or more arguments. +
-  - A command and its arguments are delimited by spaces. +
-  - Messages are terminated by a carriage return ("\r"). +
-  - All valid messages return an ASCII string value. +
-  - [Int] refers to an integer argument that has no decimal point. +
-  - [Float] refers to a floating point argument that has a decimal point in its value. +
-  - 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 [[fcc:100:api#Links|downloads]] section.+
  
 +Computer communication to the FFC-CM Laser Driver Boards occurs through the [[ffc:cm:api_i2c|I2C interface]]. Implementation of this interface has been left to the user. However, a list of API commands can be found below, or by downloading the FFC Gen2 Laser Driver Command API from the [[ffc:cm:api-ld#Links|downloads]] section. 
ffc/cm/api-ld.1638999591.txt.gz · Last modified: 2021/12/08 21:39 by 127.0.0.1