Engee documentation

GP-LC-4X ARB

Specifies a periodic arbitrary waveform to the GP-LC-4X DAC using the output DMA.

blockType: CFunction

Path in the library:

/RITM/RITMeX GP-LC-4X/GP-LC-4X ARB

Description

The GP-LC-4X ARB block is used to assign a periodic arbitrary waveform signal to the GP-LC-4X DAC using the output DMA.

Ports

Input

# En — flag to allow overwriting of array with waveform
scalar

Details

Re-shaping of the signal will only take place when this input is set to one.

Data types

UInt8.

Complex numbers support

No

# Input array — array of elements with the shape of one period of the signal required for playback
vector

Details

The sampling frequency of the DAC is 1MHz, so to reproduce a 10kHz signal, an array of 100 elements must be prepared, a 1kHz signal must be prepared with an array of 1000 elements, etc.

The maximum size of this array is one million elements, which corresponds to a 1Hz signal.
Data types

Float64.

Complex numbers support

No

# Array size — size of the above array in elements
scalar

Details
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_devnum

Tunable

No

Evaluatable

Yes

# Номер канала: — number of the analogue output channel on which this signal will be generated
1 | 2

Details
Values

1 | 2

Default value

1

Program usage name

m_channel

Tunable

No

Evaluatable

Yes

# Размер массива сигнала: — the size of the array to be generated on the signal

Details
Default value

1

Program usage name

m_port_size

Tunable

No

Evaluatable

Yes

# Шаг расчета, с: — calculation step in seconds for sending counts to digital output channels from the real-time application

Details
Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes