LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write to spreadsheet with a text string as an input into a column in the excel


Hi
I'm looking for some help,
I want to great a spreadsheet file with some number inputs and an input from a string combo box also, each input should be in a column in the spreadsheet file. Is it possible to  have text as an input into a colunm in a spreadsheet file? Please see attached files.
Thanks for any help,
Brian

Download All
0 Kudos
Message 1 of 2
(2,427 Views)
You can show the polymorphic VI selector of "write to spreadsheet file" and select an array of strings. Now format the elements as desired.
 
A few comments:
 
You are spinning the big loop at a near infinite rate, calculating and displaying the same stuff over and over again. All the graphs need to be calculated only once, so these thing needs to be outside the loop. The only thing that could change are the few controls on the lower right corner, so these could go in a loop. But please place a 100ms wait in the loop or use an event structure.
 
Can you explain wht the code is supposed to do? Why do you need two different instances of "average array...vi", all you need is one. The code it in makes no sense whatsoever. 🙂
0 Kudos
Message 2 of 2
(2,424 Views)