08-03-2023 09:38 AM
Having a minor issue with exporting my LabVIEW results to excel. I have two thermocouples, labeled inlet and secondary temperature. These data points show up twice, and I am not sure of why. Additionally, I have it programmed so that I get data points every 10 seconds. However, every 10 seconds I get about 2-3 data points for each time stamp. Attached is my Project VI and a screenshot of my excel spreadsheet.
08-03-2023 10:31 AM
I was able to fix the first problem I had. It was an issue with the thermocouple DAQ. I only needed one of the temperatures to be wired into the build array to be sent off the spreadsheet. When I had both wired, it duplicated the temperature callouts in the spreadsheet.
I still am having the issue where it records the same data point 2-3 times.
08-03-2023 11:01 AM - edited 08-03-2023 11:03 AM
I would recommend you to follow proper state machine architecture.
In the Application Init State ....Create a file with Header,
In the Wait state .....Wait for 10s Delay
In the Read State.... Read and Log results again go to Wait state
Exit when the logging is done.