08-10-2023 02:51 AM
So, I'm trying to integrate a function into my program, that is used to take measurements of resistors that exceed a maximum voltage.
I want to have the program save the data in a .csv file while it's running, formatted in a specific way.
The problem right now is, that the program only saves the last recorded bunch of data (index of resistor, time of measurement and the measurement itself, as well as I don't know how to go about formatting the data in the way I would like it to look.
Also, it gives me all of this data in one line each: so one line for indexes, one for all of the times and one for all the measurements.
I'll provide examples of how it looks right now in the .csv and my program and how I would like for it to look in the attachments.
Any help will be greatly appreciated 🙂
08-10-2023 06:36 AM
You can try similar like this (Single Timestamp for Complete dataset) and you will get the results as attached
08-10-2023 09:01 PM
Here are some comments that I hope will help you "do this correctly".
If you open LabVIEW Help and look at the Detailed Help for Write Delimited Spreadsheet, it will explain how it works (similarly to what I've done here). It will also point you to some Example Code that ships with LabVIEW, and illustrates how to use these functions.
Bob Schor