After spending lots of time on every video and article I can find, none of the solutions works to solve why my Vision Easy Chart set to Realtime Chart Mode with tags already set to Historize. The Tag properties for History are set properly for our Storage Provider and use all the default settings such as Sample Mode set for On Change.
The Behavior of the Easy Chart has the Poll Rate set to 1,000. In the Easy Chart Customizer, I’ve tried either and both the Tag History Pens and the Calculated Pens to the historized analog tags. With this and a few other things I’ve tried, I cannot get the Realtime Easy Chart to auto-update the values and express them on the graph.
As to what I’ve read here in the forum, it seems it’s a common problem, and had no clear and direct solution has been provided. Is anyone willing to help me please and could provide a simple step-by-step procedure to solve this reoccurring problem? Any help would greatly be appreciated. Thank you
I revisited the problem, but I’m still having the problem that the Vision Easy Chart will Not update in Realtime. Even replicating the the Vision “Indirect Easy Chart” by the Inductive University, it still will Not update.
My new recent approaches is of the following:
Written a script to write to a local Memory Tag (“SelectedLeg”) to hold an Integer Value that will store of which button has been pressed to open (not a new Window or Pop-up Window) the “Easy Chart” of the Analog Historized Tag.
Select_Leg = 1 #'1' is RL1
system.tag.writeBlocking(['[Tech Tag Provider]Leg/SelectedLeg'], [Select_Leg]) #Write the Button number to the Memory Tag
Created a Integer “Custom Property” on the Root Container of the Window for which this “Easy Chart” will be displayed called “Select_Leg”. This is bounded to the Memory Tag (“Selected_Leg”) as mentioned above in Step #1.
Created a Vision “Easy Chart” as recommended and add a single “Tag History Pen” (“Tech Tag Provider]Leg/ChartMotorLoads/MotorLoad_16”). This pen will be used Indirectly as will be shown later and be given a better path and names later on after we can get this sorted out.
In the “Vision Property Editor” of the “Chart Configuration”, “Tag Pens” we’ve created a link in the “Cell Update” section of the “Property Binding”. In the “Cell Bindings” for the Indirect Bindings for “Row 0”, I have the Root Container Custom Property “Select_Leg” in place to change which analog historized tag it will change to and be displayed. On the same row, it’ll update the name of the tag that is displayed on the Easy Chart.
For additional Information on the Vision Property Editor of the Easy Chart:
Behavior:
Chart Mode: Realtime
Poll Rate: 1,000
Everything is is set for default.
I really need this issue to be resolved as soon as possible as I have 5 other people waiting for me to have this issue solved for them to use. Thank you for any help I’m able to receive.
Cell Bindings Row…Column…Value
0…TAG_PATH…[Tech Tag Provider]Leg/ChartMotorLoads/MotorLoad_{Root Container.Select_Leg}
0…NAME…MotorLoad_{Root Container.Select_Leg}
The below image is the Tag Editor of the tag that this Cell Update Binding of the Tag Pens are bounded to. Note, the “MotorLoad_9” is among 17 others that each is associated to a number assigned in the “Select_Leg” Integer Memory Tag bounded to each individual buttons to change the Value of the tag to the respective Analog tag to change one Vision Easy Chart. The “Sample Mode” is set for “On Change”, however these tags are constantly changing.
I hope this is everything you need to help understand and resolve my problem. Please don’t hesitate anyone to ask for more information that I may have missed. Thank you and appreciate to everyone’s help
Hmm, I just did a quick test and its real time for me.
I created a new easy chart, drag and drop a historized tag into the chart, changed the mode from historical to realtime. I also tried leaving it in historical and using an expression binding to set the end end date to now() which worked also.
Do you mind posting snippets of them to me including your scripts please? I can’t drag a single or multiple tags onto the Easy Chart because I need to use the tags indirectly to work with buttons to change the chart to display only one pen.
Thank you
I confess that I don't use the easy chart very much, but how many tags are you talking about? if its not a huge number could you just add all your pens, then selectively enable/disable and hide/unhide with a script? This post may help with the disable and hide approach.
I replicated yours by dragging a Historical Analog Tag onto an Easy Chart and added “now()” to the Expression and still no real time. By the way, the Chart Mode is set to “Realtime”.
Unfortunately i am out of ideas, cannot replicate the issue.
new completely stock easy chart
Drag a historized tag(s) from tag browser onto the chart
Set to realtime mode
This should work, i did see a post for 7.9 where this was a bug but i don’t know when it was fixed.
Saw another post where if you had a malformed data set polling would not work.
Sorry josborn, that was what I was referring, and I only see historical of the data on the Easy Chart and Chart even when the Chart Mode is set to Real Time. I appreciate your effort to help.
I think i may understand, and the issue may be how we are defining real time. I have my tag history set to on change, which i considered the same thing as real time.