Signal Generator
Component Palette Icon:
Description
The Signal Generator is similar to the Timer component, but its value isn't simply a counter. Instead, you can choose from a variety of familiar 'signals'. You configure the frequency by setting the Periodproperty, which is in milliseconds. You configure the resolution by setting the Values/Period property.
For example, if you choose a sine wave signal with a period of 2000 milliseconds and 10 values/period, your sine wave will have a frequency of 0.5 Hz, and its value will change 10 times every 2 seconds.
Properties
Name | Description | Property Type | Scripting | Category |
---|---|---|---|---|
Lower Bound | The lower bound of the signal value. | double | .lower | Data |
Name | The name of this component. | String | .name | Common |
Period | The period of the signal in milliseconds. | int | .period | Behavior |
Running? | Determines whether or not the signal is being generated. | boolean | .running | Behavior |
Signal Type | The signal type (shape) of the signal value. | int | .signalType | Behavior |
Upper Bound | The upper bound of the signal value. | double | .upper | Data |
Value | The current value of this signal generator. | double | .value | Data |
Values/Period | The number of value changes per period. | int | .valuesPerPeriod | Behavior |
Scripting
Scripting Functions
This component does not have scripting functions associated with it.
Extension Functions
This component does not have extension functions associated with it.
Event Handlers
Event handlers allow you to run a script based off specific triggers. See the full list of available event handlers on the Component Events page
Customizers
This component does not have any custom properties.