Re: [Emc-users] Upgrading a Hardy install

2011-01-20 Thread Alex Joni
It's not really recommended or tested.
That said, I did some upgrades like these rom 6.06 to 8.04, and it worked 
without the emc2 part.
But that part you can always install using the install script found at 
www.linuxcnc.org

Regards,
Alex

- Original Message - 
From: Igor Chudov ichu...@gmail.com
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Wednesday, January 19, 2011 5:38 PM
Subject: [Emc-users] Upgrading a Hardy install


I have an old, decrepit Dell PC that I first used as a CNC controller.

 I later upgraded to a newer PC, but it looks like the on-board parallel 
 port
 controller has issues when two encoder cards are plugged in to PPMC, so 
 for
 now, I switched to the old Dell. The Dell handles two encoder cards,
 seemingly well.

 My question is, can I upgrade it to Lucid with do-release-upgrade, and
 expect EMC2 to be upgraded correctly.

 Thanks

 i
 --
 Protect Your Site and Customers from Malware Attacks
 Learn about various malware tactics and how to avoid them. Understand
 malware threats, the impact they can have on your business, and how you
 can protect your company and customers by using code signing.
 http://p.sf.net/sfu/oracle-sfdevnl
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Gladevcp problems

2011-01-20 Thread Steve Blackmore
I've got emc2-dev installed and tried to follow the glade install on the
wiki. Done the following

 sudo apt-get install glade

To determine whether your gladevcp is up to date, run it as 'gladevcp
-h'. if the usage message says it supports a '-H halfile' option, you're
good to go.

any command such as gladevcp -H just gives

command not found

likewise trying the following

$ cd emc2-dev/lib/python/gladevcp
$ gladevcp  gladevcp-test.ui 
 

Any ideas?

Steve Blackmore
--

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Mark Wendt
On 01/20/2011 09:35 AM, Steve Blackmore wrote:
 I've got emc2-dev installed and tried to follow the glade install on the
 wiki. Done the following

   sudo apt-get install glade

 To determine whether your gladevcp is up to date, run it as 'gladevcp
 -h'. if the usage message says it supports a '-H halfile' option, you're
 good to go.

 any command such as gladevcp -H just gives

 command not found

 likewise trying the following

 $ cd emc2-dev/lib/python/gladevcp
 $ gladevcp  gladevcp-test.ui


 Any ideas?

 Steve Blackmore

Steve,

It's a Unixy kinda thing.  It's not currently in your PATH environment.  
You need to either give the full path for your command to work, like 
~/emc2-dev/lib/python/gladevcp -H or, if you have CD'd into that 
directory, you need to use this format: ./gladevcp -H

Mark

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Steve Blackmore
On Thu, 20 Jan 2011 09:57:28 -0500, you wrote:

On 01/20/2011 09:35 AM, Steve Blackmore wrote:
 I've got emc2-dev installed and tried to follow the glade install on the
 wiki. Done the following

   sudo apt-get install glade

 To determine whether your gladevcp is up to date, run it as 'gladevcp
 -h'. if the usage message says it supports a '-H halfile' option, you're
 good to go.

 any command such as gladevcp -H just gives

 command not found

 likewise trying the following

 $ cd emc2-dev/lib/python/gladevcp
 $ gladevcp  gladevcp-test.ui


 Any ideas?

 Steve Blackmore

Steve,

It's a Unixy kinda thing.  It's not currently in your PATH environment.  
You need to either give the full path for your command to work, like 
~/emc2-dev/lib/python/gladevcp -H or, if you have CD'd into that 
directory, you need to use this format: ./gladevcp -H

Hi Mark - that gives no such file or directory ?

Steve Blackmore
--

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Mark Wendt
On 01/20/2011 10:35 AM, Steve Blackmore wrote:
 On Thu, 20 Jan 2011 09:57:28 -0500, you wrote:


 On 01/20/2011 09:35 AM, Steve Blackmore wrote:
  
 I've got emc2-dev installed and tried to follow the glade install on the
 wiki. Done the following

