L-CARD L-502
A library of blocks for working with the analog-digital I/O module L-Card L-502, providing support:
-
Analog inputs (32 channels)
-
Analog outputs (2 channels)
-
Digital inputs (16 channels)
-
Digital outputs (16 channels)
For the library blocks to work correctly, you must specify the module_id parameter and install the L-Card drivers/libraries.
The module_id parameter is the string serial identifier of the L-Card L-502 module (for example "2T274480"). It can be found on the front side of the board or obtained programmatically through the hardware support package using the command:
using EngeeDeviceManager.Devices.L502BOARD
l502board = L502BOARD.L502Board()
serials = l502board.get_serial_list()
serial_num = last(serials)
If an empty array is returned during initialization, it means that the card is not displayed in the system. Recommended:
-
When the PC is powered off, make sure that the card is securely installed in the PCI-Express slot.;
-
Check that the L-Card drivers are installed correctly.
Install drivers and libraries according to the manufacturer’s instructions.:
-
Windows — you need to install x502api and L502API using the official installer: http://lcard.ru/download/lpcie_setup.exe. After installation, add the path to x502api and l502api to the system environment variable
PATH. -
Linux — to install the driver and API, use the dkms-enabled system package manager. A detailed guide is available at the link: http://www.lcard.ru/download/lcard_linux_distributions.pdf.
- LCARD L502 ADC
-
Receiving samples from the ADC channels of the L-Card L-502 I/O module.
- LCARD L502 ARB
-
Generation of a high-frequency arbitrary signal at the analog outputs of the L-Card L-502 I/O module.
- LCARD L502 DAC
-
Transfer of samples to the DAC channels of the L-Card L-502 I/O module.
- LCARD L502 DI
-
Getting values from the digital inputs of the L-Card L-502 I/O module.
- LCARD L502 DO
-
Sending values to the digital outputs of the L-Card L-502 I/O module.
- LCARD L502 SAW
-
Generation of a high-frequency sawtooth signal at the analog outputs of the L-Card L-502 I/O module.
- LCARD L502 SIN
-
Generation of a high-frequency sinusoidal signal at the analog outputs of the L-Card L-502 I/O module.