MCA Logo
MCA Online Reference Documentation
Main Index

Chapter 3. Widgets

Table of Contents
3.1. Sensors
3.1.1. LED
3.1.2. LCD
3.1.3. Oscilloscope
3.1.4. Mulitple Bars
3.2. Actors
3.2.1. Slider
3.2.2. Pushbutton
3.2.3. Radiobutton
3.2.4. Virtual Stick
3.2.5. Keyboard
3.2.6. Value Input
3.2.7. BitSelector
3.3. Extended
3.3.1. Round analog display
3.3.2. Display String
3.3.3. String Choice

There are three catherogies of widgets: Sensor widgets only work on sensor values in order to display them. Actor widgets generate new output values in order to sent them to the MCA2 controle system controller inputs. Extended widgets work on both or additionally need blackboards.

3.1. Sensors

3.1.1. LED

After creation one LED is shown. In the special edit widget the number of LEDs can be changed. Every LED has on and off colours. In normal mode, the LED changes from off to on colour if the corresponding sensor value crosses the specified limit value. In digit mode the sensor value is interpreted as a binary value and the LED status changes to on if the specified digit (bit) of the binary sensor value is set. Note, that the floting point value is transformed into an integer value before checking bits.

3.1.2. LCD

Displays a sensor value as LCD number. In the special edit widget, the number base (hexadecimal,decimal,octal and binary) and the display mode (flat, outlined and filled) can be configurated

3.1.3. Oscilloscope

The oscilloscope stores sensor values in an array in order to display the past values in a graph. This widget uses an internal timer in order to store values periodically. This period is configurable in the special edit widget. There also the scales (x-axis and left and right y-axis) can be changed. Every input is drawn in an individual color and can be assigned to left or rigth scale.