sudo apt-get install glade

 To determine whether your gladevcp is up to date, run it as 'gladevcp
 -h'. if the usage message says it supports a '-H halfile' option, you're
 good to go.

 any command such as gladevcp -H just gives

 command not found

 likewise trying the following

 $ cd emc2-dev/lib/python/gladevcp
 $ gladevcp  gladevcp-test.ui


 Any ideas?

 Steve Blackmore

 Steve,

 It's a Unixy kinda thing.  It's not currently in your PATH environment.
 You need to either give the full path for your command to work, like
 ~/emc2-dev/lib/python/gladevcp -H or, if you have CD'd into that
 directory, you need to use this format: ./gladevcp -H
  
 Hi Mark - that gives no such file or directory ?

 Steve Blackmore
Steve,

Which one?  If you cd into the gladevcp directory, and run the command 
./gladevcp -H?  Or the other one that attempted to use the full path?  
The tilde translates' to your home directory, which is where I assumed 
you have the emc2-dev directory and the sub-directories.  If it's in a 
different place, substitute the real location, ie 
/usr/local/emc2-dev/lib/python/gladevcp/gladevcp -H.  I see I may have 
left out one of the gladevcp words above.  The /usr/local portion is 
just to show a full path - you may have it installed somewhere else.

Mark

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Steve Blackmore
On Thu, 20 Jan 2011 11:12:54 -0500, you wrote:


Which one?  If you cd into the gladevcp directory, and run the command 
./gladevcp -H?  

Or the other one that attempted to use the full path?  

Both :(

There is no file called gladevcp in the emc-dev/lib/python/gladevcp
directory or anywhere else according to search for files??

Steve Blackmore
--

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Mark Wendt
On 01/20/2011 11:28 AM, Steve Blackmore wrote:
 On Thu, 20 Jan 2011 11:12:54 -0500, you wrote:



 Which one?  If you cd into the gladevcp directory, and run the command
 ./gladevcp -H?
  

 Or the other one that attempted to use the full path?
  
 Both :(

 There is no file called gladevcp in the emc-dev/lib/python/gladevcp
 directory or anywhere else according to search for files??

 Steve Blackmore
Ah, okay, then where did you install gladevcp?  I noticed you had 
installed glade, but did you actually install gladevcp?  ;-)  If you 
did, then to find the file, cd to /, then type: sudo find . -name 
gladevcp -print on the command line without the double quotes.  If the 
file exists on your machine, that will tell you where the little bugger 
is hiding.

Mark

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Steve Blackmore
On Thu, 20 Jan 2011 11:47:41 -0500, you wrote:


Ah, okay, then where did you install gladevcp?  I noticed you had 
installed glade, but did you actually install gladevcp?  ;-)  If you 
did, then to find the file, cd to /, then type: sudo find . -name 
gladevcp -print on the command line without the double quotes.  If the 
file exists on your machine, that will tell you where the little bugger 
is hiding.

That's the rub :)

I followed the instructions on the wiki, but it ain't nowhere to be
found. 

git installed the dev directory structure, including the python/gladevcp
ones and plenty of files, but I can't find any executable file called
gladevcp anywhere?  

Steve Blackmore
--

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Mark Wendt
On 01/20/2011 12:26 PM, Steve Blackmore wrote:
 On Thu, 20 Jan 2011 11:47:41 -0500, you wrote:



 Ah, okay, then where did you install gladevcp?  I noticed you had
 installed glade, but did you actually install gladevcp?  ;-)  If you
 did, then to find the file, cd to /, then type: sudo find . -name
 gladevcp -print on the command line without the double quotes.  If the
 file exists on your machine, that will tell you where the little bugger
 is hiding.
  
 That's the rub :)

 I followed the instructions on the wiki, but it ain't nowhere to be
 found.

 git installed the dev directory structure, including the python/gladevcp
 ones and plenty of files, but I can't find any executable file called
 gladevcp anywhere?

 Steve Blackmore

