LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difficulty wiring three different arrays to one spreadsheet file

I am having trouble outputting three different arrays from a case structure and sending them to an Excel file. I have read through several similar Excel threads and not seen anything really similar to my situation. I can't even get my arrays correctly wired to the "write to file" icon. Any suggestions would be great. I also attached my vi for reference.

 

Thanks 

0 Kudos
Message 1 of 3
(2,671 Views)

Don't use the Bundle function. Use the Build Array function and wire the 2D array to the 2D array input of the Write to Spreadsheet File.

 

You've also got a major problem with your stop button. It's outside the loop and once the loop starts, the button state is not read. That's fundamental dataflow.

0 Kudos
Message 2 of 3
(2,665 Views)
I cleaned it up a bit and fixed a few problems. It may not do everything that you want but I take no credit for the way the cose is written.
Tim
GHSP
0 Kudos
Message 3 of 3
(2,651 Views)