Hello everybody,
I'm developing a acq program for [c]FieldPoint. During my measuremt loop (1Hz) I read 3 channel (two Temps and 1 AI) from the FieldPoint. I produce a histogram of each channel inside the loop and write the occurences back to an ini file each time when the ignition of the vehicle is turned off. I figured out that it takes a lot of time to write ini file so that I desided that I want to save the histo data within an array and after 86400 seconds I write a file.
My problem is that I don't know how I can add a row to an array driven by the boolean event ignition off:
e.g.
Ignition = 1 then put the histodata into the first row of an array.
Ignition = 0 do nothing
Ignition = 1 again, put the new histodata into the next row of the same array.
The result should be an array with multiple rows and colums (one column for each occurence and one row for each event).
Can anybody help me?
Thank you very much.
Thomas
Thomas