If the find command didn't find the file, then it sounds like there 
was either a problem with the installation, or there was a problem with 
the gladevcp distro.  Did you follow this line:  You have either to 
fetch current development version using git or install packages from 
[buildbot]  on the wiki?  Which version of EMC2 are you running?  
According to the wiki: Gladevcp is not in the 2.4 series and will be 
starting with 2.5.

Mark

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread chrisinnanaimo
Did you do
 . Scripts/emc-environment ? 

Sent from my BlackBerry device on the Rogers Wireless Network

-Original Message-
From: Steve Blackmore st...@pilotltd.net
Date: Thu, 20 Jan 2011 15:35:44 
To: EMC2-Users-Listemc-users@lists.sourceforge.net
Reply-To: st...@pilotltd.net, Enhanced Machine Controller \(EMC\)
emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Gladevcp problems

On Thu, 20 Jan 2011 09:57:28 -0500, you wrote:

On 01/20/2011 09:35 AM, Steve Blackmore wrote:
 I've got emc2-dev installed and tried to follow the glade install on the
 wiki. Done the following

   sudo apt-get install glade

 To determine whether your gladevcp is up to date, run it as 'gladevcp
 -h'. if the usage message says it supports a '-H halfile' option, you're
 good to go.

 any command such as gladevcp -H just gives

 command not found

 likewise trying the following

 $ cd emc2-dev/lib/python/gladevcp
 $ gladevcp  gladevcp-test.ui


 Any ideas?

 Steve Blackmore

Steve,

It's a Unixy kinda thing.  It's not currently in your PATH environment.  
You need to either give the full path for your command to work, like 
~/emc2-dev/lib/python/gladevcp -H or, if you have CD'd into that 
directory, you need to use this format: ./gladevcp -H

Hi Mark - that gives no such file or directory ?

Steve Blackmore
--

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] FCM8201,2 and IRAMS

2011-01-20 Thread Kirk Wallace
On Tue, 2011-01-18 at 13:32 -0800, Kirk Wallace wrote:
 Has anyone used one of these:
 http://www.fairchildsemi.com/ds/FC/FCM8201.pdf 
 
 and/or:
 http://www.irf.com/product-info/datasheets/data/irams06up60b.pdf 
 

Reply from off list:
~~~
Thanks for the information Joachim. The first bits of my plan are on the
wiki, here:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?AVR 

Anyone that would like to correct or add designs or software to this
page, please feel free to do so:
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps 

The main theme is to use the data rich but speed poor parallel port to
feed a speed rich AVR using EPP, with very low latency, in an open and
DIY friendly way. 

The ATxmega runs on 3.6V max, so my current task is to design a parallel
port interface that can use 3 to 5V in, and feed ~3V to the xmega. After
the data link is worked out, the xmega can be used to produce a wide
range of signals (step/dir, PWM, 3-phase) and capture input (encoders,
ADC).

If there is enough interest, it might be worth while to have a batch of
PC boards made and/or maintain a parts list or kits.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Klemen Ozebek
Dear All,

what could be the reason that on Ubuntu 10.04 with EMC 2.4.6 I always get an
error when i want to start old configuration from EMC 2.3... see error
message below + HAL and INI file (this are files made by pncconf - new one
and if i want to load a thread with period of 8 us this message appears:

89882.332322] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[89882.332390] RTAI[usi]: enabled.
[89882.371583] RTAI[math]: loaded.
[89882.441085] HAL_LIB: ERROR: new thread period 8 is less than clock
period 99
[89882.441090] THREADS: ERROR: could not create thread 'slow-thread'
[89882.730937] RTAI[math]: unloaded.
[89882.763416] SCHED releases registered named ALIEN RTGLBH
[89882.796259] RTAI[malloc]: unloaded.
[89882.896018] RTAI[sched]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).
[89882.899015] I-pipe: Domain RTAI unregistered.
[89882.899063] RTAI[hal]: unmounted.


HAL file:

# Generated by PNCconf at Sun Jan 16 10:33:41 2011
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD
num_joints=[TRAJ]AXES
#počasnejši thread za classicladder
loadrt threads name1=fast-thread period1=8

