Signal Generator
Component Palette Icon:
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.
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 |
This component does not have scripting functions associated with it.
This component does not have extension functions associated with it.
action
actionPerformed
Fires when the mouse moves over a component after a button has been pushed.
.source |
The component that fired this event |
propertyChange
propertyChange
Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.
.source |
The component that fired this event |
.newValue |
The new value that this property changed to. |
.oldValue |
The value that this property was before it changed. Note that not all components include an accurate oldValue in their events. |
.propertyName |
The name of the property that changed. NOTE: remember to always filter out these events for the property that you are looking for! Components often have many properties that change. |
This component does not have any custom properties.
This component does not have any examples associated with it.