|

Description:
This add-on control allows monitoring of an analog channel of data (or other
values).
 |
View the value in a bar graph and as a text
value. |
 |
Set a setpoint value for the indicator light
on the control via the interface or through code. |
 |
Set to 'alarm' above or below the setpoint. |
 |
Trigger StampPlot object Event code to run on alarm
at a specified interval. |
 |
Set to automatically update from a StampPlot
channel of data. |
 | Optional Control Popup Menu to allow
end-user configuration of some properties/functions. |
 | Using !SSET
config_name and !GSET config_name all
current control settings may be saved and recalled from the Windows
Registry. |
Creation String:
!POBJ Channel_Monitor_Obj.ObjName = Left, Top, Width, Height, Text, Max Value,
Auto Update (0/1), Auto Channel
Creation Example:
' Mon_Ch0 -- POCX:CHANNEL_MONITOR_OBJ *****
!POBJ CHANNEL_MONITOR_OBJ.Mon_Ch0=69.9,60.9,27.,44.,Monitor,100,1,0
!POBJ Mon_Ch0.Alarm Value=29
!POBJ Mon_Ch0.Low Alarm=0
!POBJ Mon_Ch0.Color=&HFFFFFF
!POBJ Mon_Ch0.Trigger=0
!POBJ Mon_Ch0.Trigger Interval=5
!POBJ Mon_Ch0.tip=Channel Monitor
Property/Functions:
 |
Alarm Value
Sets the alarm indicator value.
!POBJ ObjName.Alarm Value = 50
!STAT (objName.Alarm Value)
|
 |
Auto Channel (0-99)
Sets the channel of StampPlot to poll when 'Auto Update' is enabled
(0-99 - though only 0-9 plotted by StampPlot).
!POBJ ObjName.Auto Channel = 3
|
 |
Auto Update: (0/1)
Sets the control to automatically poll StampPlot for a channel of data
!POBJ objName.Auto Update = 1
|
 |
Color
Sets the background color of the control. Value is commonly hexadecimal (0-F) with each 2 digits representing the amount of Blue, Green and Red (&HFF0000 = max blue, no green, no red).
!POBJ objName.Color = &H800080
|
 |
Help
Opens the help file webpage.
!POBJ objName.Help
|
 |
Low Value (0/1)
Alarm will occur at values less than the setpoint.
!POBJ objName.Low Value = 1
|
 |
Max Value (>0)
Sets the maximum value of slider and bar.
!POBJ objName.Max Value = 500
|
 |
Popup Menu (0/1)
Enables the control popup menu for end-user configuration of:
Low Value Alarm
Max Value
Auto Update
Auto Channel
Text
!POBJ objName.Popup Menu = 0
|
 |
Text
Sets the title of the control.
!POBJ objName.Text = Channel 3
|
 |
Trigger (0/1)
When set, triggers StampPlot run code on alarm.
!POBJ ObjName.Trigger = 1
|
 |
Trigger Interval
If trigger is set, determines how frequently (in seconds) to trigger the controls StampPlot code on alarm.
!POBJ objName.Trigger Interval = 2
|
 |
Value
The current value to indicate. Also the SET value.
!POBJ objName.Trigger = 80
or
!POBJ objName = 80
|
 |
Plus all other normal StampPlot general
functions (visible, etc) |
|