I'm trying to build a screen with trends on it that the operator can easily modify. I'm using the iFix Chart object (because I don't think this can work with the embedded trend) and I have this code that seems to work OK:
Chart1.DeletePen 1
Chart1.AddPen "DVSYS.LI100/AI/OUT.F_CV"
Couple of problems I'm encountering: the trend is real-time only, even though this tag is historized, and the trend defaults to 1-minute duration and I'd like to set it to 30 minutes, without the operator having to manually modify.
Any ideas? Is there a simpler way to do this?
Thanks!
-Mark
In reply to JesseMcNeely:
Andre Dicaire
In reply to Andre Dicaire:
In reply to ls1m:
Have you considered just using the Chart Builder functionality (not sure about in v10 though) which allows the operator to right click on dynamo (to select the object) and select from predefined selections (SP, PV, OUT) depending on the module type. It allows up to 6 items and then they can select some options and then click Build Chart.
Here is a sample screen shot of the chart builder interface.