Toggle button behavior
07 Feb 2012 16:18 #17490
by tome
Toggle button behavior was created by tome
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
Tom
Please Log in or Create an account to join the conversation.
07 Feb 2012 23:08 #17497
by mhaberler
Replied by mhaberler on topic Re:Toggle button behavior
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
then post all files here and the commandline, plus any error messages
-- MIchael
Please Log in or Create an account to join the conversation.
08 Feb 2012 03:11 #17500
by tome
Replied by tome on topic Re:Toggle button behavior
mhaberler wrote:
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
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
Please Log in or Create an account to join the conversation.
08 Feb 2012 14:01 #17503
by tome
Replied by tome on topic Re:Toggle button behavior
Nevermind, I am an idiot. I was using a hal toggle button where I should have just been using a regular button. Sorry.
Tom
Tom
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.147 seconds