Qtvcp GUI and hal pins
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7314
- Thank you received: 2145
03 May 2026 21:10 #346142
by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
Can't see an oword problem, but have added some oword path checks to help to see if it's just a path problem. qtdragon will complain if the oword path is not found.
The following user(s) said Thank You: COFHAL
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 453
- Thank you received: 60
04 May 2026 02:08 #346146
by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
This is one of the macros that isn't working for me. I've tried running them with Axis and it won't run either. They work with others, but I don't understand the exact reason.
Attachments:
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7314
- Thank you received: 2145
04 May 2026 05:01 #346148
by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
You can't use uppercase letters in oword names
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 453
- Thank you received: 60
04 May 2026 20:50 #346163
by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
The error when one calls a macro like o<x_touch> call keeps appearing
[QTvcp.COMMON.HAL_GLIB][DEBUG] REQUESTED:{'FUNCTION': 'request_macro_call', 'ARGS': 'ini-mdi-cmd-5'} (hal_glib.py:408)
[QTvcp.QTVCP.WIDGETS.ACTION_BUTTON][DEBUG] INI MDI COMMAND #: 5 (action_button.py:717)
[QTvcp.QTVCP.QT_ACTION][DEBUG] COMMAND= x_touch call (qt_action.py:234)
[QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call (qt_action.py:249)
emc/task/emctask.cc 70: interp_error: File not open.
I've already verified that the path is correct, and macros of type o<XXXX> call run fine with Axis.
Could it be that, as the error [QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call] indicates, it's trying to execute the x_touch call command and not o<x_touch> call?
[QTvcp.COMMON.HAL_GLIB][DEBUG] REQUESTED:{'FUNCTION': 'request_macro_call', 'ARGS': 'ini-mdi-cmd-5'} (hal_glib.py:408)
[QTvcp.QTVCP.WIDGETS.ACTION_BUTTON][DEBUG] INI MDI COMMAND #: 5 (action_button.py:717)
[QTvcp.QTVCP.QT_ACTION][DEBUG] COMMAND= x_touch call (qt_action.py:234)
[QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call (qt_action.py:249)
emc/task/emctask.cc 70: interp_error: File not open.
I've already verified that the path is correct, and macros of type o<XXXX> call run fine with Axis.
Could it be that, as the error [QTvcp.QTVCP.QT_ACTION][DEBUG] CALL_INI_MDI command:x_touch call] indicates, it's trying to execute the x_touch call command and not o<x_touch> call?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7314
- Thank you received: 2145
05 May 2026 15:36 #346176
by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
No that is an error of the logger color formatter. I have pushed a fix for that now.
The following user(s) said Thank You: COFHAL
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 453
- Thank you received: 60
05 May 2026 19:53 #346182
by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
That type of instruction executes correctly; the problem only occurs when executing one of type o<XXXX>. I tried executing it from the MDI in the form o<xxxxx> call and it also gives me an error.
Please Log in or Create an account to join the conversation.
- COFHAL
- Offline
- Platinum Member
-
Less
More
- Posts: 453
- Thank you received: 60
06 May 2026 01:16 #346190
by COFHAL
Replied by COFHAL on topic Qtvcp GUI and hal pins
Thank you for your support. One more silly question: how do I get updates? By updating to the latest version 2.10 of LNC?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7314
- Thank you received: 2145
07 May 2026 01:36 #346232
by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
I actually don't know - I always use run-in-place compiled version.
Hopefullt someone else will chime in to help.
Hopefullt someone else will chime in to help.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7314
- Thank you received: 2145
07 May 2026 01:40 #346233
by cmorley
Replied by cmorley on topic Qtvcp GUI and hal pins
But ye the latest 2.10 (master) branch should have the latest code.s
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 298
- Thank you received: 83
07 May 2026 07:34 #346241
by MarkoPolo
Replied by MarkoPolo on topic Qtvcp GUI and hal pins
To update to master in Debian 12, add an entry to /etc/apt/sources.list
deb buildbot2.highlab.com/debian/ bookworm master-uspace 2.9-uspace
then apt update ; apt upgrade
deb buildbot2.highlab.com/debian/ bookworm master-uspace 2.9-uspace
then apt update ; apt upgrade
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.181 seconds