loadrt probe_parport
loadrt hostmot2
loadrt hm2_pci config=firmware=hm2/5i20/SVST8_4.BIT num_encoders=4
num_pwmgens=4 num_stepgens=0
setp hm2_5i20.0.pwmgen.pwm_frequency 10
setp hm2_5i20.0.pwmgen.pdm_frequency 10
setp hm2_5i20.0.watchdog.timeout_ns 1000
loadrt hal_parport cfg=0x0378 out
loadrt charge_pump
loadrt near

addf parport.0.read servo-thread
addf charge-pump fast-thread
addf parport.0.write servo-thread
addf hm2_5i20.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
loadrt pid num_chan=3
addf pid.0.do-pid-calcs servo-thread
addf pid.1.do-pid-calcs servo-thread
addf pid.2.do-pid-calcs servo-thread


alias pinpid.0.Pgain pid.x.Pgain
alias pinpid.0.Igain pid.x.Igain
alias pinpid.0.Dgain pid.x.Dgain
alias pinpid.0.bias  pid.x.bias
alias pinpid.0.FF0   pid.x.FF0
alias pinpid.0.FF1   pid.x.FF1
alias pinpid.0.FF2   pid.x.FF2
alias pinpid.0.deadband  pid.x.deadband
alias pinpid.0.maxoutput pid.x.maxoutput
alias pinpid.0.enablepid.x.enable
alias pinpid.0.command   pid.x.command
alias pinpid.0.feedback  pid.x.feedback
alias pinpid.0.outputpid.x.output
alias pinpid.0.index-enable  pid.x.index-enable

alias pinpid.1.Pgain pid.z.Pgain
alias pinpid.1.Igain pid.z.Igain
alias pinpid.1.Dgain pid.z.Dgain
alias pinpid.1.bias  pid.z.bias
alias pinpid.1.FF0   pid.z.FF0
alias pinpid.1.FF1   pid.z.FF1
alias pinpid.1.FF2   pid.z.FF2
alias pinpid.1.deadband  pid.z.deadband
alias pinpid.1.maxoutput pid.z.maxoutput
alias pinpid.1.enablepid.z.enable
alias pinpid.1.command   pid.z.command
alias pinpid.1.feedback  pid.z.feedback
alias pinpid.1.outputpid.z.output
alias pinpid.1.index-enable  pid.z.index-enable

alias pinpid.2.Pgain pid.s.Pgain
alias pinpid.2.Igain pid.s.Igain
alias pinpid.2.Dgain pid.s.Dgain
alias pinpid.2.bias  pid.s.bias
alias pinpid.2.FF0   pid.s.FF0
alias pinpid.2.FF1   pid.s.FF1
alias pinpid.2.FF2   pid.s.FF2
alias pinpid.2.deadband  pid.s.deadband
alias pinpid.2.maxoutput pid.s.maxoutput
alias pinpid.2.enablepid.s.enable
alias pinpid.2.command   pid.s.command
alias pinpid.2.feedback  pid.s.feedback
alias pinpid.2.outputpid.s.output
alias pinpid.2.index-enable  pid.s.index-enable

addf near.0   servo-thread
addf hm2_5i20.0.write servo-thread
addf hm2_5i20.0.pet_watchdog  servo-thread

# external output signals
net charge-pump =  charge-pump.out

net charge-pump =  parport.0.pin-01-out


# external input signals


# --- ESTOP-EXT ---
net estop-ext =  hm2_5i20.0.gpio.032.in
# --- MAX-HOME-X ---
net max-home-x =  hm2_5i20.0.gpio.037.in_not
# --- MIN-HOME-X ---
net min-home-x =  hm2_5i20.0.gpio.048.in_not
# --- MAX-HOME-Z ---
net max-home-z =  hm2_5i20.0.gpio.049.in
# --- MIN-HOME-Z ---
net min-home-z =  hm2_5i20.0.gpio.061.in_not

#***
#  AXIS X
#***

