Hello,
Attached you will find the vi. What I've done is: Within a while loop I have put a case structure which changes state when time of my experiment is elapsed. While the time has not elapsed, I get measurements from two thermocouples(right now i've replaced with two random number generators) using a for loop(6 iterations, every 10 sec), and logging my data to a txt file. I've managed to add headers and then append the data. However, I am currently struggling to add time, for example after the first collection of data, i want the time column to show in the first line 10(sec), second 20 and so on. I've tried with the timing functions but i just get a constant number probably in milliseconds. Can you help me add proper timing reference with respect to built vi?
Thanks very much,
Ioannis