GP-LC-4x SIN
Page in progress. |
Sending a periodic sinusoidal signal to the GP-LC-4X DAC using the output DMA.
blockType: CFunction
Path in the library:
|
Description
The block is used to specify a periodic sinusoidal signal to the GP-LC-4X DAC using the output DMA.
Ports
Input
Amplitude -
signal amplitude (data type Float64
) in the range from 0
to 5
volts
scalar
Frequency -
signal frequency (data type Float64
) in the range from 500
to 13000
Hz
scalar
Phase -
initial phase of the signal (data type Float64
) in radians
scalar
Offset -
offset of the sine signal on the value axis (data type Float64
)
scalar
Details
The sum of amplitude and offset must not exceed 5V or be less than −5V. |
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. |
Amplitude -
initial amplitude at signal initialisation (data type Float64
) in the range from 0
to 5
volts
0.0 (By default)
.
Offset -
initial offset of the sinusoidal signal on the value axis (data type Float64
)
`0.0 (by default).
Details
The sum of amplitude and offset must not exceed 5V or be less than −5V. |
Phase -
initial phase of the signal (data type Float64
) in radians
`0.0 (by default).
Frequency -
initial frequency of the signal (data type Float64
) in the range from 500
to 13000
hertz
0.0 (By default)
.
Module number — unique module identification
1 (by default)
| 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.
Channel number -
number of the analogue output channel on which this signal will be generated
1 (By default)
| 2
Calculation Step -
calculation step in seconds for sending counts to digital output channels from the real-time application
`-1 (By default).