setp   pid.x.Pgain [AXIS_0]P
setp   pid.x.Igain [AXIS_0]I
setp   pid.x.Dgain [AXIS_0]D
setp   pid.x.bias  [AXIS_0]BIAS
setp   pid.x.FF0   [AXIS_0]FF0
setp   pid.x.FF1   [AXIS_0]FF1
setp   pid.x.FF2   [AXIS_0]FF2
setp   pid.x.deadband  [AXIS_0]DEADBAND
setp   pid.x.maxoutput [AXIS_0]MAX_OUTPUT

net x-index-enable  =  pid.x.index-enable

# ---PWM Generator signals/setup---

setp   hm2_5i20.0.pwmgen.00.output-type 3

Re: [Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Kirk Wallace
On Thu, 2011-01-20 at 21:44 +0100, Klemen Ozebek wrote:
... snip
 [89882.441085] HAL_LIB: ERROR: new thread period 8 is less than clock
 period 99
 [89882.441090] THREADS: ERROR: could not create thread 'slow-thread'
... snip
 HAL file:
 
 # Generated by PNCconf at Sun Jan 16 10:33:41 2011
 # If you make changes to this file, they will be
 # overwritten when you run PNCconf again
 
 loadrt trivkins
 loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD
 num_joints=[TRAJ]AXES
 #počasnejši thread za classicladder
... snip

Shooting from the hip, but if it isn't already there, check to see that
num_joints... is on the same line as loadrt [EMCMOT] Check for
other wrapped lines too.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Michael Haberler

Am 20.01.2011 um 18:26 schrieb Steve Blackmore:

 On Thu, 20 Jan 2011 11:47:41 -0500, you wrote:
 
 
 Ah, okay, then where did you install gladevcp?  I noticed you had 
 installed glade, but did you actually install gladevcp?  ;-)  If you 
 did, then to find the file, cd to /, then type: sudo find . -name 
 gladevcp -print on the command line without the double quotes.  If the 
 file exists on your machine, that will tell you where the little bugger 
 is hiding.
 
 That's the rub :)
 
 I followed the instructions on the wiki, but it ain't nowhere to be
 found. 
 
 git installed the dev directory structure, including the python/gladevcp
 ones and plenty of files, but I can't find any executable file called
 gladevcp anywhere?  

From the above I assume you pulled master via git and did a configure/make in 
the emc2-dev/src directory

Depending wether you did enable run-in-place, post build gladevcp should be 
either in emc2-dev/bin or /usr/bin

-Michael


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Incomplete Tool Path

2011-01-20 Thread Dave Christman
I have created a heart that for some reason does not generate the tool 
path around the entire heart. I have attached the file to show my 
problem. Thanks for your help in understanding this.
?xml version=1.0 encoding=utf-8?
CADFile xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:xsd=http://www.w3.org/2001/XMLSchema; Name=Valentine Heart 2 units=Inches
  layers
layer name=0 color=255,255,255
  ModificationCount0/ModificationCount
  mat /
  objects /
/layer
layer name=Layer 1 color=255,255,255
  ModificationCount0/ModificationCount
  mat /
  objects
pline id=5 Closed=true
  ModificationCount4/ModificationCount
  mat m=3.0128392334 0 0 0 0 3.0128392334 0 0 0 0 3.0128392334 0 0 0 0 1 /
  pts
