Skip to main content

Latch

The Latch block allows multiple repeated triggers to be received through either the On or Off inputs. The On or Off outputs will only send a single command when the state changes.

i.e. multiple commands can be sent to the On input; if the previous output the block sent was from the Off output, the block will send a single trigger from the On and Change outputs as the state changes (caused by the first input trigger). Nothing would happen if the block was already in the On state. The same applies to the Off state.

The Change output sends a single trigger when the latch state changes from On to Off or Off to On.

This control is ideal to position between a button input and the start and stop functions of a timeline trigger. It allows the start button to be pressed multiple times and only sends a single command to begin the timeline.

Inputs

  • On – Any input
  • Off - Any input

Outputs

  • On – Trigger
  • Off – Trigger
  • Change - Trigger

Default state

The default state sets the latch’s position when the workspace is initiated.