|
As far as I can see, the test is a very crude one and should be
easily amended. It takes the output from `halcmd show pin <pin-name>` and selects line 2 of that output This will only exist, if the pin exists. As a further check it ensures that this line conforms to the format for a pin print out and is not something else, like an error message I don't have one of these pendants so cannot test it. I would have thought that at xhc-hb04.tcl: 97 substituting the existing line so # if [catch {scan $line "%d %s %s %s%s" owner type dir value pinname} msg] { if [catch {scan $line "%d %d %s %s %s %s %d %d" Comp Inst Type Dir Value Name Epsilon Flags} msg] { would scan to a format recognised and return 1 (OK) If you are willing to test, we may be able to fix it simply regards On 17/08/16 21:22, Håkan Båstedt wrote:
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. |
- [Machinekit] XHC-HB04 status? Håkan Båstedt
- Re: [Machinekit] XHC-HB04 status? Michael Haberler
- Re: [Machinekit] XHC-HB04 status? John Kasunich
- Re: [Machinekit] XHC-HB04 status? [email protected]
