SG, SGI – Signal generators
Block SymbolsLicensing group: STANDARD
Function Description
The SG and SGI blocks generate periodic signals of chosen type (isig parameter): sine wave, square,
sawtooth and white noise with uniform distribution. The amplitude and frequency of the output
signal y are given by the amp and freq parameter respectively. The output y can have a phase shift of
in the deterministic
signals ().
The SGI block allows synchronization of multiple generators using the RUN and SYN inputs. The RUN parameter must be set to on to enable the generator, the SYN input synchronizes the generators during the output signal generation.
Inputs
RUN | Enable execution, run the binary sequence generation | Bool |
SYN | Synchronization signal | Bool |
Output
y | Analog output of the block | Double (F64) |
Parameters
isig | Generated signal type 1 | Long (I32) |
|
|
|
amp | Amplitude of the generated signal 1.0 | Double (F64) |
freq | Frequency of the generated signal 1.0 | Double (F64) |
phase | Phase shift of the generated signal | Double (F64) |
offset | Value added to the generated signal 1.0 | Double (F64) |
ifrunit | Frequency units 1 | Long (I32) |
|
|
|
iphunit | Phase shift units 1 | Long (I32) |
|
|
|
[Previous] [Back to top] [Up]
2020 © REX Controls s.r.o., www.rexygen.com