How to right sequence run - pause -stop

More
27 Apr 2011 17:08 #9413 by piasdom
i can't see/find where/how to make the image_bit pin in hal.

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

More
27 Apr 2011 17:34 #9415 by BigJohnT
The pin is made in the xml file. If you copied and pasted that from the pdf you will have change the single back quote ` to double qoutes " or it will crash EMC.

Back to work with me...

John

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

More
27 Apr 2011 17:50 #9416 by piasdom
i know it's made in the xml, but doesn't it need to be
connected to a signal in the hal file ? i think i'm not
being clear again. sorry.

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

More
27 Apr 2011 18:19 #9417 by BigJohnT
No problem, yes it does need to be connected to signal in your post gui hal file.

John

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

More
27 Apr 2011 18:22 #9418 by piasdom
but that's what i've been trying to say.:)

i'm having trouble seeing where to link 'selectimage' to halui.machine.is-on in the hal file for the sig.
do i use 'selectimage' or the whole thing <image_bit halpin='selectimage' images='on off'/> ?
what to use as the <halpin> ???? </halpin> ?
<halpin> 'selectimage' </halpin> ?????
i meant i have no idea what the pin is.

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

More
27 Apr 2011 18:28 #9419 by BigJohnT
I always just open up the Show Hal Configuration window and look at the pins to make sure the spelling is correct and the pin didn't get something weird added to it.

John

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

More
27 Apr 2011 18:41 #9421 by piasdom
i did...can't find anything like "image" ... "selectimage" ...image_bit.
looked online also. will keep looking. Thanks !

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

More
27 Apr 2011 19:26 #9423 by BigJohnT
Did you look in the pins tab under pyvcp?

John

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

More
27 Apr 2011 20:38 #9427 by piasdom
andypugh wrote:

If you want a longer debounce:

setp toggle.1.debounce 10

But 2mS (the default) is probably about right.


debounce is the time it take to respond to the mouse click ?

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

More
27 Apr 2011 20:41 #9428 by piasdom
BigJohnT wrote:

The pin is made in the xml file. If you copied and pasted that from the pdf you will have change the single back quote ` to double qoutes " or it will crash EMC.

Back to work with me...

John


it worked ok. but it didn't seem right. so i changed the double quotes.
thanks

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

Time to create page: 0.906 seconds
Powered by Kunena Forum