Homing and Unhoming Actions

More
15 Oct 2020 07:34 #186157 by phillc54
Nearly...

It now attempts to load the panel, the panel appears on screen but I get this:
Waiting for component 'qtplasmac_sim' to become ready....................................................................................................................................

This is the load line I used:
loadusr -Wn qtplasmac_sim qtvcp -u sim/qtplasmac_sim_handler.py sim/qtplasmac_sim.ui

If I remove the "W" then it loads fully but I notice that the component name is sim/qtplasmac.sim rather than qtplasmac_sim.
I have attached the two panel files plus the hal file.
Attachments:

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

More
15 Oct 2020 21:00 #186234 by cmorley
Replied by cmorley on topic Homing and Unhoming Actions
ok i pushed a fix for that but:

don't use -u , qtvcp expects the handler file is either in an installed folder or the same place as the ui file. I'll look at the -u code in future, if required (or remove it)

loadusr -Wn qtplasmac_sim qtvcp sim/qtplasmac_sim.ui

Should work fine.
If you want a different HAL component base name then use -c:

loadusr -Wn sim_test qtvcp -c sim_test sim/qtplasmac_sim.ui

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

Moderators: cmorley
Time to create page: 0.107 seconds
Powered by Kunena Forum