Using a HAL pin in DH parameters

More
08 Sep 2024 14:06 #309657 by Abdulkareem
I want to set A0 parameter as an input from the user interface, so i added this hal pin, but linuxcnc gives this error message
Attachments:

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

More
08 Sep 2024 14:19 #309658 by Aciera
Not sure if 'genserkins.A-0' is a pin or a parameter but try using 'net' instead of 'setp'

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

More
08 Sep 2024 14:25 #309660 by Abdulkareem
tried it but it gives this error  
Attachments:

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

More
08 Sep 2024 14:28 #309662 by Aciera
The pyvcp panel only exists after the gui has loaded, so you will need to put that line in the POSTGUI_HALFILE
The following user(s) said Thank You: Abdulkareem

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

More
09 Sep 2024 07:07 #309713 by Abdulkareem
tried that, but still getting the same error

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

More
09 Sep 2024 07:41 #309716 by meister
how do you create the 'x-rot-point' widget ?
can you see the pin in halshow ?
have this widget an ...-f output ?
The following user(s) said Thank You: Abdulkareem

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

More
09 Sep 2024 08:53 #309719 by Abdulkareem
   
i have added it to the postgui hal file, i just have to give it a name, thank you it works fine 
Attachments:

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

Time to create page: 0.167 seconds
Powered by Kunena Forum