Function sc_tdc_pipe_open2¶
Defined in File scTDC.h
Function Documentation¶
-
int sc_tdc_pipe_open2(const int dd, size_t internal_pipe_size, const struct sc_PipeCbf *pipe_warning, const struct sc_PipeCbf *pipe_alert)¶
Open data pipe for tdc events.
Hint: Prefer the USER_CALLBACKS pipe for development of new applications, which replaces usage of this function.
- Parameters
dd – Device descriptor.
internal_pipe_size – Size of internal data buffer for events in bytes.
pipe_warning – 90% pipe level callback function.
pipe_alert – 99% pipe level callback function.
- Returns
int 0 or error code.