LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I block a control?

I have a control and I wish sometimes blocks it.

Block for me is: You can't insert data.

How can i do it?
Thanks.
0 Kudos
Message 1 of 4
(2,721 Views)
Hello Carlos

Create a property node for that control
Selec disable and wire a constant "2". That will dim the control and no value can be written.
Wire a "0" to enable it back.
Se attached doc

Hope it helps
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 4
(2,721 Views)
put your vi or control in a true "case structure", case true you record,
case false nothing so no record

I Hope this answers to your question

Gérard



--
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini
http://www.pbase.com/ferini
remove -move to reply
ferini@move-bluewin.ch
"Carlos Romero" wrote in message
news:506500000008000000C0FC0000-1079395200000@exchange.ni.com...
I have a control and I wish sometimes blocks it.

Block for me is: You can't insert data.

How can i do it?
Thanks.
0 Kudos
Message 3 of 4
(2,721 Views)
put your vi or control in a true "case structure", case true you record,
case false nothing so no record

I Hope this answers to your question

Gérard



--
Gérard Férini
Switzerland
http://home.tiscalinet.ch/gferini
http://www.pbase.com/ferini
remove -move to reply
ferini@move-bluewin.ch
"Carlos Romero" wrote in message
news:506500000008000000C0FC0000-1079395200000@exchange.ni.com...
I have a control and I wish sometimes blocks it.

Block for me is: You can't insert data.

How can i do it?
Thanks.
0 Kudos
Message 4 of 4
(2,721 Views)