Continuing the discussion from Full Featured Easy Chart / User Configuration Saving:
Continuing the discussion from Perspective PowerChart Pens Dataset - Solved:
Hello! I am dealing with something similar to this post, except I need to stick with the Vision Easy Chart. I thought I could start with this post, and create one if this doesn’t relate!
I am wondering if anyone has ever made anything Ignition similar to what I am trying to build? I am new to Ignition, about 4 months working in it.
Scope: I am essentially trying to build a table that is fully customizable for the user to put in information that will then be transferred over to the Easy Chart. I want the Easy Chart to have the same function, display data from Tag and Calculated Pens, but I want the user to have full customization on what those Tag Pens are called, what calculations are made, even the order in which the group pens are displayed.
Summary
Detail: The Easy Chart component is great for displaying trends, and it has a lot of great features; you can essentially graph anything that is in your project. I am using it for the purpose of displaying visuals of data stored in to the Tag Historian. Unfortunately, there are certain things about the Easy Chart component I am not a fan of and want to change. I want the user to have more control over what they call their tag names and how they group their tag pens and calculated pens.
Possible Solutions:
-
Dynamic Pens - I briefly looked in to dynamic pens, but wasn’t able to locate enough resources on directions to even try using this to solve my problem. I would have a Table or Power Table displayed on one screen, where the user either uploads a CSV with the data
-
Excel->CSV->Import->Data Table->append certain pieces of info to the appropriate places that affect the EZ Chart.
-
I am about 50-75% working my way through that. It’s been an incredible long journey and I am about ready to give up. The amount of hours I have spent outside of work (because creating this is way beyond the budget for this project and I have a hard head when it comes to accepting defeat) are getting to me. And who knows, maybe, the ways in which I have been trying to do this are not the best ways. Here is what I have done/learned to make this options work:
-
Excel. I always start with excel. Why? Because Excel already has all of the GUI’s that I need to atleast make a prototype of what I want. So my logic is, if I can make it in excel, break down the data in to CSV or .txt format, transfer it to the appropriate tool, I can still recreate what I want with that data. Also, the users most likely will be able to relate to excel. It’s common, everyone knows how to use it. So, I created tables in excel, made sure I could take all of that info and add it to EZ chart to build my GMI, and confirmed that worked.
-
Now I needed a way to transfer that info in to EZ Chart. I converted to CSV, created a script that asks the user to import that CSV and to convert to a dataset
*I wanted to take the necessary parts from that data set and input it in to EZ Chart. I found it easier to do this by taking the dataset that was created, and storing it in to a memory. This is because the dataset that is created, if it isn’t stored somewhere else (I believe the function is “writeblock” but also system.dataset can also be used) -
Button imports a CSV file
-
CSV is stored to a memory tag, Data Type = Data`
I still need to figure out how to take certain pieces of information from that stored memory tag to the parts of the Easy Chart. I know the paths for the memory tag, so I know how to call that, but I am lost on how to add it to the parts to the Easy Chart as paths rather than actual values. Also, I am not even sure if this is the best way. I also tried messing around with “Drop Down” button and wasn’t able to get it connected to easy chart or power table.
I am about ready to create different tab views of my displays and call it a day.
Any help would be appreciated!