Engee documentation

GP-LC-4x ADC

Receiving samples from ADC channels of RITMeX GP-LC-45 I/O module.

blockType: CFunction

Path in the library:

/RITM/RITMeX GP-LC-4X/GP-LC-4x ADC

Description

The GP-LC-4x ADC block is used to receive samples from ADC channels of the RITMeX GP-LC-45 I/O module.

Characteristics:

  • Number of channels - 32 in common ground mode and 16 in differential mode. Bit capacity - 16 bits.

  • Measurement ranges - ±10 V, ±5 V, ±2 V, ±1 V, ±0.5 V, ±0.2 V.

  • Conversion frequency - 2 MHz.

Ports

Output

# adc — generation of the array of samples from ADC channels
vector

Details

The array size corresponds to the parameter Number of channels in the block.

Data types

Float64.

Complex numbers support

No

Parameters

Параметры

# Номер модуля: — unique module identification
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

Used when more than one I/O module of the same type is installed in a real-time machine.

Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Диапазон: — selecting the measuring range of the DAC
+-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

# Скрытый диапазонdescription missing

Details

Description missing.

Default value

0

Program usage name

_hidden_m_range

Tunable

No

Evaluatable

Yes

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

Details
Values

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

Default value

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

Program usage name

m_mode

Tunable

No

Evaluatable

Yes

# Скрытый режимdescription missing

Details

Description missing.

Default value

0

Program usage name

_hidden_m_mode

Tunable

No

Evaluatable

Yes

# Количество каналов: — selection of the number of ADC channels to be used
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

1

Program usage name

m_adc_amount

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — Calculation step in seconds to obtain ADC readings in the real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes