Engee documentation

LCARD L502 ADC

Receiving samples from the ADC channels of the L-Card L-502 I/O module.

blockType: EngeeFunction

Path in the library:

/Interfaces/LCARD/LCARD L502 ADC

Description

To work with the block, install/update the support package. equipment.

Block LCARD L502 ADC It is used to receive samples from the ADC channels of the L-Card L-502 I/O module.

ADC Characteristics:

  • Number of channels: 32 in common ground mode and 16 in differential mode.

  • Bit depth: 16 bits.

  • Measuring ranges: ±10 V, ±5 V, ±2 V, ±1 V, ±0.5 V, ±0.2 V.

  • Conversion frequency: 2 MHz.

Ports

Output

# adc — an array of samples from the I/O module ADC
vector

Details

The size of the array corresponds to the "Number of channels" parameter in the block (from 1 to 16 in differential mode or from 1 to 32 in common ground mode).

Data types

Float64

Complex numbers support

No

Parameters

Параметры

# Номер модуля: — the string serial identifier of the L-Card L-502 module

Details

You can get it on the front of the board or using the Engee hardware support package. For more information, see L-CARD L-502.

Default value

"default"

Program usage name

m_module_id

Tunable

No

Evaluatable

Yes

# Количество каналов: — number of ADC channels for output
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32

Details
Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32

Default value

16

Program usage name

m_channel_num

Tunable

No

Evaluatable

Yes

# Диапазон: — selecting the measurement range of the ADC
±10 В | ±5 В | ±2 В | ±1 В | ±0,5 В | ±0,2 В

Details
Values

±10 В | ±5 В | ±2 В | ±1 В | ±0,5 В | ±0,2 В

Default value

±10 В

Program usage name

m_range

Tunable

No

Evaluatable

Yes

# Режим: — selecting the ADC mode
32 канала: режим с общей землей | 16 каналов: дифференциальный режим

Details
Values

32 канала: режим с общей землей | 16 каналов: дифференциальный режим

Default value

32 канала: режим с общей землей

Program usage name

m_mode

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds for receiving samples from the ADC

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes