NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC GladeVCP Toggle button behavior

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Toggle button behavior

Toggle button behavior 07 Feb 2012 08:18 #17490

  • tome
  • tome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
I have a hal_togglebutton defined and an led associated with it. When Axis first starts I push the toggle button and it changes from Off (red) to On (green). But when I click on it again the toggle button graphic changes like it was clicked but the led does not change back to Off. The button state changes, as I can see it in Show Hal Configuration, but to get it to then turn the led to Off (red) again I have to click it twice. I played with the various settings in Glade for the togglebutton but can't find one that effects the behavior. Any ideas?
Tom
The administrator has disabled public write access.

Re:Toggle button behavior 07 Feb 2012 15:08 #17497

  • mhaberler
  • mhaberler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 196
  • Thank you received: 8
  • Karma: 54
please reproduce the error such that it shows when you run just gladevcp

then post all files here and the commandline, plus any error messages


-- MIchael
The administrator has disabled public write access.

Re:Toggle button behavior 07 Feb 2012 19:11 #17500

  • tome
  • tome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
mhaberler wrote:
please reproduce the error such that it shows when you run just gladevcp

then post all files here and the commandline, plus any error messages


-- MIchael

Michael,
I am not sure if it an error specifically. I don't think I am getting any error messages but will double check. I will post my config files tomorrow related to the button.
Thanks,
Tom
The administrator has disabled public write access.

Re:Toggle button behavior 08 Feb 2012 06:01 #17503

  • tome
  • tome's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Nevermind, I am an idiot. I was using a hal toggle button where I should have just been using a regular button. Sorry.
Tom
The administrator has disabled public write access.
  • Page:
  • 1
Moderators: mhaberler
Time to create page: 0.995 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.