Function sc_tdc_init_inifile¶
Defined in File scTDC.h
Function Documentation¶
-
int sc_tdc_init_inifile(const char *ini_filename)¶
Initializes the hardware and loads the initial settings reading it from ini file.
The function must be called before any other operation and associates a non-negative integer number (device descriptor) with the device. Device descriptor must be used to identify hardware for any other operation.
Hardware with the same serial number cannot be opened twice. Call sc_tdc_deinit2() to close and deinitialize hardware.
- Parameters
ini_filename – Name of the inifile used for initialization.
- Returns
int device descriptor or error code if less then zero.