inconsistency with radiobutton and hal_pin

  • MaHa
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 months 1 week ago - 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


 



 





 
Last edit: 10 months 1 week ago by MaHa.
The following user(s) said Thank You: JT

Please Log in or Create an account 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
The following user(s) said Thank You: MaHa

Please Log in or Create an account to join the conversation.

  • MaHa
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
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.



 
The following user(s) said Thank You: JT

Please Log in or Create an account to join the conversation.

Moderators: JT
Time to create page: 0.181 seconds
Powered by Kunena Forum