SineWave

Top  Previous  Next

clip0025

Outputs the values of a sine wave defined for the specified period and amplitude. The output starts when the block is enabled and is produced on every cycle of the program.

 

Inputs



 

 

Slots

Type

Default

Description

 

Enable

Digital

True

When True, produces the specified sine wave

When False, the output ‘Out’ will be set to property 'DefaultValue'.

 

Outputs


 

Slots

Type

Description

 

Out

Numeric

The current value of the sine wave.

 

Properties


 

Slots

Description

 

Amplitude

The amplitude of the sine wave.

 

DefaultValue

The value that the block output will take on when disabled

 

Period

The amount of time, in milliseconds, over which a full cycle of the wave occurs.