LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving data to a text file

Solved!
Go to solution

acthor.png

 

I am trying to save data to a text file but the last array of data (i.e., from Keysight1) is being written to new line. I want to save all the data in a single row. 

 

This is how the data looks.This is how the data looks.

 

This is how the data looks.  

 

What am I doing wrong here? 

 

Best Regards,

Girish

0 Kudos
Message 1 of 3
(891 Views)
Solution
Accepted by topic author girish_jadhav

"Array to spreadsheet string" appends a carriage return and newline character at the end of the string it generates.

Insert a "Trim white space" after your first "array to spreadsheet string" and you are set:

JensG69_0-1632324795974.png

Regards, Jens

Kudos are welcome...
Message 2 of 3
(886 Views)

The Array To Spreadsheet String adds an End Of Line character at the end of the string.  You can use Trim Whitespace to clear that out.  You only need that after the first Array To Spreadsheet String.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3
(883 Views)