tvey
Lifetime Supporting Member
I am using the standard RSView32 trend control to display process data for several machine variables.
The trend pens are configured as below where #1,#2,#3 are parameters passed to the display and which correspond to the tag database path for the machine variable I am interested in trending:
Pen 1: #1\#2\#3\UpperTol
Pen 2: #1\#2\#3\Measured
Pen 3: #1\#2\#3\LowerTol
The first time I call the display, the trend automatically updates according to the update rate in the 'Trend Configuration tab' (2 seconds, in my case).
However, if I close the display and re-open it passing different parameters for #1,#2,#3, the trend will display the correct data but will no longer update automatically.
If I set the trend\pause tag to '0', the trend seems to perform a 'one-time' update and then automatically resets the 'pause' tag to '1'. I can reset the 'pause' tag any number of times and the trend will update and then pause itself again. If I restart the RSView app, the trend will auto-update just fine until I close it and re-open with different parameters.
This behaviour seems to occur for both historical and real-time trends.
This app has perhaps 120 different variables to trend, so I definitely like the idea of using RSView's version of indirect tags instead of creating 120 separate trend displays.
Does anyone have any insight into this issue?
-Trevor
The trend pens are configured as below where #1,#2,#3 are parameters passed to the display and which correspond to the tag database path for the machine variable I am interested in trending:
Pen 1: #1\#2\#3\UpperTol
Pen 2: #1\#2\#3\Measured
Pen 3: #1\#2\#3\LowerTol
The first time I call the display, the trend automatically updates according to the update rate in the 'Trend Configuration tab' (2 seconds, in my case).
However, if I close the display and re-open it passing different parameters for #1,#2,#3, the trend will display the correct data but will no longer update automatically.
If I set the trend\pause tag to '0', the trend seems to perform a 'one-time' update and then automatically resets the 'pause' tag to '1'. I can reset the 'pause' tag any number of times and the trend will update and then pause itself again. If I restart the RSView app, the trend will auto-update just fine until I close it and re-open with different parameters.
This behaviour seems to occur for both historical and real-time trends.
This app has perhaps 120 different variables to trend, so I definitely like the idea of using RSView's version of indirect tags instead of creating 120 separate trend displays.
Does anyone have any insight into this issue?
-Trevor