I apologize for being a noob but I am really struggling using the table object in Ignition. Right now I have a real array in my PLC that I would like to manage and add/change values from Ignition instead. Actually there are two arrays and I want to index them with a 3rd column 1:100. However, to test this functionality I was just trying to drag and drop my array into a column of the table object (everything is so easy in Ignition, why would this not work, I thought).
Ignition doesn’t treat my Real datatype as an array, but rather a folder. Thus, it is looking like I need to do some scripting to system tag read from the array, and writing to a new memory tag set up as a float array, but I am not sure what the syntax looks like for writing to an array. I could do it value by value (dumb), or loop it over an index with a for loop or something but I still assume there is an easier way to do this.
A general question surrounding scripting, when/where do people call these types of tag creation scripts that don’t have a logical trigger? Do I run a startup script, or is there an event trigger that is sort of generic that makes sense?
Then once I have these arrays created, is there an easy way to create a dataset that I can just bind to the “data” property of the table? Alternatively is there a dataset write system function where I can write things column by column? Where would a fella’ fire this script?
For the most part this data is static but needs to be exposed to the HMI to facilitate adding additional rows via an HMI, so now i have 3 different 100 length real array with ~70 0s that eventually I would like to fill in with additional data as we add parts. It is a sort of a recipe table.
I am sure what I am looking for is relatively simple, but I can’t find a specific use-case that is exactly the same.