LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have one while loop in another while loop

Glad I could help you.

By the way - try to make your vi more readable. Basically it's far too big. Although I have an 18" monitor, I had to scroll around. A general rule says that a vi should be the size of a monitor or less. (Ok - you might work with a 30" monitor, but I think it's rather unlikely ;)).

Thomas

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 11 of 17
(869 Views)
So, I have my array and convert it to spreadsheet string. Great, but when I write the string to a file it appears as a column (as it should),  and concatenated strings appends at the end of the column. How do I add data as another column?
0 Kudos
Message 12 of 17
(858 Views)
Could you post an extract of your vi, that shows this? Maybe simplified so that I can also run it.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 13 of 17
(852 Views)
Thank you for offering the help...
 
I've deleted all sub VI's, The VI is very simplified but the report generation isn't affected. When you run it you need to select a path.
 
In the flat sequence structure are three red text boxes. That is how I thought it may work out (if you do as written in text boxes)...
0 Kudos
Message 14 of 17
(848 Views)
I saw you wired two arrays down to where you log the data (one wire goes into the disable structure), so I think you want to save these two arrays. Just build a 2D array with these two arrays and it should work. Maybe you have to transpose the 2D array (if the channels are in rows and you want them in columns or vice versa).
 
In the attachment you can see how it should work.

Message Edited by becktho on 07-19-2006 11:11 AM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 15 of 17
(843 Views)
Ok, I may seem stupid now...
 
How do I build a 2D array?
 
The arrays are of the same size and should just be "combined together"... Later there's gone have to be more than two columns in the report so I will need to "add" maybe 3 more arrays
 
Oh! sorry didn't notice your attatchment...

Message Edited by Johan.svensson on 07-19-2006 04:18 AM

0 Kudos
Message 16 of 17
(839 Views)
No problem - obviously I added it while you were answering :D.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 17 of 17
(832 Views)