EBST_CAM
Loading...
Searching...
No Matches
measurement_settings Struct Reference

In this struct are settings, that are the same for all PCIe boards. More...

#include <struct.h>

Public Attributes

uint32_t board_sel
 
uint32_t nos
 
uint32_t nob
 
uint32_t continuous_measurement
 
uint32_t cont_pause_in_microseconds
 
struct camera_settings camera_settings [MAXPCIECARDS]
 

Detailed Description

In this struct are settings, that are the same for all PCIe boards.

Member Data Documentation

◆ board_sel

uint32_t measurement_settings::board_sel

board_sel controls which boards are used for the measurement. When multiple boards are selected the measurement is started for all boards at the same time. The exact trigger moment is controlled separately by each board. Every board has its own camera settings, which are set in the struct member measurement_settings::camera_settings. Select between 1 and 5 boards. This variable works bitwise. Bit 0 controls board 0: 1 for using this board, 0 for not using this board.

  • bit 0: board 0
  • bit 1: board 1
  • bit 2: board 2
  • bit 3: board 3
  • bit 4: board 4

◆ camera_settings

struct camera_settings measurement_settings::camera_settings[MAXPCIECARDS]

This is an array of structs for individual settings for each PCIe board.

◆ cont_pause_in_microseconds

uint32_t measurement_settings::cont_pause_in_microseconds

cont_pause_in_microseconds is the pause between two measurement cycles when continuous mode is on. See description of the parameter continuous_measurement for more information about the continuous mode. cont_pause_in_microseconds is a 32 bit unsigned integer.

  • min: 0 µs
  • step: 1 µs
  • max: 4,294,967,295 µs

◆ continuous_measurement

uint32_t measurement_settings::continuous_measurement

Continuous mode switch. The continuous mode repeats automatically the measurement cycle until it is stopped. One cycle consists of number of samples * number of blocks readouts. The data is not stored permanently. Each cycle is overwriting the data from the previous cycle. The data of a specific sample/block is always at the same memory address. That means for example scan 100 in block 2 from the first measurement cycle will be overwritten by scan 100 in block 2 in the second measurement cycle. The time gap between two cycles is done software wise and is beeing controlled by the parameter measurement_settings::cont_pause_in_microseconds. So the start of the next cycle is not strictly linked to your trigger, which means when triggering fast, triggers could be missed.

  • >0 on
  • =0 off

◆ nob

uint32_t measurement_settings::nob

nob is the number of blocks. One block contains nos readouts and is triggered on each block trigger which is controlled by camera_settings::bti_mode. nob is a 32 bit unsigned integer. Further information about samples and blocks can be found in the manual in chapter 6.4.1.

  • min: 1
  • step: 1
  • max: 4,294,967,295

◆ nos

uint32_t measurement_settings::nos

nos is the number of samples. One sample is one readout of the camera. One readout is triggered on each sample trigger which is controlled by camera_settings::sti_mode. nos is a 32 bit unsigned integer. Further information about samples and blocks can be found in the manual in chapter 6.4.1.

  • min: 2
  • step: 1
  • max: 4,294,967,295

The documentation for this struct was generated from the following file: