![]() |
Sensor API v2.5.0
|
This document specifies the functions and parameters of the FocalSpec Sensor API (SDK).
Open FW FSSDK Sensor Compatibility Chart.pdf from FocalSpec Software Development Kit folder.
Run setup-X.Y.Z.exe from the USB drive or SharePoint to install FSSDK. X.Y.Z is the FSSDK version number.
Download Intel IPP library from Intel: https://software.intel.com/en-us/ipp. Unpack the downloaded package and install it by running the included install_GUI.sh or install.sh as root. By default, the library will be installed in /opt/intel/ipp.
Download Intel MKL library from Intel: https://software.intel.com/en-us/mkl. Unpack the downloaded package and install it by running the included install_GUI.sh or install.sh as root. By default, the library will be installed in /opt/intel/mkl.
Unpack fssdk-X.Y.Z-linux.tar.gz from the USB drive or SharePoint to the installation folder. X.Y.Z is the FSSDK version number. Default target folder: ./fssdk.
Installation option 1: installer script.
Run fssdk/install.sh as root. By default, the target installation folder is /opt/fssdk. You can change this by option --target=TARGET. Use option --help for help.
This will:
Either run fssdk-env.sh from profile script (such as ~/.bashrc), or copy-paste its content to the profile script.
Make sure the Intel IPP and MKL library path variables in the fssdk-env.sh are correct.
Installation option 2: manual installation.
Copy the FSSDK files to a desired location.
Set the following environment variables:
The environment variables can be set by adding the following lines to ~/.bashrc or other profile script. Modify paths as necessary.
To apply environment variables immediately, run the following command:
| Library | Description |
|---|---|
| Vevo.dll | FSAPI DLL |
| Vevo.lib | FSAPI library file for DLL linking |
| FsApiNet.dll | FSAPI .Net wrapper library. |
| vevo-win32.dll | Communication library used by Win32 Vevo.dll |
| vevo-x64.dll | Communication library used by x64 Vevo.dll |
| Library | Description |
|---|---|
| libvevo.so | FSAPI shared library |
| libvevobase.so | Communication library used by libvevo.so |
| Header | Description |
|---|---|
| CameraDll.h | FSAPI library function signatures |
| Callback.h | Callback function signatures |
| CameraStatus.h | Return value listing |
| PeakStructure.h | Peak format description |
| VevoParameterDefinitions.h | FSAPI parameters |
In short, the API design follows a common practice:
In function level, the flow is usually as follows:
Below is an example of a line callback.
There are four example projects with source codes included:
It is recommended to start with GuiExample, since they provide visual feedback. More information about GuiExample can be found from manual.pdf.
Open ConsoleExample\ConsoleExample.sln and read instructions from ConsoleExample.cpp.
Install the necessary build tools, such as build-essential and cmake.
Build with CMake:
Change log is provided as a PDF file (Changelog.pdf) contained in the API folder of the SDK installation folder.