Hello All!
I'm building an 2D array with a dial indicator and meter inputs and would like to add a timestamp to each index/reading. I have been playing around with format date to number but additionally I would like to make it total time since start or button press. I'm planning on using this event case to trigger a time reset for a new sample to be tested but I get the feeling after reading other forum post that there might be a better way to arrange my array building process. I have also looked into clusters, but I am rather new at LabVIEW so any ideas, directions, or alternative methods would be appreciated.
I am also curious on if I could just use the write to file VI to include a time stamp per column (within configure write to properties)
the problem with this I wouldn't be able to tell when samples start and stop. This seems to hold a lot of data in buffer and outputs it all even from previous runs. (see data) also does not include enough resolution.
0.000000,-0.001000,5.727200E-13 First index? also resolution not used
1.000000,-0.001000,5.731080E-13
0.000000,-0.001000,5.727200E-13 repeats?
1.000000,-0.001000,5.731080E-13
2.000000,-0.001000,5.730780E-13
0.000000,-0.001000,5.727200E-13 either repeats or kept data from last run and this is new data. (i only ran and stopped for a few seconds.)
1.000000,-0.001000,5.731080E-1
I don't need to know the real world time but it would be nice and so this gave me the idea of maybe I can add a time elapsed since started and add it to my 2d array with append array and some conversion VI's.
S.SSS, xxxxx, xxxxx
TLDR: Im trying to create an ideal loop the would collect data every second or so and when button is pressed the array starts building fresh with time since started in seconds, this should be reset so the next sample doesn't have time continued from the first set. Data is coming in continuously
Thanks in advance for any help provided! LabVIEW has been tons of fun learning and I appreciate the expedited assistance by the LabVIEW grandmasters on these forums.