inconsistency with radiobutton and hal_pin

More
10 months 1 week ago #340357 by MaHa
Today i recognized a problem with radiobutton, hal_io . The button is set to checked in designer, but the hal_pin is not set to true at startup. A single radiobutton is even unchecked at startup.  To click an already checked radiobutton doesn't help. I need to check one of the unchecked radiobutton (to activate) set the hal_pin to true.

I think the language barrier made the text above a bit confusing, so adding some screenshot


 

Attachment not found





 

Attachment not found







 

Please Log in to join the conversation.

More
10 months 1 week ago #340367 by JT
This has been fixed.

Please consult the HAL documentation as hal_type and hal_dir that have no choice are no longer used. The hal_type if there is a choice like HAL_S32 OR HAL_U32 must be specified.

gnipsel.com/linuxcnc/flexgui/hal.html

JT

Please Log in to join the conversation.

More
10 months 1 week ago #340375 by MaHa
Very nice. I listed all pins

halcmd show pin flex > flexpins.txt

all is correct now at startup, and i was able to case sensitive check Type and Dir.
Now i don't need to toggle all the radiobutton before running a subroutine.



 

Please Log in to join the conversation.

Time to create page: 0.074 seconds
Powered by Kunena Forum