Data gathering

These examples illustrate how to configure Latch components to collect Boolean and numeric data. Each latch component contains a Clock property and a Latch action. Either can trigger the collection of data (capturing the In value from a control point and making it available as an Out value).

The examples are similar, in that they all use a Schedule component to invoke a latch. Other components may be used to invoke a latch, however, any latch you invoke using the Clock property must include a method for setting the Clock property status back to false before the clock is available for latching again. The third example illustrates the use of a latch component's latch action instead of using the Clock property.