05-17-2010 07:20 AM
Can this be done?
I have a numerical control and a for loop. I would like to modify the propertis of the num control so that it increments as much as the counter terminal , i.e the num control is a multiple of the counter. The user might run the for loop x times ones and another time y times. Can num control be modified that it is a multiple of any value?
Thanks.
Solved! Go to Solution.
05-17-2010 07:56 AM
05-17-2010 08:00 AM
05-17-2010 12:25 PM
I have attached a pic, hopefully it would be more clear.
Now ... at the properties section, I am given the ability to change by how much does the number increment. I want that property to be able to change every time the user selects a new loop counter. I want the loop counter value to be in there.
example. If the loop is 2 and the numb 1 is 6, the next value incremented would be 8. If the loop counter is 5, the value would be 11. I want to limit the users input to only the numbers that would make sense in this particular program.
05-17-2010 01:57 PM
Yes you can change these properties at runtime (realtime is something different).
Right click on the terminal of the control, select Create->Property->Data Entry Limits -> Increment.
Good luck.
ton
05-17-2010 09:29 PM