Skip to main content

Module ljm_mode

Module ljm_mode 

Source
Expand description

LabJack LJM library initialization for the selected linking mode.

The crate is built with exactly one of the dynlink (default) or staticlib features; enabling both or neither is a compile error. Dynamic mode loads the LJM shared library at run time, so builds do not depend on platform linker paths. Static mode initializes the library linked at build time.

§Configuration

  • LJM_PATH - Path to the LJM shared library, read only in dynlink builds. When unset, no path is passed to ljmrs::LJMLibrary::init.

Functions§

init_ljm⚠
Initializes the LabJack LJM library for the configured feature mode.