Engee documentation

GP-LC-4X SIN

Sending a periodic sinusoidal signal to the GP-LC-4X DAC using the output DMA.

blockType: SubSystem

Path in the library:

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

Description

The GP-LC-4X SIN block is used to specify a periodic sinusoidal signal to the GP-LC-4X DAC using output DMA.

Ports

Input

# Amplitude, V — signal amplitude
scalar

Details
Data types

Float64.

Complex numbers support

No

# Frequency, Hz — signal frequency
scalar

Details
Data types

Float64.

Complex numbers support

No

# Phase, rad — initial phase of the signal in radians
scalar

Details
Data types

Float64.

Complex numbers support

No

# Displacement, V — displacement of the sinusoidal signal on the value axis
scalar

Details
The sum of amplitude and offset must not exceed 5V or be less than −5V.
Data types

Float64.

Complex numbers support

No

Parameters

All parameters listed above except the last three set the waveform only at initialisation. If at the first calculation step the corresponding parameters at the block inputs are different, the waveform will be changed.

Main group

# Амплитуда (0-5 В): — initial amplitude at signal initialisation

Details
Default value

0.0

Program usage name

m_ampl

Tunable

No

Evaluatable

Yes

# Смещение, В: — initial displacement of the sinusoidal signal on the value axis

Details
The sum of the amplitude and offset must not exceed 5V or be less than −5V.
Default value

0.0

Program usage name

m_valoffset

Tunable

No

Evaluatable

Yes

# Фаза, рад: — initial phase of the signal in radians

Details
Default value

0.0

Program usage name

m_phase

Tunable

No

Evaluatable

Yes

# Частота (500-13000 Гц): — initial frequency of the signal

Details
Default value

0.0

Program usage name

m_freq

Tunable

No

Evaluatable

Yes

# Номер модуля: — 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

# Шаг расчета, с: — 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