Engee documentation

GP-LC-4x DAC

Sending samples to the 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

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

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

Specifications:

  • The number of channels is `2'.

  • The output range is ±5 V.

  • The output frequency is 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