LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to make a button with options

I want to make a button with options :
For exemple button has as name "start"
I want when i click this button give me options for exemple run all or run 1 or run 2 .
means as a liste of choice.
After each choice I want to link it to a page from tab
For exemple when i click option after I Choose run 1 after turns me to the page of tab has as name production.
I hope Let my words be clear and i find the solution .
Thanks for all.

0 Kudos
Message 1 of 11
(2,840 Views)

OK, that sounds simple enough. Can you show us what you tried and where you got stuck?

0 Kudos
Message 2 of 11
(2,782 Views)

First of all, thank you, dear sir
It's hard for me because i am not very good in labview l search idea how I created list of option for the button and after how I related this option to page of tab?!
I search the idea or tp step per step
Not solution or vi prepared
Just help me if you can sir I am blocked

0 Kudos
Message 3 of 11
(2,773 Views)

Do you want pop-up with options "run all", "run 1" and "run 2" or buttons to appear in place of "start" button?

0 Kudos
Message 4 of 11
(2,732 Views)

Hi Midoazert,

 


@Midoazert wrote:

I want to make a button with options :
For exemple button has as name "start"
I want when i click this button give me options for exemple run all or run 1 or run 2 .
means as a liste of choice.


When you need a "list of choices" then you should learn about rings, enums, or listboxes…

 


@Midoazert wrote:

After each choice I want to link it to a page from tab
For exemple when i click option after I Choose run 1 after turns me to the page of tab has as name production.
I hope Let my words be clear


Well, those words aren't clear (for me): why do you go to "production" after choosing "Run1" from clicking on "option"?

 

You really should describe your problem by telling us "what" you want to achieve. Right now you focus on "how" you want to solve your problem!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 11
(2,727 Views)
  1. First, point thanks so much button with an option,It worked thanks to your idea of rings
  2. Now when I click on one of the options i want to turn towards another page of the tab 
  3. Look my capture ecran  
     
Download All
0 Kudos
Message 6 of 11
(2,707 Views)

Hi Ams,

 

what happened to Midoazert?

 


@Ams1920 wrote:

Now when I click on one of the options i want to turn towards another page of the tab 


Use an event structure, wait for a ValueChange event of your ring, then switch to the other tab by using a local variable of the tab control…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(2,701 Views)
I know my questions are easy but I am a beginner in labview so for that I ask if it is worth video or documents
to follow step by step
in any case thank you for your answers

 

0 Kudos
Message 8 of 11
(2,697 Views)

Hi ams,

 


@Ams1920 wrote:
I know my questions are easy but I am a beginner in labview so for that I ask if it is worth video or documents to follow step by step

As a beginner in LabVIEW you should take note of those "Training resources" offered at the top of the LabVIEW board!

Best regards,
GerdW


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

okay thanks sir  

0 Kudos
Message 10 of 11
(2,688 Views)