Engee documentation

L-Card L-502 Module Support Package

The L-Card L-502 module support package enables Engee to work with the L-502 ADC/DAC module using library blocks L-CARD L-502. The package runs on top of the subsystem Engee.Integrations It provides access to the analog and digital inputs/outputs of the L-Card L-502 modules.

Requirements

  • L-Card drivers and libraries are installed (x502api and l502api):

    • Windows — install drivers and libraries through the installer lpcie_setup.exe and add the path to x502api and l502api to the environment variable PATH.

    • Linux — install the driver and API via the System Package Manager (DKMS), for more information, see lcard_linux_distributions.pdf.

  • The serial identifier of the module (module_id) L-502 is known (for example, "2T274480").

For more information, see L-CARD L-502.

Quick start

  1. Install or connect the Engee subsystem.Integrations as shown in article.

  2. Install the L-Card drivers and libraries.

  3. Get a list of serial numbers (to fill in the module_id parameter of L-Card L-502 blocks in Engee):

    using EngeeDeviceManager.Devices.L502BOARD
    l502board = L502BOARD.L502Board()
    serials = l502board.get_serial_list()
    serial_num = last(serials)
  4. Now you can use blocks from the library. L-CARD L-502.