Hello,
I am having an issue saving and loading data back into my VI. My software allows the user to collect data from a DAQ that is then displayed on a graph for them to see. They can save that data, then load it back later to compare against current data. Here is the basic methodology:
1. Data is read into the program via a DAQ
2. Data is saved to a spreadsheet file from an array with the "save to spreadsheet file" VI
3. Data is loaded back to the program with the "read from spreadsheet file" VI
4. Data is moved to the same graph is was originally shown on
However, when I save the data and reload it, my graph is slightly distorted. I noticed a few things:
1. The X values are slightly more for the loaded data vs. the same data before save/load (DECIMAL NUMBERS)
2. The Y values are not affected. (WHOLE NUMBERS)
3. The loaded data has more straight lines, meaning the same data point is used for consecutive X or Y values
attached is a screenshot of data on the graph - Red is native from that session, Green is loaded data.
attached is the excel export of that same graph.
Does anyone notice any interesting trend in this anomaly, or have any ideas about what I can check? My code does not change values, but only manipulates them. Please let me know if you need more information, I tried including as much as I could without writing an unneccessary book.
Thanks,
Joe