Skip to main content
Version: 8.1

Perspective - Sensor

New in 8.1.0

Component Palette Icon:

An animated component that looks like a sensor. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class.

Properties‚Äč

Most Properties have binding options. For more information on Bindings, see Types of Bindings in Perspective. This section only documents the Props Category of properties. The other Categories are described on the Perspective Component Properties page.

NameDescriptionProperty Type
appearanceOptions for the appearance of the component. Options are auto, p&id, mimic, and simple. If set to auto, the value is taken from the Perspective Session Property symbols.autoAppearance. 

value: string
animationSpeedThe speed of the animation as a percent. Set to "0" to turn off animation. If set to auto, the setting is taken from the Perspective Session Property symbols.autoAnimationSpeed.value: numeric
stateState of the animation. Built-in options are default, running, stopped, or faulted.

New in 8.1.26
Built-in states and new states can be configured and applied on the Project Properties > Symbols page.
value: string
orientationOrientation of the sensor. Options are top, bottom, left, or right. Default is right.value: string
reverseFlow
Changed in 8.1.13
This property was removed in 8.1.13.
Whether or not to reverse the direction of the flow. Default is false. Note: This property has no effect on the Sensor component.
value: boolean
labelLabel settings for the component. 
  • text: Text for the label. Value is string.
  • location: Label position relative to the sensor: top, bottom, left, right, or hidden. Default is bottom. Value is string.
  • justify: Label text justification: left, center, right, or auto. Default is center. Value is string.
  • style: Modify label text style using the style properties. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class
  • object
    valueValue settings for the component. 
  • text: Value to display as text. Value is string.
  • location: Value position relative to the sensor: top, bottom, left, right, or hidden. Default is bottom. Value is string.
  • justify: Value text justification: left, center, right, or auto. Default is center. Value is string.
  • style: Sets a style for the value Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style class
  • object
    styleSets a style for this cylindrical tank. Full menu of style options is available for text, background, margin and padding, border, shape and miscellaneous. You can also specify a style classobject

    Component Events‚Äč

    The Perspective Event Types Reference page describes all the possible component event types for Perspective components. Not all component events support each Perspective component. The Component Events and Actions page shows how to configure events and actions on a Perspective component. Component scripting is handled separately and can be accessed from the Component menubar or by right clicking on the component.