jog/shuttle - unlock button

Moderator: Moderator Group

jog/shuttle - unlock button

Postby felixgraefe » Sat Nov 23, 2013 12:29 am

hi all,

I'm doing my first steps with the jog/shuttle from coolux.

So here my question:
I have some functions in the WD which are very sensitive to use, so I would like to have a button to activate the functionality of other buttons - kind of unlocking.
Toogle Button1 - Click Button 2 - Stop Sequence
If I wouldn't had pressed Button 1, Button 2 would not have stoped the sequence or more precise would not have any functionality.

Is something like that possible with the WD in combination with the jog/shuttle?

Additional question:
I just can't get the LEDs to work on the jog/shuttle - is there any secret ;) ?

Thank you very much for your help!
Felix
felixgraefe
 
Posts: 3
Joined: Sun Jul 21, 2013 7:24 pm

Re: jog/shuttle - unlock button

Postby Dennis Kuypers » Sun Nov 24, 2013 3:09 pm

Hi Felix,

the first thing that comes to my mind is hiding the Buttons that should not be accessed. This is only useful if you are using only one page. The second idea is to have a Integer variable "isLocked" which is set to 1 or 0. Now all you need is to wrap your button codes in a IF block like so
Code: Select all
If isLocked = 0 then
{
WDSomeCommand
}


Best regards
Dennis
Dennis Kuypers
Product Developer, Software

Online Manual
User avatar
Dennis Kuypers
coolux Germany
 
Posts: 771
Joined: Thu Jul 05, 2012 12:18 pm


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 6 guests