SquareWave

Top  Previous  Next

clip0026

Outputs True and False values for high and low values respectively, of a square wave defined for the specified period. 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 square wave

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

 

Outputs


 

Slots

Type

Description

 

Out

Digital

The current value of the square wave.

 

Properties


 

Slots

Description

 

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.