How to right sequence run - pause -stop
05 May 2011 21:01 #9616
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
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
John
Please Log in or Create an account to join the conversation.
05 May 2011 21:40 - 05 May 2011 22:28 #9617
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
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 ?
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.
05 May 2011 22:51 #9618
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
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
John
Please Log in or Create an account to join the conversation.
05 May 2011 23:01 #9619
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
cool.....THAT i can understand Thanks
Please Log in or Create an account to join the conversation.
05 May 2011 23:28 - 05 May 2011 23:29 #9620
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
Sweeeet! as they say down south of me a bit...
John
John
Last edit: 05 May 2011 23:29 by BigJohnT.
Please Log in or Create an account to join the conversation.
05 May 2011 23:44 #9621
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
you close enough to south to be a close relative to
a southerna
a southerna
Please Log in or Create an account to join the conversation.
06 May 2011 00:12 #9622
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
I'm about 40 miles from the north east corner Arkansas...
John
John
Please Log in or Create an account to join the conversation.
06 May 2011 23:38 #9630
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
i know, i goggled your butt. 10 hours from 70517(me)
Please Log in or Create an account to join the conversation.
07 May 2011 20:03 #9635
by piasdom
Replied by piasdom on topic Re:How to right sequence run - pause -stop
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>
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.
07 May 2011 22:13 #9644
by BigJohnT
Replied by BigJohnT on topic Re:How to right sequence run - pause -stop
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
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.805 seconds