LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pciture control: programatically disable certain values

Our software has user levels where control references inside a cluster are in certain levels. Noobs cant use certain features.

Now I have have picture controls at several locations and I'd like to programatically disable certain values. Can I do this?

Let's say I want the user to be unable to select the third value of a 5 value picture control.

 

Thanks!!

 

0 Kudos
Message 1 of 4
(2,770 Views)

@_Faust wrote:

Our software has user levels where control references inside a cluster are in certain levels. Noobs cant use certain features.

Now I have have picture controls at several locations and I'd like to programatically disable certain values. Can I do this?

Let's say I want the user to be unable to select the third value of a 5 value picture control.

 

Thanks!!

 


So, if Newvalue = 3 and Oldvalue = 2, then value = 4

if NewValue = 3 and OldValue = 4, then value = 2

 

21367i9105BBD769F3CFD7

 

Message 2 of 4
(2,765 Views)

Yeah that does it... but I was looking for more elegant solution. lets say I have a reference of this control then I'd like to use its reference to control what values are available from another spot -when logging in to the program-

 

If this is not possible Ill use your solution, but then I need to have different code for other user levels

0 Kudos
Message 3 of 4
(2,757 Views)

21389i231307937F683753

 

Better?

0 Kudos
Message 4 of 4
(2,752 Views)