LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate Data Copied to Excel

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.

Download All
0 Kudos
Message 1 of 3
(636 Views)

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.

0 Kudos
Message 2 of 3
(607 Views)

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.

 

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 3
(591 Views)