halui.mdi-command-NN pins not showing up

More
1 year 2 months ago #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? 

Attachment not found



Thanks.


 

Please Log in to join the conversation.

More
1 year 2 months ago #334150 by Benb
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 to join the conversation.

More
1 year 2 months ago #334153 by xunil
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 to join the conversation.

More
1 year 2 months ago #334154 by MaHa
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 to join the conversation.

More
1 year 2 months ago #334155 by xunil
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.  :)

Please Log in to join the conversation.

More
1 year 2 months ago #334158 by MaHa
There is  </vbox> missing at the end of of the .xml file

Please Log in to join the conversation.

More
1 year 2 months ago #334165 by xunil
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 to join the conversation.

More
1 year 1 month ago #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 to join the conversation.

More
1 year 1 month ago #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 to join the conversation.

More
1 year 1 month ago #334194 by andypugh

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 to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum