Graphical Panel Controls: On/Off Button

An On Off button allows you to change the value of a digital (binary) signal or application signal within a graphical panel. You can also use this control to take Vehicle Spy online or offline.

Table 1 lists the special properties associated with On Off Button controls. A list of common properties can be found in Common Control Properties.

Table 1: On Off Button Control Properties

PropertyFunction and Options

OnText

The text shown when the button is pushed or held down (On state).

OffText

The text shown by default before the button is pressed (Off state).

OnOffType

Specifies the behavior of the control:

  • 0-Push Button: Button state and signal value will change as long as the button is held down; releasing the button will return the button and signal to the Off state.

  • 1-Toggle Button: The button state and signal value toggle when the button is pressed.

Last updated