LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN I RESTRICT THE INDEX VALUES TO INCREASE ON FRONT PANEL?

Can I restrict the index values of a 2-d array to increase only upto certain limit, on front panel?

after the limit though user tries to increase the index values, he should not be able to do that.

0 Kudos
Message 1 of 5
(2,902 Views)

Right click the control and select properties/data range and untick Use Default Range.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 5
(2,892 Views)

I think your solution do not work Yamaeda. I tested it. But you can control the index with a control and a property node. If you apply the solution from Yamaeda on this control your problem should be solved



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 5
(2,886 Views)

This'll work.  I'm looking at the Pane and VI events because this was the only way I could come up with to catch the event where a user clicks into the index, changes it with the keyboard and clicks out.  Otherwise, it works with the control's events.  This may be unacceptable overhead for your application. 

 

Message Edited by jcarmody on 01-14-2009 11:59 AM
Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 4 of 5
(2,865 Views)

thanks a lot to all of you

 

i found the solution with controls and put them exactly at the place of index of an array and hiding the original indexes.

0 Kudos
Message 5 of 5
(2,854 Views)