p b=-0.048630954687171865-1.95120866141732,2.90572047244095,0/p
p b=-0.041696996030740334-1.44293467855747,3.13092184050942,0/p
p b=-0.060745822203726679-1.17158129220184,3.19751943368625,0/p
p b=-0.10989968903033767-0.892271653543307,3.20758661417323,0/p
p b=-0.08248503291982-0.394428490238478,3.03570929197606,0/p
p b=-0.07336832534839460.0028661417322835,2.68991732283465,0/p
p b=-0.132682274145862450.211959355411214,2.28901388578985,0/p
p b=-0.0492683022859459680.254516606445339,1.61726815540555,0/p
p b=-0.0375876223159073290.151959044212506,1.29506484544514,0/p
p b=-0.020089095864199526-0.0106771653543307,0.998685039370079,0/p
p-0.232829366774241,0.748962298081367,0/p
p-0.333800621930133,0.643214450508683,0/p
p b=-0.0054240153998336219-0.429294815365501,0.544879954990748,0/p
p-1.15722468987879,-0.180925702956113,0/p
p-1.20315934151633,-0.225949515221431,0/p
p-1.89414173228347,-0.897547244094488,0/p
p-1.89307086614173,-0.896543307086614,0/p
p b=-0.36691838101747504-1.92420472440945,-0.923948818897638,0/p
p-2.01203543307087,-0.920641732283465,0/p
p-2.01089763779528,-0.921464566929134,0/p
p b=-0.017256678614587975-2.03722440944882,-0.898125984251969,0/p
p-2.82526714461891,-0.173529889916518,0/p
p b=-0.010700339480883793-3.07928069153115,0.0771308801161714,0/p
p b=-0.010407926056278284-3.14647736925041,0.144583504932033,0/p
p b=-0.0089683910290634314-3.21789011551836,0.216764454028941,0/p
p b=-0.0050660935081139362-3.29380061896396,0.294037102325671,0/p
p b=-0.00270169160283499-3.37447555915601,0.37675932412759,0/p
p-3.55764173228346,0.566783464566929,0/p
p-3.60246705976472,0.610904230206339,0/p
p b=-0.031530914390036135-3.64610236220472,0.656330708661417,0/p
p b=-0.038501835167285517-3.90145197297094,0.933346857421364,0/p
p b=-0.069136714880124087-4.11742125984252,1.24205511811024,0/p
p-4.12976771653543,1.26677559055118,0/p
p b=-0.10941976133822237-4.14284251968504,1.29776771653543,0/p
p b=-0.12530338126894133-4.23613011450843,1.94316067663831,0/p
p b=-0.053877803777410888-4.01692298636415,2.55734577655054,0/p
p b=-0.0495065639525957-3.73655905511811,2.89138188976378,0/p
p b=-0.066092521221456993-3.43910946318897,3.0759902915359,0/p
p b=-0.13534299328398514-3.10654160705287,3.18561340060593,0/p
p b=-0.058629956067809519-2.41456068872896,3.11706417676804,0/p
p b=0.33237393758946493-2.00147637795276,2.9035905511811,0/p
  /pts
/pline
  /objects
/layer
  /layers
  MachiningOptions
OutFileC:\Users\Dave\Documents\CNC\CamBam\Holiday\Valentine Heart 2.ngc/OutFile
PostProcessorEMC2/PostProcessor
  /MachiningOptions
  machineops
mop xsi:type=MOPProfile
  ToolDiameter0.25/ToolDiameter
  ToolProfileBullNose/ToolProfile
  PlungeFeedrate6/PlungeFeedrate
  CutFeedrate60/CutFeedrate
  GCodeOriginBottomLeft/GCodeOrigin
  StartPointDefault/StartPoint
  NameOutside of Heart/Name
  StockSurface0/StockSurface
  ClearancePlane0.1/ClearancePlane
  primitive
prim5/prim
  /primitive
  mat /
  MaxCutWidth0/MaxCutWidth
  TargetDepth-0.23/TargetDepth
  DepthIncrement0.13/DepthIncrement
  FinalDepthIncrement0/FinalDepthIncrement
  CutWidth0/CutWidth
  StepOver0.4/StepOver
  StepoverFeedrateDefault/StepoverFeedrate
  LeadInMove
LeadInTypeNone/LeadInType
SpiralAngle0/SpiralAngle
TangentRadius0/TangentRadius
  /LeadInMove
  HoldingTabs
TabMethodNone/TabMethod
Width3/Width
Height0.2/Height
MinimumTabs2/MinimumTabs
MaximumTabs6/MaximumTabs
TabDistance0/TabDistance
UseLeadInstrue/UseLeadIns
Tabs /
  /HoldingTabs
  SideProfile /
/mop
  /machineops
  

Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Steve Blackmore
On Thu, 20 Jan 2011 17:39:52 +, you wrote:

Did you do
 . Scripts/emc-environment ? 

Yea - That gets no such file or directory also

summat weird going on, tried to reinstall emc2-dev and on running

cd src
./autogen.sh   

