Signal Generator

General

images/download/attachments/6044876/SigGen0.PNG

Component Palette Icon:

images/download/attachments/6044876/SigGen1.PNG


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

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.

Customizers

This component does not have any custom properties.

Examples

This component does not have any examples associated with it.