08-24-2020 04:22 AM
Hello,
I am trying to store the data points of the x-axis of the myRio accelerometer and I need to store them either in an csv file or an excel file, however and using my curent VI(the pic is attached) the excel file is always corrupted and the csv file shows only the first and the last iteration and does not store the data points of the x-axis.
therefore, is there any way this can be achieved successfully?
08-24-2020 05:02 AM
Hello,
for the "Write to delimited Spreadsheet" you shouldn't use the [Transpose] input i a cycle, but instead there should be a TRUE connected to the [Append to File] input.
Hope, it helps
08-24-2020 06:01 AM
In this case, I wouldn't recommend using the Write Delimited Spreadsheet File at all. Use Open/Create/Replace File before the loop and use Close File after the loop. Inside the loop, you can format your data into a comma or tab delimited string (I recommend using Format Into String) and write that string to the file using Write Text File.
08-24-2020 07:30 AM
Hello,
Thank you so much for your answer.
also, it would be very beneficial for me if you can elaborate more because it would be very helpful in my case.