halui.mdi-command-NN pins not showing up

More
30 Aug 2025 01:23 #334143 by xunil
Hoping someone can point out the probably obvious error in my configs that is causing halui.mdi-command-NN pins not to be created.  The halui component loads and the rest of halui's normal pins show up in the HAL Configuration tree; in the [HAL] section I have the HALUI = halui line; I've made sure the [HALUI] section in the INI file exists and that there are MDI_COMMAND entries under that heading, but still no joy.  Can someone see what I've missed? 

File Attachment:

File Name: configs.zip
File Size:6 KB


Thanks.


 
Attachments:

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

More
30 Aug 2025 17:32 #334150 by Benb
Replied by Benb on topic halui.mdi-command-NN pins not showing up
An MDI command can be executed by using halui.mdi-command-00
Here is an example showing how it 's done:

linuxcnc.org/docs/html/gui/halui.html
 

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

More
30 Aug 2025 18:34 #334153 by xunil
Replied by xunil on topic halui.mdi-command-NN pins not showing up
I’m aware of how it’s _supposed_ to work, my question is what I’m doing wrong in my configs that make halui not expose mdi-command-00 etc pins despite the presence of MDI_COMMAND entries in the [HALUI] INI section, and HALUI=halui in the [HAL] section?

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

More
30 Aug 2025 19:20 #334154 by MaHa
Replied by MaHa on topic halui.mdi-command-NN pins not showing up
Just in case you are not aware that in the # Syringe section in your postgui.hal everything regarding mdi-command is commented out.

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

More
30 Aug 2025 19:30 - 30 Aug 2025 19:37 #334155 by xunil
Replied by xunil on topic halui.mdi-command-NN pins not showing up
Yeah, I commented those out to get LinuxCNC to start so I could look at the halui component in halshow, to see if maybe the pins were numbered differently than I expected or something. With those lines uncommented LinuxCNC won't start, since the mdi-command-NN pins don't exist.

Thanks for mentioning it though, I've certainly had forest-for-trees errors like that before where another pair of eyes spotted the problem immediately.  :)
Last edit: 30 Aug 2025 19:37 by xunil.

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

More
30 Aug 2025 21:49 #334158 by MaHa
Replied by MaHa on topic halui.mdi-command-NN pins not showing up
There is  </vbox> missing at the end of of the .xml file

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

More
31 Aug 2025 00:15 #334165 by xunil
Replied by xunil on topic halui.mdi-command-NN pins not showing up
Thanks for the heads up! I don't think that would affect whether the mdi-command-NN pins would show up or not; even if don't load the PyVCP panel, I still don't see the pins exposed by halui.

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

More
31 Aug 2025 12:58 #334179 by JT
There is something weird going on, I'm trying to duplicate the issue and some configurations mdi works and some do not.

JT

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

More
31 Aug 2025 13:06 #334181 by JT
Changing A to X and the mdi commands show up, changing back to an angular axis and the mdi commands don't show up.

JT

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

More
31 Aug 2025 17:10 #334194 by andypugh
Replied by andypugh on topic halui.mdi-command-NN pins not showing up

Changing A to X and the mdi commands show up, changing back to an angular axis and the mdi commands don't show up.

 

Thats more than a bit wierd. 

Any clues from starting LinuxCNC at the command line? It sounds like it is giving up before parsing the MDI_COMMAND lines. 

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

Time to create page: 0.097 seconds
Powered by Kunena Forum