LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Proper use of control panel??

I am trying to prompt user to enter the no. of inputs for the next function..

eg. Input no of values: 9

at the next screen or popup, i would like to have 9 empty controls for the 9 values only..

how can i do that??

and also, if i want to move from a main menu to a sub menu and sub back to main... what functions should i use??

so i use refmenu? or any other functions?

pls help... i am a student with no experience with labview.. and my sup tasked me to do that...

thank you!
0 Kudos
Message 1 of 2
(2,374 Views)
Hello opto,

for the 1st question: you can use property nodes to display a certain number of elements of arrays. Wire the user input "no of values" to a property node "NumRows" of that array and you get this number of elements. (You can also adapt the window size to the array size by setting the apropriate property nodes of the vi [FP.Panelsize]). You should initialize this array with the desired number of values.

I don't understand your 2nd question. What do mean by moving from one menu to the next? Should Labview open a menu and "move" through it? Normally the user selects a menu item and you get his selection with "Get Menu Selection".

Best regards,
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,356 Views)