LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PopUp-Menus

Hallo,

I attached a VI with a PopUp-Menu. It has four buttons:

a) empty cylinder measurement
b) sample measurement
c) exit measurement
d) always

My task is:

1) In the beginning every button should be set to "false"
2) a) and b) cannot be true at the same time. (f.e: if a) is true and b) is false and I push b) than a) is automatically set to false.)
3) If c) is true the program stops.
4) If d) is true than the value of a) and b) stay the same until the program stops.

Task 3) I solved by connecting to the conditioning terminal. If you attach a VI in your answer please convert it to LabVIEW 6.1.

Arno
0 Kudos
Message 1 of 2
(2,502 Views)
Hi,

Try this VI. I put it in a Cluster, to make the code cleaner. I used a xor
to get a "change" signal, that is converted to a change index with the
search 1D array. This way, you can determine the behaviour per button.

Regards,

Wiebe.




"ASCologne" wrote in message
news:506500000008000000E6EC0000-1079395200000@exchange.ni.com...
> Hallo,
>
> I attached a VI with a PopUp-Menu. It has four buttons:
>
> a) empty cylinder measurement
> b) sample measurement
> c) exit measurement
> d) always
>
> My task is:
>
> 1) In the beginning every button should be set to "false"
> 2) a) and b) cannot be true at the same time. (f.e: if a) is true and
> b) is false and I push b) than a) is automatically set to false.)
> 3) If c) is true the program stops
.
> 4) If d) is true than the value of a) and b) stay the same until the
> program stops.
>
> Task 3) I solved by connecting to the conditioning terminal. If you
> attach a VI in your answer please convert it to LabVIEW 6.1.
>
> Arno



[Attachment Boolean Cluster.vi, see below]
0 Kudos
Message 2 of 2
(2,502 Views)