NEWS
LinuxCNC 2.5.2 Release
LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC GladeVCP Various questions about GladeVCP

Welcome, Guest
Username: Password: Remember me

TOPIC: Various questions about GladeVCP

Re:Various questions about GladeVCP 24 Apr 2012 11:15 #19503

  • labmaster
  • labmaster's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
LinuxCNC version 2.6.0 seams to be a really good upgrade for those who using manual tool change and wants powerful tools to measure tool length in the tool changing process.

I have prepared my new GladeVCP panel for this upgrade to version 2.6.0 but I haven't decided whether I should try "master" yet. Anyway I will investigate if I could implement "run from here" in Python using LinuxCNC 2.5.0. The tricky part seams to be to find out how to get current program line when iocontrol.0.tool-change signal True. I have already manage to make an event handler for the signal and also figure out how to poll and get status from the linuxcnc class.

Is there any one out there who can give me an hint on this topic?

By the way, my GladeVCP panel is built up with Notebook containers. How do I select different tab children from Python, lets say from my tool change event handler?

Edit: I have found the current program line from within my event handler. It gives me the line before Tn M6
Last Edit: 24 Apr 2012 12:25 by labmaster.
The administrator has disabled public write access.

Re:Various questions about GladeVCP 24 Apr 2012 14:07 #19507

  • labmaster
  • labmaster's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Hi all!

This is fun, I manage to find how to run from a specific program line and also how to stop the program on a iocontrol.0.tool-change signal event by examine /usr/lib/pymodules/python2.2/gladevcp/hal_actions.py

The only question I have now is how to activate the Tool Notebook child in my GladeVCP panel. Please help me some one.

By the way, next step will be to figure out if the measured tool offset is still activated when I restart the program from the line after Tn M6 and also if the new tool (n) is in use.
Last Edit: 24 Apr 2012 14:13 by labmaster.
The administrator has disabled public write access.

Re:Various questions about GladeVCP 25 Apr 2012 03:17 #19519

  • mhaberler
  • mhaberler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 196
  • Thank you received: 8
  • Karma: 54
labmaster wrote:
...

By the way, my GladeVCP panel is built up with Notebook containers. How do I select different tab children from Python, lets say from my tool change event handler?

search for 'raise' in:

git.mah.priv.at/gitweb/emc-mill.git/blob...5ba:/python/panel.py
The administrator has disabled public write access.

Re:Various questions about GladeVCP 25 Apr 2012 03:28 #19520

  • labmaster
  • labmaster's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 15
  • Karma: 0
Thanks Michael, that is a valuable advice for my project. Lots of nice stuff in that file witch clear many topics I have in my mind.
The administrator has disabled public write access.
Moderators: mhaberler
Time to create page: 1.077 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.