Engee documentation

GP-LC-4x DAC

Sending samples to DAC channels of the RITMeX GP-LC-45 I/O module.

blockType: CFunction

Path in the library:

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

Description

Block GP-LC-4x DAC is used to send samples to DAC channels of the RITMeX GP-LC-45 I/O module.

Characteristics:

  • Number of channels - `2.

  • Output range - ±5 V.

  • Output frequency - 1 MHz.

Ports

Input

# dac — receiving a sample array for transmission to the DAC
`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 number of DAC channels to be used
1 | 2

Details
Values

1 | 2

Default value

1

Program usage name

m_dac_amount

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds for sending samples to the DAC from the real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes