11-12-2018 07:30 AM
I am new to LabVIEW and I have an easy question I guess.
I made a while loop inside case structure ( true case ).
i want the same data to out from ( false case ) but with a little change
When i do this i get new results not the same data i want.
how can i communicate between the two cases
Solved! Go to Solution.
11-12-2018 07:33 AM
Skip the case structure and use a Select inside the While instead. You either add an empty string or the name.
/Y
11-12-2018 07:34 AM
Your code is inside out.
The case structure should be on the inside, the while loop on the outside.
11-12-2018 08:05 AM
Yes, I just notice that but i faced another problem
when i add Empty String it adds an empty place in the array
I just want not to add anything and keep the place not used
11-12-2018 08:30 AM
Show your latest VI. Actually attach it so we can browse through the various cases.
11-12-2018 08:37 AM
11-12-2018 08:48 AM
Hi,
if it's a user interface you can make one loop and if not you can keep just the select case.
See attached file.
11-13-2018 02:21 AM
@El-Awny wrote:
Yes, I just notice that but i faced another problem
when i add Empty String it adds an empty place in the array
I just want not to add anything and keep the place not used
Yes? That's the definition of adding an empty line. What you want is the Insert (it's probably better with Build Array) to be in a case structure. Either it builds to the Array with a name, or nothing happens.
/Y