How to right sequence run - pause -stop

More
05 May 2011 21:01 #9616 by BigJohnT
The <disable_pin>True</disable_pin> goes in the xml file within the opening <button> and closing </button> tags. To disable the button you will have to set the pin true in your hal file.

John

Please Log in or Create an account to join the conversation.

More
05 May 2011 21:40 - 05 May 2011 22:28 #9617 by piasdom
guess i don't know what i think i know. diabling the pin
doesn't mean one click it does the one thing you want it to,
then another click disables the last action.(does the opposite
of what it did before ? or disabling stops it from
working at all ? why put/make a pin you disable.

or is it used to disable it while something else is
going on and back on after that is finished ? as in
fazed out menu idems ?
Last edit: 05 May 2011 22:28 by piasdom.

Please Log in or Create an account to join the conversation.

More
05 May 2011 22:51 #9618 by BigJohnT
One use is to prevent the button from being used when it is not appropriate or safe to do so. For example if you have a button to start the do-dad but you have to have the plasma pump running before you start the do-dad you would make the disable pin be true if the plasma pump is not running.

John

Please Log in or Create an account to join the conversation.

More
05 May 2011 23:01 #9619 by piasdom
cool.....THAT i can understand :) Thanks

Please Log in or Create an account to join the conversation.

More
05 May 2011 23:28 - 05 May 2011 23:29 #9620 by BigJohnT
Sweeeet! :) as they say down south of me a bit...

John
Last edit: 05 May 2011 23:29 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
05 May 2011 23:44 #9621 by piasdom
you close enough to south to be a close relative to
a southerna :)

Please Log in or Create an account to join the conversation.

More
06 May 2011 00:12 #9622 by BigJohnT
I'm about 40 miles from the north east corner Arkansas...

John

Please Log in or Create an account to join the conversation.

More
06 May 2011 23:38 #9630 by piasdom
i know, i goggled your butt. 10 hours from 70517(me)

Please Log in or Create an account to join the conversation.

More
07 May 2011 20:03 #9635 by piasdom
how do i add this to my postgui.hal ? i link it to a pin i want to
disable while this pin is enabled. i tried disable=True
and disable.True and other thinks. no like :)

<disable_pin>True</disable_pin>

Please Log in or Create an account to join the conversation.

More
07 May 2011 22:13 #9644 by BigJohnT
When you add <disable_pin>True</disable_pin> to a pyvcp button all that does is create a disable pin for that button. So you need to open up Show Hal Configuration window and find out what the name of the pin is, then you can put that in your hal file and connect it to what ever you want to disable the button, but make sure it is a bit pin not something else.

John

Please Log in or Create an account to join the conversation.

Time to create page: 0.169 seconds
Powered by Kunena Forum