Using Offsetpage Widget?
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4730
- Thank you received: 1447
07 Jun 2017 18:20 #94256
by Todd Zuercher
Using Offsetpage Widget? was created by Todd Zuercher
I would like to setup a tab in axis using Gladevcp and the offsetpage widget. But I'm having a little trouble making it work.
I was able to get a tab showing the widget but it does not seem to populate the table with the existing offsets.
What is the trick to make it work right?
I was able to get a tab showing the widget but it does not seem to populate the table with the existing offsets.
What is the trick to make it work right?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7294
- Thank you received: 2130
07 Jun 2017 18:57 #94260
by cmorley
Replied by cmorley on topic Using Offsetpage Widget?
I'm going to guess that the offset widget is not finding the tooltable from the INI.
Most (all?) of the guis that use it set the file path explicitly.
something like:
offsetpage_widget_name.set_filename("../../../configs/sim/gscreen_custom/sim.var")
While it should work without this - that behavior has not been checked in a long time.
Chris M
Most (all?) of the guis that use it set the file path explicitly.
something like:
offsetpage_widget_name.set_filename("../../../configs/sim/gscreen_custom/sim.var")
While it should work without this - that behavior has not been checked in a long time.
Chris M
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4730
- Thank you received: 1447
07 Jun 2017 21:06 #94268
by Todd Zuercher
Replied by Todd Zuercher on topic Using Offsetpage Widget?
I'm still not able to figure it out yet.
That line would go in the py file? but I haven't a clue what that file should even look like? (programming is not a strong point for me.)
That line would go in the py file? but I haven't a clue what that file should even look like? (programming is not a strong point for me.)
Please Log in or Create an account to join the conversation.
- PKM
-
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 1
26 Sep 2017 18:13 #99477
by PKM
Replied by PKM on topic Using Offsetpage Widget?
Hello,
I can't get offsetpage widget to connect to linuxcnc instance.
It always has this error **** Offsetpage widget ERROR: LINEAR_UNITS not found in INI's TRAJ section
and won't read the offset values.
Anyone has a working example for offsetpage?
I can't get offsetpage widget to connect to linuxcnc instance.
It always has this error **** Offsetpage widget ERROR: LINEAR_UNITS not found in INI's TRAJ section
and won't read the offset values.
Anyone has a working example for offsetpage?
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19847
- Thank you received: 4630
03 Oct 2017 21:10 #99852
by andypugh
Replied by andypugh on topic Using Offsetpage Widget?
Have you tried simply adding a LINEAR_UNITS = to the [TRAJ] section?
Please Log in or Create an account to join the conversation.
- PKM
-
- Offline
- Premium Member
-
Less
More
- Posts: 92
- Thank you received: 1
03 Oct 2017 21:22 #99853
by PKM
Replied by PKM on topic Using Offsetpage Widget?
Well that error message popped because I tried using offsetpage from a separate python file and it received no linuxcnc-specific environment variables.
But when I used offsetpage in Axis tab, with [TRAJ] LINEAR_UNITS = mm, it was still in inches.
Only [widget name].set_to_mm() solved the problem.
But when I used offsetpage in Axis tab, with [TRAJ] LINEAR_UNITS = mm, it was still in inches.
Only [widget name].set_to_mm() solved the problem.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4730
- Thank you received: 1447
17 Apr 2026 13:33 #345638
by Todd Zuercher
Replied by Todd Zuercher on topic Using Offsetpage Widget?
I'm trying to revisit this again. (and still failing)
I am trying to insert the Gladevcp Offsetpage widget into a tab in the Axis user interface. The tab and Offsetpage widget are opening and seem to function (sort of), but it is showing all offsets as zero. I can use the edit button in the widget to set an offset to some value, and that offset is set to that value in Linuxcnc. The problem is that the widget will not see what current offset values are or are set to by other means in Linuxcnc.
What am I missing to make the widget read the current offset values from Linuxcnc?
I am trying to insert the Gladevcp Offsetpage widget into a tab in the Axis user interface. The tab and Offsetpage widget are opening and seem to function (sort of), but it is showing all offsets as zero. I can use the edit button in the widget to set an offset to some value, and that offset is set to that value in Linuxcnc. The problem is that the widget will not see what current offset values are or are set to by other means in Linuxcnc.
What am I missing to make the widget read the current offset values from Linuxcnc?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7294
- Thank you received: 2130
18 Apr 2026 01:28 #345670
by cmorley
Replied by cmorley on topic Using Offsetpage Widget?
Can you post your glade file?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4730
- Thank you received: 1447
18 Apr 2026 03:18 #345673
by Todd Zuercher
Replied by Todd Zuercher on topic Using Offsetpage Widget?
It's just a window with the Offsetpage widget. I don't have a copy here at home but (it's at work.)
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Away
- Platinum Member
-
Less
More
- Posts: 4730
- Thank you received: 1447
18 Apr 2026 04:32 #345674
by Todd Zuercher
Replied by Todd Zuercher on topic Using Offsetpage Widget?
I booted the current live image and created a new one like I had at work.
Attachments:
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.099 seconds