ok, in the PLC, we have 60 integers to store data, PER data point, IE:
batch_time N40:0 to N40:59, that would be ordered from first capture to the last capture, might end at N40:35, but that doesnt matter, the next, say batch_temp would start at N40:60, and so on… so at the end of a batch, i have a FSQL block group get the data in blocks, that way, i have each data point, IE: batch_temp, and batch_time, in it’s own column.
Since that ONE batch got captured on one Poll, they all have the same block_id
We just dont wanna poll ALL the mixing lines at 5 sec intervals
With that being said, I have not tried what you posted for me, but it appears from the code, that i would still only be displaying one batch at a time, not 5 or whatever on top of each other. It would be preferrable to use batch_time as X axis for two reasons, ONE, that is how our Chem. Engin.'s look at the data, more than ONE batch on a graph, all with the same x axis, batch time, hence the overlay. What i’m unsure as to HOW to code, is how to use my query and specify for EACH block_id, create a NEW column… so i would have block_id_1 with batch 1’s Temperature with 60 rows of data, block_id_2, batch2, and so on.
I’m attaching an excel file with what i have and a trend of how it looks, but i STILL want to get rid of that annoying crap at the bottom of the graph. LOL
the red line is from another query, but i’m not concerned with that.
by they way, the graph is not from the data i’m sending. but i get it the same way
Thanks again.
five sec data.xls (22.4 KB)