Slider
The slider object reads the position of the indicator within its perimeter then sends a value associated to the position to mapped variables. At run time, the bar meter is not visible. Increase or decrease the number of horizontal and vertical divisions within the slider to define the accuracy of position readings.
Define the properties for the slider object from the
Properties
window. For the slider object, define properties for Action
, Color
, Displacement
, Size
, Text
, and Visibility
. Other slider properties include:Property | Description |
---|---|
Frame Color | Color for the frame of the object. Possible colors are custom, web, and system colors. |
Frame Width | Width of the frame for the object. Possible values are literal values. |
Indicator Color | Color for the interior of the indicator. Possible colors are custom, web, and system colors. |
Indicator Dimensions | The length and width of the indicator, in pixels. Possible values are literal values. |
Indicator Frame Color | Color for the outline of the indicator. Possible colors are custom, web, and system colors. |
Indicator Style | Shape of the indicator. Possible shapes are bar and triangles. |
Indicator Value | Initial value of the measuring object. Possible values are literal values. |
Indicator Value Variable | Variable that controls the indicator of the measuring object. Possible variable data types are DINT or REAL. Click ![]() |
Maximum | Maximum value of the scale on the measuring object. Possible values are literal values. |
Minimum | Minimum value of the scale on the measuring object. Possible values are literal values. |
Orientation | The orientation of the measuring object is horizontal or vertical |
Scale Frame Color | Color of the scale on the measuring object. Possible colors are custom, web, and system colors. |
Scale Frame Width | Width of the scale on the measuring object. Possible values are literal values. |
Scale Label Distance | Distance between the scale on the measuring object and the displayed range values, in pixels. Possible values are literal values. |
Scale Label Frequency | Frequency of labeling of major divisions on the scale of the measuring object. For example, a value of two (2) results in labeling every second major division. Possible values are literal values. |
Scale Label Text Bold | Apply the bold style to the label text. Possible values are True or False. |
Scale Label Text Color | Color of the label text. Possible colors are custom, web, and system colors. |
Scale Label Text Size | Size of the label text. Possible values are literal values. |
Scale Tick Major Frequency | Frequency of major ticks in reference to minor ticks on the scale. For example, on a scale that ranges from 1 to 100 with a Tick Unit value of 5, a major tick frequency setting of 5 sets a major division at every 5th minor division. For example, the major division is each increment of 25. Possible values are literal values. |
Scale Tick Major Width | Width of the major tick marks to divide the scale. Possible values are literal values. |
Scale Tick Width | Width of the minor tick marks to divide the scale. Possible values are literal values. |
Tick Color | Color of the ticks that divide the scale. Possible colors are custom, web, and system colors. |
Tick Unit | Value associated to individual tick divisions on the measuring scale. Possible values are literal values. |
To insert a slider
- From theToolbox, drag the slider object into the workspace.
Provide Feedback