Channel Monitor Control
Home ] Up ] Release 2 Updates ] Release 4 & 5 Updates ] New Plot Controls ] [ Channel Monitor Control ] Calculation and Plotting Control ] Release 6 ] Release 7 ] Release 7.5 Notes ] Release 7.8 ] Release 7.9 ]

 

Description:
This add-on control allows monitoring of an analog channel of data (or other values).

bullet

View the value in a bar graph and as a text value.

bullet

Set a setpoint value for the indicator light on the control via the interface or through code.

bullet

Set to 'alarm' above or below the setpoint.

bullet

Trigger StampPlot object Event code to run on alarm at a specified interval.

bullet

Set to automatically update from a StampPlot channel of data.

bullet

Optional Control Popup Menu to allow end-user configuration of some properties/functions.

bullet

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:

bullet

Alarm Value
Sets the alarm indicator value.
!POBJ ObjName.Alarm Value = 50
!STAT (objName.Alarm Value)

bullet

 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

bullet

Auto Update: (0/1)
Sets the control to automatically poll StampPlot for a channel of data
!POBJ objName.Auto Update = 1

bullet

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

bullet

Help
Opens the help file webpage.
!POBJ objName.Help

bullet

Low Value (0/1)
Alarm will occur at values less than the setpoint.
!POBJ objName.Low Value = 1

bullet

Max Value (>0)
Sets the maximum value of slider and bar.
!POBJ objName.Max Value = 500

bullet

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

bullet

Text
Sets the title of the control.
!POBJ objName.Text = Channel 3

bullet

Trigger (0/1)
When set, triggers StampPlot run code on alarm.
!POBJ ObjName.Trigger = 1

bullet

Trigger Interval
If trigger is set, determines how frequently (in seconds) to trigger the controls StampPlot code on alarm.
!POBJ objName.Trigger Interval = 2

bullet

Value
The current value to indicate.  Also the SET value.
!POBJ objName.Trigger = 80
or
!POBJ objName = 80

bullet

Plus all other normal StampPlot general functions (visible, etc)

 


StampPlot is a  registered trademark of SelmaWare Solutions.
StampPlot, S-Plot, instruction set and HTML files, copyright 2000-2006 SelmaWare Solutions.
BASIC Stamp is a registered trademark of Parallax, Inc.
Windows & Visual Basic are registered trademarks of Microsoft Corporation.