11-13-2006 09:40 AM
Hi
I am using a pot object for my thumbwheel and it has a increment button and decrement button.
The range of my thumbwheel is from 0 - 9. If i press the increment button after 9 it does not do anything.
I would like to change it so that the range becomes 0 after 9.
For instance if we press the increment button after 9 it should go like 9,0,1,2,3....9,0 and
for the decrement button after 0 it should be like 0,9,8,7,....0,9.. Can this be done with LookOut Direct?
I have tried using expression like
if(pot.value>9, 0, pot.value) -------- for increment button, but its not working.
Can you me any suggestions to get over my problem please!!!
Thanks
regards
Kone
11-14-2006 03:30 AM
11-15-2006 12:35 AM
Hi Kone,
Attached process implements this. Please see the Pot connections to learn how it has been implemented. Let me know if you have any questions.
Regards,
-Khalid
11-15-2006 01:01 AM