05-09-2014 10:59 AM
Hi ,
I wish to write the variables of actual speed and desired speed to a text or spreadsheet file so that i can plot them against time in MATLAB and do some analysis.
Can i use write to measurement file vi for this task?
05-09-2014 01:48 PM
05-10-2014 05:41 AM
basically i want he values of desired and actual speed to be recored( with timestamps how can I get this )in a excel sheet .so that i can plot the systems transient response.I tried using write to spreadsheet file vi,but somehow its not saving any data,similar is the case with a LVM file.How to do this?
05-10-2014 09:29 AM
Please show the code you tried. Did it create the file? Did it write only one line of data, rather than then entire file? Did you check for errors? What did you do to debug it? Have you looked for examples either in the LabVIEW example finder or on this forum?
05-12-2014 01:23 AM
example finder does not have anything related to write to spreadsheet file.Yes it creates the file but what happens is that it stores only the last value of speed.I am not getting how do i write the timestamps.
I aslo tried using MS office report VI but even there I am having a similar problem.
Will be posting the code in sometime.
05-12-2014 10:56 AM
Did you read the help for the "Write to Spreadsheet File" function? Why do you think you are writing only a single line instead of all the data?
"If append to file? is TRUE, the VI appends data to an existing file. If append to file? is FALSE (default), the VI replaces data in an existing file. If there is no existing file, the VI creates a new file."
What did you try in order to get timestamps? Have you searched this forum? It's a common question to want timestamps with your data.
02-02-2020 04:14 PM
can you share your sub VI?
02-02-2020 04:28 PM
Gaussy hasn't visited the forums in nearly 6 years. I doubt he'll get your message and have a VI to share.