Click or drag to resize

SwtControls Properties

[This is preliminary documentation and is subject to change.]

The SwtControls type exposes the following members.

Properties
  NameDescription
Public propertyAction
Open or Close the switch. No effect if switch is locked. However, Reset removes any lock and then closes the switch (shelf state).
Public propertyAllNames
Array of strings with all SwtControl names in the circuit.
Public propertyCount
Number of SwtControl objects in active circuit.
Public propertyDelay
Time delay [s] betwen arming and opening or closing the switch. Control may reset before actually operating the switch.
Public propertyFirst
Sets the first SwtControl active. Returns 0 if no more.
Public propertyidx
Get/set active SwtControl by index; index is 1-based: 1..count
Public propertyIsLocked
The lock prevents both manual and automatic switch operation.
Public propertyName
Sets the active SwtControl by Name.
Public propertyNext
Sets the next SwtControl active. Returns 0 if no more.
Public propertyNormalState
Get/set Normal state of switch (see actioncodes) dssActionOpen or dssActionClose
Public propertyState
Set it to force the switch to a specified state, otherwise read its present state.
Public propertySwitchedObj
Full name of the switched element.
Public propertySwitchedTerm
Terminal number where the switch is located on the SwitchedObj
Top
See Also