LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deaktivating a single register element by software

For different users of the application, i have to dissable some registers.
I can do this in developening mode, but not in run mode.
Have anyone a solution?
Thanks
Hardy
0 Kudos
Message 1 of 7
(3,111 Views)
What do you mean by a "register"?

If you want to prevent operation of certain controls, create a property node, select property [disabled] and wire a value to it. Programmatically change the input as needed, choices are:
0: enabled
1: disabled
2: disabled and grayed out.

1&2 will prevent changing the control.
0 Kudos
Message 2 of 7
(3,111 Views)
Thanks for the fast help.
But, i know this for controls. But i want to do this for a single page of a register. I'm only able to dissable the complete register.
Thanks again
Hardy
Hardy
0 Kudos
Message 3 of 7
(3,111 Views)
Sorry but I don't understand what register you mean. It may be a shift register in a loop or in C is a memory address of a variable. But since you mentioned about to disable page on run-time, I guess you mean a tab. If it is, here I wrote a sample demo to disable a single page on run-time. Good luck!
Message 4 of 7
(3,111 Views)
That's exactly what i meaned.

Many thanks for the help.
I have first tryed this form of help and I'm very impressed how fast it work.
Thanks again
Hardy
Hardy
0 Kudos
Message 5 of 7
(3,111 Views)
Sorry for sounding a bit dense, but I still don't know what you mean by a page of a "register" and the LabVIEW help index does not contain that term either.

Do you mean a single element in a cluster? A single page of a tab control? Something else?

Could you provide an example?
0 Kudos
Message 6 of 7
(3,111 Views)
Hello

I mean the tab control.
See the answer with an example from user Joel Mulig.
It is exactly what i meaned.

Greetings
Hardy
0 Kudos
Message 7 of 7
(3,111 Views)