The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Mechanical Action of Booleans

SercoSteveB
Active Participant

Match each Boolean Mechnical Action (a to f) with the correct description of operation (1 to 6).

a) Switch when pressed

b) Switch when released

c) Switch until released

d) Latch when pressed

e) Latch when released

f) Latch until released

1) Changes the control value only after you release the mouse button within the graphical boundary of the control. When the VI reads it once, the control reverts to its default value.

2) Changes the control value when you click it and retains the new value until the VI reads it once. At this point, the control reverts to its default value even if you keep pressing the mouse button.

3) Changes the control value only after you release the mouse button during a mouse click within the graphical boundary of the control. This behavior is not affected by how often the VI reads the control.

4) Changes the control value each time you click it with the Operating tool, similar to a light switch. This behavior is not affected by how often the VI reads the control.

5) Changes the control value when you click it and retains the value until the VI reads it once or you release the mouse button, depending on which one occurs last.

6) Changes the control value when you click it and retains the new value until you release the mouse button. At this time, the control reverts to its default value, similar to the operation of a door buzzer. This behavior is not affected by how often the VI reads the control.

Comments
sathishp91
Member

A-4

B-3

C-6

D-5

E-1

F-2

mini09
Active Participant

A-4

B-3

C-6

D-5

E-1

F-2

Check here if you have got any second thoughts of your answer,

crossrulz
Knight of NI

1 E

2 D

3 B

4 A

5 F

6 C


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
sriveni
Member

Another good question. I was confused between the c) Switch until released & f) Latch until released.

gnshmrthy thanks for the link.

Thoric
Trusted Enthusiast

If anyone needs a reminder of these functions when they're developing, just stop and take a good look at the icons for each operational type. They're actually very revealing and all I ever need to understand the different behaviours.

switch_latch.png

M = mouse button

V = value

RD = read (in LabVIEW)

Thoric (CLA, CLED, CTD and LabVIEW Champion)


LordNobady
Member

A 4

B 3

C 6

D 2

E 1

F 5


Learning LabVIEW since January 2013
MrStevenUND
Member

1 E

2 D

3 B

4 A

5 F

6 C

dellmore
Member

A-4 Switch when pressed: Stays on once ressed. Turns off once pressed.

B-3 Switch when released: Stays on onced pressed/released. Turns off onced pressed/released.

C-6 Switch until released: Stays on when pressed then returns to default when released.

D-5 Latch when pressed: Turns on when pressd briefly and returns to default. behaves as a pulse.

E-1 Latch when released: Turns on briefly upon release and returns to default. behaves as a pulse.

F-2 Latch until released: stays on until released.

ashwinilele
Member

1 E

2 D

3 B

4 A

5 C

6 F

SercoSteveB
Active Participant

Answer: 1(E), 2(D), 3(B), 4(A), 5(F), 6(C).  Nice one crossrulz, LordNobady & MrStevenUND

Some disagreement in this one (and a couple of what appear to be typos)?

M.P.Bharghavi
Member

Ans:

A(4),B(3),C(6),D(2),E(1),F(5)