LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update run time menu

As you could see in the block diagram, once the user has selected the channel they want to work on in the main GUI, click Proceed to Adjust Values for the second GUI to pop up. Also, in the second GUI, the run-time-menu should also only show the number of values selected (string from the first GUI). Question 1: how to make the second menu pop up after clicking Proceed to Adjust Values.  Question 2: the menu is not updating itself in the current block diagram. Thank you!

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

I highly suggest taking some of these free tutorials

 

3 Hour Introduction http://www.ni.com/white-paper/5243/en/

6 Hour Introduction http://www.ni.com/white-paper/5241/en/

LabVEW Basics http://www.ni.com/gettingstarted/labviewbasics/

Self Paced training for students http://www.ni.com/academic/students/learn/

Self Paced training beginner to advanced, SSP Required http://sine.ni.com/myni/self-paced-training/app/main.xhtml

LabVIEW Wiki on Training http://labviewwiki.org/LabVIEW_tutorial#External_Links

 

The run time menu does get updated, but only after your while loops finish executing because of the data flow of LabVIEW.  Now how does that while loop finish?  Well you wired a constant so there is no way to stop your VI other then pressing the stop button which and end user should never see.  Microsoft Word doesn't have a run or stop, and neither should your program.

 

I'd also suggest working with arrays instead of several seperate boolean controls.  They don't scale well.

 

There are several run time menu example VIs that use the event structure in the Example Finder you should start there.

0 Kudos
Message 2 of 3
(2,307 Views)

Thank you I will start from there.

0 Kudos
Message 3 of 3
(2,277 Views)