Function sc_tdc_get_corrections2

Function Documentation

int sc_tdc_get_corrections2(const int dd, int *ch_count, int *corrections)

get channel corrections (aka “channel shifts”)

Parameters
  • dd – Device descriptor.

  • ch_count – receives the number of elements needed for corrections array

  • corrections – if nullptr, only ch_count is written to, otherwise must point to an array of ints with at least ch_count elements

Returns

0 if succesful or (negative) error code