12-03-2013 07:22 AM
Hi,
I am new labview user and I need some help.
I am trying to save my Temperature ramp measurements and the problem is that I can only save one measurement and not all the steps that my ramp goes through. What should I do? I am using the write to spreadsheet file.vi and I have already placed a True booleab at the append to file sign.
Thank you in advance.
Best regards,
Evangelos
Solved! Go to Solution.
12-03-2013 09:13 AM
Hi Evangelos
Can you post the vi showing what you have already done?
I should be able to help once I see exactly what you are doing.
Greg
12-03-2013 10:18 AM
Based on your description it is likely that you are only wiring a single data point to the "write to spreadsheet file". As Greg mentioned, post your vi so we can give you specific advice on your problem.
As a general point to get you started, to save a large number of data points, you should be wiring an array of values to "write to spreadsheet file". How you get this array entirely depends on how your code runs. If your data is being collected in a loop, you can either use an auto-indexed tunnel to build the array, or you can use an initialized array (say all zeros) of the appropriate size, replacing elements at each iteration and storing the changes in a shift register.
12-03-2013 01:27 PM
Thank you for the answers. Here is my vi.
It saves the final values and not all the temp steps with time.
12-03-2013 01:29 PM
I tried many different things by searching examples but I posted the most simple thing that works as it works. Everything I tried was the same but more complicated.
12-03-2013 01:44 PM
To try it put for example 1000 to temp ramp and 100 to max temp
12-03-2013 01:45 PM
12-03-2013 01:48 PM
Ok.Here.
12-04-2013 01:16 AM
Hi Evangelos,
Thanks for uploading your file.
Have a look at the attached file that I have edited. Is this what you are wanting to achieve?
I have made notes on the changes I made in the block diagram.
If you need any other help or changes, just let me know.
Regards,
Greg
12-04-2013 01:26 AM
Here is the text file that was created from running the vi once.
Greg