The OneShot component provides a single, temporary, status boolean output for a specified duration (as set in the Time property).
A OneShot action occurs with a False-to-True value transition at the In property, or with an invoked Fire action. When either
of these conditions occurs, the Out property value is set to True and the Out Not property value is set to False for a time
that is equal to the value of the Time property. When the time expires, these values revert to the previous (default) values.
The following types of properties are used in the OneShot component:
Facets
Use this property to set the display trueText and falseText, or other display options, as desired.
In
Typically, you set this property by linking a boolean Out value into it. You can manually configure the default state to a
numeric value or set it to null, so that when no value is linked into this property, the default value is used. This property value is passed to the component’s
Out property for the amount of time set in the Time property.
Time
The value of this property determines how long the Out and Out Not properties hold their “one-shot” values. For example, a Time property value of “2” holds the Out property at True for 2 seconds when triggered and the Out Not property value at False for “2” seconds.
Out
This property value displays the current value (display text) that changes with a False to True transition at the In property value or a “Fire” action. Using the Facets property, you can configure the Out value display text, as desired. After a OneShot is triggered and the Time value period expires, this value returns to the default (False) value. If a null value is set, the value does not change with a OneShot “Fire” action or False to True transition at the In property value.
Out Not
This property has true, false, or null options available. The Out value change with a False to True transition at the In property value or a “Fire” action. After a OneShot is triggered and the Time value period expires, this value returns to the default (True) value. If a default null value is set, the value does not change with a OneShot “Fire” action or False to True transition at the In property value.
OneShot is in the Timer folder of the kitControl palette.
Copyright © 2000-2014 Tridium Inc. All rights reserved.