returns the following

./autogen.sh: line 6: autoconf: command not found


Steve Blackmore
--

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] FW: Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Chris Morley



From: chrisinnana...@hotmail.com
To: klemen.oze...@gmail.com
Subject: RE: [Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6
Date: Fri, 21 Jan 2011 02:09:48 +





Sorry I meant to send this to the list.

 Date: Thu, 20 Jan 2011 21:44:54 +0100
 From: klemen.oze...@gmail.com
 To: Emc-users@lists.sourceforge.net
 Subject: [Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6
 
 Dear All,
 
 what could be the reason that on Ubuntu 10.04 with EMC 2.4.6 I always get an
 error when i want to start old configuration from EMC 2.3... see error
 message below + HAL and INI file (this are files made by pncconf - new one


snip

 HAL file:
 
 # Generated by PNCconf at Sun Jan 16 10:33:41 2011
 # If you make changes to this file, they will be
 # overwritten when you run PNCconf again
 
 loadrt trivkins
 loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD
 num_joints=[TRAJ]AXES
 #počasnejši thread za classicladder
 loadrt threads name1=fast-thread period1=8
 
 loadrt probe_parport

The reason is because the line that loads the threads is not correct, there is 
no period 
length given for the first thread, so it picks one and then the second thread 
happens
to be shorter then it causing an error.
Was there a reason that you needed to edit the pncconf file? Not that there is 
anything
wrong with that I just looking for feedback about pncconf.
There has been quite a few bug fixes to pncconf since 2.3 it may be worth 
starting
fresh and building a new config.

One thing I might warn you about is that in practice using a fast thread with 
the Mesa
boards doesn't usually work well. In fact later versions of pncconf do not 
allow you to 
add a base (fast) thread for this reason. When I was testing steppers using Mesa
and a config with a base thread the steppers were unusable, after removing the 
base 
thread (which actually did nothing) the steppers magically worked well. Other 
users
have reported that if you play with the values you can come up with a values for
the base thread and servo thread that will work but I wouldn't recommend this.
It has to do with the base thread interrupting the servo thread .
I wonder if you could use pwm gen to produce the charge pump signal?

Chris M
 
  
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] FW: Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Chris Morley


 
 The reason is because the line that loads the threads is not correct, there 
 is no period 
 length given for the first thread, so it picks one and then the second thread 
 happens
 to be shorter then it causing an error.

Sorry I must be tired. The line is correct. I think the reason is, your servo 
period that 
is set in the ini file is slower then the fast thread you are trying to load 
here.
other wise everything I said before still applies - assuming I'm not still 
sleeping...   

if you really want a fast base period try changing to;
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD 
servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES

and add the line :
BASE_PERIOD = 10
to the INI file under [EMCMOT]

Chris M

  
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] the buildbot is back

2011-01-20 Thread Sebastian Kuzminsky
The buildbot is back, once again serving up fresh-baked debs from 2.4 
and master.

The APT URLs have changed, for the better, so you'll have to change your 
/etc/apt/source.list.d/emc2-buildbot.list files!

All the new information is here: http://buildbot.linuxcnc.org

Please report any problems or bugs to me.


-- 
Sebastian Kuzminsky


--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] FW: Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Peter C. Wallace

On Fri, 21 Jan 2011, Chris Morley wrote:


Date: Fri, 21 Jan 2011 02:16:20 +
From: Chris Morley chrisinnana...@hotmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: EMC emc-users@lists.sourceforge.net
Subject: [Emc-users] FW:  Problem fast thread on Ubuntu 10.04 EMC 2.4.6




