- Posts: 7368
- Thank you received: 2181
Сustomization QTvcp
- cmorley
- Offline
- Moderator
-
Less
More
6 years 6 months ago #165627
by cmorley
Replied by cmorley on topic Сustomization QTvcp
You have two button to simulate probing?
To connect two button to one probe pin requires either a AND component to allow the two button pins to drive the same probe input....
or use qtvcp to set the probe pin directly.
The function I posted sets the pin directly and can be called by many buttons.
This describes how to designer slots to call the function:
linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...dgets_to_python_code
You could also use action button python command option to call the function.
I'll look at you mdi_touchy changes
To connect two button to one probe pin requires either a AND component to allow the two button pins to drive the same probe input....
or use qtvcp to set the probe pin directly.
The function I posted sets the pin directly and can be called by many buttons.
This describes how to designer slots to call the function:
linuxcnc.org/docs/2.8/html/gui/qtvcp.htm...dgets_to_python_code
You could also use action button python command option to call the function.
I'll look at you mdi_touchy changes
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago - 6 years 6 months ago #165638
by hottabich
Replied by hottabich on topic Сustomization QTvcp
The issue was resolved in a radical way. Removed two buttons and added one working
the bottom panel is now accessible from all pages. Thanks for the science and
please excuse the concern.
the bottom panel is now accessible from all pages. Thanks for the science and
please excuse the concern.
Last edit: 6 years 6 months ago by hottabich.
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago #165751
by hottabich
Replied by hottabich on topic Сustomization QTvcp
In order for QTTouchy to work, you need to register HALFILE = /usr/share/linuxcnc/hallib/check_xyz_constraints.hal in the INI file.
The following user(s) said Thank You: cmorley
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago - 6 years 6 months ago #165970
by hottabich
Replied by hottabich on topic Сustomization QTvcp
According to the description of mditouchy.widgets I rule qttouchy.ini, in nc files I create
macros folder with increment.ngc. Starting qttouchy I click on the MACRO tab and nothing happens. What's wrong?
macros folder with increment.ngc. Starting qttouchy I click on the MACRO tab and nothing happens. What's wrong?
Last edit: 6 years 6 months ago by hottabich.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
6 years 6 months ago #166050
by cmorley
Replied by cmorley on topic Сustomization QTvcp
add to INI, under [DISPLAY]
make sure this points to the folder with the macro:
Code:
MACRO=increment xinc yinc
make sure this points to the folder with the macro:
Code:
PROGRAM_PREFIX = SOMEPLACE/macros/
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
6 years 6 months ago #166113
by hottabich
Replied by hottabich on topic Сustomization QTvcp
So in the attached INI file is this all there or am I misunderstanding something?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 2.496 seconds