![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hi I'm quite new in this subject but to cut the small talk, here are my three problems/questions. 1. I'm building my own panel using pyvcp, got most off it running but have at the moment one problem - Is it possible and if is how to do it to add a second dialog window under one off the buttons. Meaning for example can I add a button in my panel that when pressed will pop out a halmeter? 2. Can I add some C programming to hal programming? 3. I have wrote a short hal file in which there are few commands with loadrt, addf, nets and so on. Everything is ok but i have a problem with adding in my file a comand to start up pyvcp meaning: loadusr pyvcp -c nameforpanel nameofffile.xml When i load the hal file this command is loaded last even that its in the middle of the file and all the nets dont work couse program tries to load them first and then nameofffile.xml. Any ideas how to fix this? Thank You for any comments. |
|
#2
| |||
| |||
| For your third question add -W (capital w) to the loadusr command. This makes HAL wait till pyvcp is finished before running the rest of the commands. look in the man pages under halcmd for other options such as -Wn which waits for a panel to be closed before ending a HAL session. second question : If you mean mix HAL commands and C programming - no but you could change the HAL c source code to get other commands First question : I'm sure there is a way to do this but it won't be straight forward. Are you using this pyvcp panel with EMC or on it's own? |
|
#3
| |||
| |||
| First i would like to thank You for Your help. 1. First question - pyvcp own panel not with emc. 2. That is good enought for me, big thanks for clearing this one. 3. edit: works sweet, big thx for helping out with this one too. Last edited by wygrac; 03-22-2009 at 03:08 PM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CNC mill questions - thrust bearings, leadscrew mounting, general questions | tonofsteel | DIY-CNC Router Table Machines | 8 | 02-03-2012 03:42 PM |
| Brass vs Aluminium Vs Steel, questions, questions and questions... | alexccmeister | General Metal Working Machines | 25 | 08-15-2011 12:40 PM |
| EMC2 - PyVcp - ClassicLadder | wazjebk | LinuxCNC (formerly EMC2) | 12 | 01-29-2009 04:19 PM |
| Need Help pyvcp,halui,pendant jogging | Gads | LinuxCNC (formerly EMC2) | 2 | 05-11-2008 03:42 PM |
| A few BP CNC questions | scottmi | Bridgeport and Hardinge Mills | 10 | 10-25-2006 09:21 PM |