From: chrisinnana...@hotmail.com
To: klemen.oze...@gmail.com
Subject: RE: [Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6
Date: Fri, 21 Jan 2011 02:09:48 +





Sorry I meant to send this to the list.


Date: Thu, 20 Jan 2011 21:44:54 +0100
From: klemen.oze...@gmail.com
To: Emc-users@lists.sourceforge.net
Subject: [Emc-users] Problem fast thread on Ubuntu 10.04 EMC 2.4.6

Dear All,

what could be the reason that on Ubuntu 10.04 with EMC 2.4.6 I always get an
error when i want to start old configuration from EMC 2.3... see error
message below + HAL and INI file (this are files made by pncconf - new one



snip


HAL file:

# Generated by PNCconf at Sun Jan 16 10:33:41 2011
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD
num_joints=[TRAJ]AXES
#počasnejši thread za classicladder
loadrt threads name1=fast-thread period1=8

loadrt probe_parport


The reason is because the line that loads the threads is not correct, there is 
no period
length given for the first thread, so it picks one and then the second thread 
happens
to be shorter then it causing an error.
Was there a reason that you needed to edit the pncconf file? Not that there is 
anything
wrong with that I just looking for feedback about pncconf.
There has been quite a few bug fixes to pncconf since 2.3 it may be worth 
starting
fresh and building a new config.

One thing I might warn you about is that in practice using a fast thread with 
the Mesa
boards doesn't usually work well. In fact later versions of pncconf do not 
allow you to
add a base (fast) thread for this reason. When I was testing steppers using Mesa
and a config with a base thread the steppers were unusable, after removing the 
base
thread (which actually did nothing) the steppers magically worked well. Other 
users
have reported that if you play with the values you can come up with a values for
the base thread and servo thread that will work but I wouldn't recommend this.
It has to do with the base thread interrupting the servo thread .
I wonder if you could use pwm gen to produce the charge pump signal?

Chris M


Actually AFAICT theres no problem with a fast thread and servos (klemens 
situation), the problem only shows up in some systems with step generators and 
only if a base thread is invoked but not used, which is why the developer 
did not see it (why have a base thread if it is not used)


If you have any evidence that the base thread causes a problem if it actually 
runs something I would like to hear about it...


Peter Wallace
Mesa Electronics--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Gladevcp problems

2011-01-20 Thread Michael Haberler

Am 21.01.2011 um 01:21 schrieb Steve Blackmore:

 On Thu, 20 Jan 2011 17:39:52 +, you wrote:
 
 Did you do
 . Scripts/emc-environment ? 
 
 Yea - That gets no such file or directory also
 
 summat weird going on, tried to reinstall emc2-dev and on running
 
 cd src
 ./autogen.sh   
 
 returns the following
 
 ./autogen.sh: line 6: autoconf: command not found


You are missing some prerequisites.

do a
 sudo apt-get install build-essential autoconf

and retry

-m

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] FW: Problem fast thread on Ubuntu 10.04 EMC 2.4.6

2011-01-20 Thread Chris Morley



 One thing I might warn you about is that in practice using a fast thread with 
 the Mesa
 boards doesn't usually work well. In fact later versions of pncconf do not 
 allow you to
 add a base (fast) thread for this reason. When I was testing steppers using 
 Mesa
 and a config with a base thread the steppers were unusable, after removing 
 the base
 thread (which actually did nothing) the steppers magically worked well. Other 
 users
 have reported that if you play with the values you can come up with a values 
 for
 the base thread and servo thread that will work but I wouldn't recommend this.
 It has to do with the base thread interrupting the servo thread .
 I wonder if you could use pwm gen to produce the charge pump signal?

 Chris M
 
Actually AFAICT theres no problem with a fast thread and servos (klemens 
situation), the problem only shows up in some systems with step generators and 
only if a base thread is invoked but not used, which is why the developer 
did not see it (why have a base thread if it is not used)
 
If you have any evidence that the base thread causes a problem if it actually 
runs something I would like to hear about it...
 
Peter Wallace
Mesa Electronics

I never heard about the part that it only happens if the base period was 
invoked but not used.
I will try to do some testing soon to confirm and if thats true will allow base 
periods
in pncconf again.

so then Klemens problem was that he tried to add a faster thread after a slower 
thread.

Chris M

Ps.  after rereading my post - the tone may have seemed like I was being 
critical of
Mesa cards - I did not mean that at all. I use Mesa products and am very happy 
with them.
I meant to report pitfalls reported to and witnessed by me and the work around 
known to
me. Thanks for the info Peter.

  
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users