11-08-2010 11:05 AM
I have a large program. This program needs a "while loop" around everything. I can't make the while loop extend beyond the visable screen. Can I create a While loop to extend the visable block screen??
Thanks
Philip
Solved! Go to Solution.
11-08-2010 11:21 AM
Philip,
You will probably get several responses like this: The Style Guides and good practice for LV codings suggest that the size of a block diagram should not exceed the size of one screen.
One way you achieve that without rewriting your entire program would be to select all of the diagram and create a subVI from it. Then put that subVI into the while loop.
Lynn
11-08-2010 11:24 AM
. Thanks for the email.
Philip
11-08-2010 11:25 AM
It's true that having such a large diagram is bad coding practice but why can't you enclose you code in a while loop? If you just hover the mouse over the edge of the screen it will scoll.
11-08-2010 11:29 AM
My program kept growing over time. This is a R&D software program. At times it seemed if it would never end. I have more duties that writing software. I have taken up coding after hours. I will retry you suggestions. The last time I tried it just stopped. I have created a poor block diagram. But it is now delivery time.
Thanks
Philip