LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file I/O write to spreadsheet file vi

I enabled the indexing, and it seems working....... please see the new program attached.
0 Kudos
Message 11 of 16
(1,397 Views)

I don't see where you enabled any indexing, but I do see you added a shift register and you concatenate the data together.  Now your file writes only one time, and all data should be there.  One more suggestion, clean up your wiring.  Its hard to follow when you have hidden wires and when the wires don't meet up with the terminals on the loop borders and case borders.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 12 of 16
(1,378 Views)

Hi tbob,

 

    Thanks so much, I guess I solved the problem based on your first idea... The program generates the file name from 0-9 when I run it. please see the attachment.

 

   Lei

0 Kudos
Message 13 of 16
(1,376 Views)
0 Kudos
Message 14 of 16
(1,375 Views)

Either you attached the wrong file or I'm going crazy.  I don't see where the filename is being changed.  The Write To Spreadsheet function is called only one time, after the loops have all finished.  It produces one file only.

You still have not cleaned up any wiring.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 15 of 16
(1,359 Views)

Hi Tbob,

 

     Sorry I didn't change the file name, but the problem is solved. Thanks so much,

 

     Regards,

 

     Lei

 

0 Kudos
Message 16 of 16
(1,345 Views)