Menu

#427 Halui Output Pins slow to operate after and including 2.6.6 release

2.6
open
nobody
1
2015-07-28
2015-07-21
Rick Lair
No

My machine was using 2.6.4 up until week of 7/13/15, updated machine to 2.6.8, immediately noticed that halui.program.pause and halui.program.resume had a delay in there intended functions. Before the machine would pause immediately when I pressed the feedhold push-button, and would restart immediately when I pressed the resume push-button, now there is almost a 1 second delay before the machine stops, and starts back up when the respective buttons are pushed. I went back to 2.6.4, works as intended, so I moved release by release and found that the problem occurred in the 2.6.6 release. These were the only 2 halui pins that I used, so I am not sure what the other halui pins are doing.

Discussion

  • Chris Radek

    Chris Radek - 2015-07-21

    Rick reports in irc that 2.6.5 also works as intended.

    I tested sim+axis+halui in 2.6.8 and I get immediate responses to halui.program.pause and halui.program.resume

    I asked Rick to bisect v2.6.5..v2.6.6

     
  • Rick Lair

    Rick Lair - 2015-07-28

    After using the "git bisect" utility, I found that the problem lies somewhere in the commit Norbert made, #81305e1786d0acdfcb6cae912bba2c5a77faeba7. Here is the printout from my test in the terminal.

    cinci15cc@cinci15cc:~/linuxcnc-dev$ git bisect good
    81305e1786d0acdfcb6cae912bba2c5a77faeba7 is the first bad commit
    commit 81305e1786d0acdfcb6cae912bba2c5a77faeba7
    Author: Norbert Schechner nieson@web.de
    Date: Sat Jan 17 19:50:22 2015 +0100

    gmoccapy_1_5_1_2 - bug in hal pin updating, new spindle handling
    
    ver. 1.5.1.2
    - The handler from glade_status <on_change_line> got lost somehow, so
      some hal pin has not been updated correctly
    - in the glade file the spindle at speed led changed its color to red,
      I don't know how, I think glade is comming to its limit ;-)
    - changed spindle label handling, now the labels display actual values,
      not the read values.
    - The spindle buttons will now be sensitive in auto mode, but only the
      one witch is active, so spindle direction is displayed clearly
    
    Signed-off-by: Norbert Schechner <nieson@web.de>
    

    :040000 040000 33260268dcc66778bfbd611b7c922c349da6c7e1 435f20c2f7a1dc15ed42342048b76ec68ff2ef1c M src
    cinci15cc@cinci15cc:~/linuxcnc-dev$

    Again this was implemented into the 2.6.6 release.