Skip to main content

init_ljm

Function init_ljm 

Source
pub unsafe fn init_ljm() -> Result<(), LJMError>
Expand description

Initializes the LabJack LJM library for the configured feature mode.

§Errors

Returns the error from LJMLibrary::init unchanged.

§Safety

This delegates to ljmrs::LJMLibrary::init, which is unsafe because it initializes process-wide FFI library state. Call it once during service startup before using other LJM operations.