Graphical Panel Controls: Function Block Button

The Function Block button provides the ability to control Function Block scripts from a graphical panel. Function blocks can be started, stopped, triggered (capture-type function blocks only), or instructed to save their collected data (again, capture blocks only).

Figure 1: An example Function Block control.

Table 1 lists the special properties associated with Function Block controls. A list of common properties can be found under Common Control Properties.

Table 1: Function Block Control Properties

PropertyFunction and Options

OnText

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

OffText

The text string shown when the button is up (Off state).

FBlockAction

Sets the action to be taken by the function block when the button is pressed:

  • 0-Start

  • 1-Trigger

  • 2-Stop (capture block only)

  • 3-Save (capture block only)

FunctionBlock

The function block associated with this control; clicking in this field will cause a list of all available function blocks in the setup to be presented in a drop-down box.

Last updated