Camera Example File Content Example

The camera parameters can be overridden by setting the appropriate parameters in the path …​/input/ in the ctrlX Data Layer.

The settings for a specific camera are located in the <extra file name>.json, here as an example named: camera_example.json.
An example of such settings is shown below.

{
    "meta": {
        "inputFileType": "camera-configuration",
        "inputFileVersion": "0.0.1",
        "targetMachine": "CtrlX7",
        "programName": "lumiscan-cam-driver",
        "programVersion": "1.0.0"
    },
    "id": "camera1",
    "serial": "LX123456",
    "exposureTimeUS": 4321,
    "pixelFormat": "RGB8"
}

The description of all the parameters mentioned above can be found in the t Table 7: Camera Example JSON Settings Description.

Table 1. Table 7: Camera Example JSON Settings Description
Parameter Description

meta

Place to set meta information: inputFileType and inputFileVersion are required.

inputFileType

In this case it must be: camera-configuration

inputFileVersion

Currently, only version 0.0.1 is supported.

targetMachine

Optional. Enter the name of the machine in use here to indicate that the current application configuration is being used for this particular machine.

programName

Optional. This parameter indicates by which application the current file is used. In this case: lumiscan-cam-driver

programVersion

Optional. Currently used program version.

id

This is an id of current camera setting.
It must be unique across all camera settings.

if simulation is given in this field, it will start simulation mode without searching or connecting to real camera.

serial

Serial number of camera.

exposureTimeUS

Exposure time in macro seconds.

pixelFormat

Pixel format of the image, possible values are: RGB8, Mono8.

timestampSource

Source of the timestamp for each frame. Camera uses the timestamp provided by the camera hardware, while System uses the system clock of the ctrlX.

After changing the parameters, the LumiScan CamDriver application should be restarted.
You can also rename the new file later by clicking the triple dots to the right of the name and selecting Rename from the expanded list.