LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

First click and Second click on START

Solved!
Go to solution

Hello guys :),
I am coming back for you.

I have simplified my worries in this vi below. I have a control START/STOP
What I want to do:
First click on START Camera 1 is visible
Second click on START Camera 2 is visible.
How do I do this? Without using Labview's "first run".
Thanks in advance.
Sincerely
0 Kudos
Message 1 of 7
(1,004 Views)

After the second click, should both cameras be visible?

What should happen on the third click?

What about camera 3?

0 Kudos
Message 2 of 7
(997 Views)

Hi @altenbach,
Good questions.
Après second click toutes les deux caméras visibles oui.
For camera 3 I'm back to doing what I want. Forget it.

In fact I want all even numbers of clicks to do the same thing and all odd numbers of clicks to do the same thing.


Because in my application, this action is repeated for each scenario.

0 Kudos
Message 3 of 7
(989 Views)

@Ngouda wrote:

In fact I want all even numbers of clicks to do the same thing and all odd numbers of clicks to do the same thing.


If you only have two states (odd, even), should camera 2 be visible when the program starts? Else you have three states. 

 

  1. 1&2 invisible
  2. 1 visible
  3. 1&2 visible
0 Kudos
Message 4 of 7
(976 Views)

Hi @altenbach ,
Thanks you for your reply.
No,  camera 2 is not visible when the program starts.
Sincerly

0 Kudos
Message 5 of 7
(968 Views)
Solution
Accepted by topic author Ngouda

See if this can give you some ideas

 

Run: only #3 visible

press once: 1&3 visible

press again: 1,2&3 visible

press again: 1&3 visible

press again: 1,2&3 visible

etc.

Message 6 of 7
(964 Views)

Hi @altenbach,
Thanks you very much for your help.
I am going to take this exemple and adapt it for my application.

0 Kudos
Message 7 of 7
(956 Views)