LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logging data with time stamp in file adds a null line

Solved!
Go to solution

I can't figure out why I am getting a 'null' row in between every row of data when I use the timestamp in my data log. If I remove the time stamp the 'null' line goes away and attaches. I have attached the image of my VI as well as the spreadsheet output that shows the null line between each row. I also attached a copy of my VI

RecordData_VI.png

Data_Output.png

 

0 Kudos
Message 1 of 4
(389 Views)
Solution
Accepted by dmeissner

Add a "Trim Whitespace.vi" after the "Array to Spreadsheet String.vi"

 

Ben64

Message 2 of 4
(378 Views)

It is not the timestamp, it is the Array to Spreadsheet String. That node appends a newline at the end of the string.Write Delimited Spreadsheet uses the same function, so you end up with two newlines after another.

Use Number to Fractional String instead.

Message 3 of 4
(372 Views)

Thank you!

0 Kudos
Message 4 of 4
(357 Views)