how to create a link Button help me please !!

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Apr 2011 15:49 #8806 by andypugh
piasdom wrote:

i thought pyvcp.??? had to be in that position always.

What position?
The first item after "net" has to be a signal name, but one output pin and one or more input pins can be in any order after that.

i thought this aborted a running program. when would this be used?
what's like pressing the escape button on the keyboard ?


I will look when I get home, I do have a working abort button.

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

More
12 Apr 2011 16:06 #8808 by piasdom
Thanks

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Apr 2011 17:51 #8811 by andypugh
It appears that my button might not have exactly the required effect:

net stop-subs pyvcp.stop => halui.program.stop

I can't recall if that works in the middle of a long MDI movement too. (whereas ESC does)

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

More
13 Apr 2011 10:09 #8833 by piasdom
i get the same error. i tried in MDI and it does stop with no errors.
i'll keep looking for that pin. Thanks !

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

More
13 Apr 2011 16:00 - 13 Apr 2011 17:52 #8837 by piasdom
i found this

halui.estop.activate

but haven't had time to check yet. also is-activated and reset.
will try em all later
Last edit: 13 Apr 2011 17:52 by piasdom.

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

More
13 Apr 2011 17:53 #8847 by piasdom
tried all three, still that error msg.
still looking

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

More
13 Apr 2011 17:57 #8848 by piasdom
sorry, was editing wrong button.
this works in both manual and mdi and as program running

net abort-button pyvcp.abort-button => halui.estop.reset

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
13 Apr 2011 18:25 #8851 by andypugh
piasdom wrote:

his works in both manual and mdi and as program running
net abort-button pyvcp.abort-button => halui.estop.reset

Really? How interesting. I am surprised by that, actually.
If it works, it works. And I might try it myself.

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

More
13 Apr 2011 18:30 #8854 by piasdom
don't really know what's happening, but it doesn't mess up anything :)(so far)

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

Time to create page: 0.079 seconds
Powered by Kunena Forum