Homing and Unhoming Actions
- phillc54
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 5719
- Thank you received: 2093
15 Oct 2020 07:34 #186157
by phillc54
Replied by phillc54 on topic Homing and Unhoming Actions
Nearly...
It now attempts to load the panel, the panel appears on screen but I get this:
This is the load line I used:
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.
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.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
-
Less
More
- Posts: 7845
- Thank you received: 2109
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
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.051 seconds