LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

writing string into spreadsheet

i am reading the serial data(in string format) and storing it in text file one by one .but i was not able to write the data in spreadsheet one by one...i am getting the result as last iteration value has been repeated iteration times.....eg If the last iteration value is 5 and it has iterated for 4 times...the output i m getting is 5 5 5 5....but expected result is 2 3 4 5....help me out in ths

0 Kudos
Message 1 of 19
(3,467 Views)

Hi,

 

Can you please attache your VI. That will be good to understand.

0 Kudos
Message 2 of 19
(3,445 Views)

Enable the index in the loop that yu are using to get individual data in . Post a screen shot of what you are trying if possible

0 Kudos
Message 3 of 19
(3,432 Views)

My first thought was also that you need to enable Autoindexing.  But that is still a complete shot in the dark without being able to see some code.


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
0 Kudos
Message 4 of 19
(3,428 Views)

I am getting the proper result in wordpad..but i am not getting properly in ms excel.......

Download All
0 Kudos
Message 5 of 19
(3,407 Views)

i had posted both block diagram nd result

0 Kudos
Message 6 of 19
(3,406 Views)
That for loop is just senseless.
0 Kudos
Message 7 of 19
(3,395 Views)

if i didnt put for loop than i cant make a string as an array of strings... spreadsheet accept only array of strings

0 Kudos
Message 8 of 19
(3,367 Views)
User the build array function.
0 Kudos
Message 9 of 19
(3,361 Views)

I see two places that you are writing to.  Which file are you having issues with?  And why are you writing the same thing to two different places?


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
0 Kudos
Message 10 of 19
(3,332 Views)