Function sc_pipe_open2¶
Defined in File scTDC.h
Function Documentation¶
-
int sc_pipe_open2(const int dev_desc, const enum sc_pipe_type_t type, const void *params)¶
Open data pipe.
The user can open as many pipes as required, even if they are of the same type.
See also
enum sc_pipe_type_t
See also
See also
See also
See also
See also
See also
struct sc_pipe_tdc_histo_params_t
See also
struct sc_pipe_statistics_params_t
See also
struct sc_pipe_callback_params_t
See also
Note
In case of internal memory allocation, if data is not read from the pipe after every exposure, the memory consumption of the application will grow. Please make sure to read data as often as necessary.
- Parameters
dev_desc – Device descriptor
type – Pipe type.
params – Pipe parameters.
- Returns
A non-negative (>= 0) pipe id in case of success; negative error code in case of failure. The pipe id is to be used in functions sc_pipe_read2() and sc_pipe_close2().