Re: [Emc-users] Glade question

2013-01-22 Thread Chris Morley


> How can I not use .ui? On 10.04, when selected "save as" I did not see
> .glade file type.
> BTW in 12.04 I cannot open this file, Glade tries to open it and
> terminates with an error, saying something about missing library
> "gladevcp" (I get that error in Latvian, not sure I can translate it
> completely correctly).
> 
> -- 
> Viesturs

Are you using run-in-place config?
If you are you must load GLADE from the terminal that you set the environment 
for.
(. script-rip-environment )

And yes I do see that GLADE GTK2 is available - excellent!

Chris M
  
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Glade question

2013-01-22 Thread Dewey Garrett
In  Chris Morley 
 writes:


>There is a big change coming for us: GTK3
>In 12.04 GLADE uses GTK3 which is not compatible with GTK2
>I'm not sure if you can load GLADE GTK2 version - maybe

I've been using xubuntu 12.10 (ubuntu with xfce) and it has:

ii  glade-gtk2  3.8.0-0ubuntu5 i386 GTK+ 2 User Interface Builder
ii  python-gtk2 2.24.0-3build1 i386 Python bindings for the GTK+ widget set
ii  python-gtk2-doc 2.24.0-3build1 all  Python bindings for the GTK+ widget set 
- documentation

$ ls -l /usr/bin/glade*
-rwxr-xr-x 1 root root 85124 Sep 19 16:12 /usr/bin/glade
-rwxr-xr-x 1 root root 77732 Sep 30 05:28 /usr/bin/glade-gtk2
-rwxr-xr-x 1 root root 13932 Sep 19 16:12 /usr/bin/glade-previewer
-- 
Dewey Garrett


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Glade question

2013-01-22 Thread Chris Morley



> Date: Tue, 22 Jan 2013 15:25:02 -0600
> From: bjt...@gmail.com
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Glade question
> 
> You can use any extension you want it is just inconvenient to have to 
> open the file if you don't use .glade.
> 
> I doubt a glade file made on 10.04 will work with 12.anything due to 
> improvements.
> 
> If your working in the glade interface designer in 10.04 and select save 
> and put in a file name it adds the .glade as it should.
> 
> John
> 

There is a big change coming for us: GTK3
In 12.04 GLADE uses GTK3 which is not compatible with GTK2
I'm not sure if you can load GLADE GTK2 version - maybe

The GTK2 libraries are still included of course so our programs still run.
If we can't get the old GLADE program working in 12.04, then gladeVCP
becomes pretty useless until it's updated to GTK3

PyGTK is also finished - no new versions - PyObject is the newest thing.

PyGTK is used extensively in gladeVCP.

So we have some work coming up!

Chris M

  
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Peter C. Wallace
On Wed, 23 Jan 2013, Chris Morley wrote:

> Date: Wed, 23 Jan 2013 01:23:45 +
> From: Chris Morley 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: EMC 
> Subject: Re: [Emc-users] 5i25 and pncconf and g540
> 
>
> Hey thankds for try to do this Peter!
>
> I get an error message when downloading:
>
> XML Parsing Error: mismatched tag. Expected: .
> Location: http://freeby.mesanet.com/g540x2.xml
> Line Number 38, Column 40:
> None
>
> secondarymodulename is spelled with nane
>
> same idea with the other you posted on the forum.


OK will fix tommorow

>
> Chris M
>
>> Date: Tue, 22 Jan 2013 16:29:28 -0800
>> From: p...@mesanet.com
>> To: emc-users@lists.sourceforge.net
>> Subject: Re: [Emc-users] 5i25 and pncconf and g540
>>
>> freeby.mesanet.com/g540x2.xml
>>
>> is a first stab at making readHMID generate xml files (for 5i25-g540x2 in
>> this case) that seem to be about what pncconf wants. ReadHMID pin names
>> may be slightly different, not sure if this is important or not
>>
>> Peter Wallace
>> Mesa Electronics
>>
>> (\__/)
>> (='.'=) This is Bunny. Copy and paste bunny into your
>> (")_(") signature to help him gain world domination.
>>
>>
>> --
>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
>> MVPs and experts. ON SALE this month only -- learn more at:
>> http://p.sf.net/sfu/learnnow-d2d
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Chris Morley

Hey thankds for try to do this Peter!

I get an error message when downloading:

XML Parsing Error: mismatched tag. Expected: .
Location: http://freeby.mesanet.com/g540x2.xml
Line Number 38, Column 40:
None

secondarymodulename is spelled with nane

same idea with the other you posted on the forum.

Chris M

> Date: Tue, 22 Jan 2013 16:29:28 -0800
> From: p...@mesanet.com
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] 5i25 and pncconf and g540
> 
> freeby.mesanet.com/g540x2.xml
> 
> is a first stab at making readHMID generate xml files (for 5i25-g540x2 in 
> this case) that seem to be about what pncconf wants. ReadHMID pin names 
> may be slightly different, not sure if this is important or not
> 
> Peter Wallace
> Mesa Electronics
> 
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
> 
> 
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
  
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Peter C. Wallace
freeby.mesanet.com/g540x2.xml

is a first stab at making readHMID generate xml files (for 5i25-g540x2 in 
this case) that seem to be about what pncconf wants. ReadHMID pin names 
may be slightly different, not sure if this is important or not

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Glade question

2013-01-22 Thread John Thornton
You can use any extension you want it is just inconvenient to have to 
open the file if you don't use .glade.

I doubt a glade file made on 10.04 will work with 12.anything due to 
improvements.

If your working in the glade interface designer in 10.04 and select save 
and put in a file name it adds the .glade as it should.

John

On 1/22/2013 12:03 PM, Viesturs Lācis wrote:
> 2013/1/22 John Thornton :
>> On 1/20/2013 1:02 PM, Chris Morley wrote:
>>> oh and .glade is the old ending I think they use .ui now, same thing.
>>> you must be using a new version of glade then me.
>> The glade on Ubuntu 10.04 defaults to .glade, if you use .ui then click
>> on the file Qt will take 5 minutes to load and then open the file... not
>> what you expect. I don't know why people use Qt extensions on Glade files.
>>
> How can I not use .ui? On 10.04, when selected "save as" I did not see
> .glade file type.
> BTW in 12.04 I cannot open this file, Glade tries to open it and
> terminates with an error, saying something about missing library
> "gladevcp" (I get that error in Latvian, not sure I can translate it
> completely correctly).
>


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Glade question

2013-01-22 Thread Viesturs Lācis
2013/1/22 John Thornton :
>
> On 1/20/2013 1:02 PM, Chris Morley wrote:
>> oh and .glade is the old ending I think they use .ui now, same thing.
>> you must be using a new version of glade then me.
> The glade on Ubuntu 10.04 defaults to .glade, if you use .ui then click
> on the file Qt will take 5 minutes to load and then open the file... not
> what you expect. I don't know why people use Qt extensions on Glade files.
>

How can I not use .ui? On 10.04, when selected "save as" I did not see
.glade file type.
BTW in 12.04 I cannot open this file, Glade tries to open it and
terminates with an error, saying something about missing library
"gladevcp" (I get that error in Latvian, not sure I can translate it
completely correctly).

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Peter C. Wallace
On Tue, 22 Jan 2013, Chris Morley wrote:

> Date: Tue, 22 Jan 2013 09:25:42 +
> From: Chris Morley 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: EMC 
> Subject: Re: [Emc-users] 5i25 and pncconf and g540
> 
>
>
>
>> From: alex.stew...@crc.ca
>> Date: Mon, 21 Jan 2013 20:53:16 -0500
>> To: emc-users@lists.sourceforge.net
>> Subject: [Emc-users] 5i25 and pncconf and g540
>>
>> Can anyone tell me why it is so difficult to configure a G540 to run with a 
>> 5i25?
>>
>> Chris Morley has done great work with pncconf.  But, I could not see how to 
>> configure a g540 with a 5i25.
>>
>> So, I got the latest linuxcnc source, downloaded and compiled today, ran 
>> pncconf and still no luck.
>>
>
> I'm sorry you had a bad experience with PNCconf.
> Yes the g540 firmware is not supported at this time.
> In fact I can't really say the 5i25 is really 'officially' supported at all 
> in PNCconf.
>
> PNCconf uses the XML file produced by the linuxcnc firmware repo.
> Well the repo doesn't have any firmware or XML files for the 5i25.
> The 5i25 comes preconfigured so it doesn't need the firmware.
>
> Peter builds the firmware but he doesn't build the XML files He doesn't 
> need them.
> You can see the problem here.
>
> I had asked that we add the plain 5i25 XML files to the repo just to help 
> users.
> I don't remember the response.
>
> I hand build the XML file that are available on the forum.
> There was a reason I didn't build them for the G540.
> Doesn't it require a charge pump signal? It wasn't clear to me how that was 
> done.
> Nobody has ask me to supply a XML set for that firmware  yet that I know of.

Looks like the XML files are just XML versions of the pin files so I will add 
a XML option (-X) to my readhmid program and see how that works.


>
> Configuring linuxcnc is not an easy job if you don't do it often or are just 
> starting out.
> That's a fact most developers just don't fully understand - They came up as 
> things changed gradually
> or have been here long enough they just know or most likely just like to see 
> how stuff works anyways.
> I have a fairly good understanding of some of the issues as I have to change 
> PNCconf
> to accommodate the multitude of different standards and interfaces each 
> program uses.
> That being said I make lots of assumptions about what people know or are 
> willing to look up in the
> manual.
>
> I wish I could make PNCconf super easy. I just can't.
> It's almost time to start with a clean sheet of paper and rebuld PNCconf.
> I'm just interested in Gscreen at the moment
>
> Again I'm sorry for your frustration. Don't let it reflect on Mesa's stuff. 
> It's great.
>
> If anyone else has a working config for the 5i25 and the G540 could you post 
> it for both of us?
>
> Chris M
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Peter C. Wallace
On Tue, 22 Jan 2013, Marius Liebenberg wrote:

> Date: Tue, 22 Jan 2013 12:18:36 +0200
> From: Marius Liebenberg 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: Re: [Emc-users] 5i25 and pncconf and g540
> 
>
>
> Chris,
> You are right about the charge pump but that can be made with a step
> gen. The stepgen can be enabled by means of the machine_on or
> emergency_stop functions. Or it could remain on but that would be
> defeating the object of having it in the first place.
>
> I have a feeling that the G540 has a selection to override the charge
> pump option. One has to remove the cover to find it but it is all in the
> manual.
>

In the 5I25 G540 configuration a spare hardware stepgen is wired to and can 
used for the chargepump (just one pin). All Hostmot2 configurations have a 
watchdog so the stepgen will stop generating pulses in a few mS if the host 
hangs or crashes



>
> On 2013/01/22 11:25 AM, Chris Morley wrote:
>>
>>
>>> From: alex.stew...@crc.ca
>>> Date: Mon, 21 Jan 2013 20:53:16 -0500
>>> To: emc-users@lists.sourceforge.net
>>> Subject: [Emc-users] 5i25 and pncconf and g540
>>>
>>> Can anyone tell me why it is so difficult to configure a G540 to run with a 
>>> 5i25?
>>>
>>> Chris Morley has done great work with pncconf.  But, I could not see how to 
>>> configure a g540 with a 5i25.
>>>
>>> So, I got the latest linuxcnc source, downloaded and compiled today, ran 
>>> pncconf and still no luck.
>>>
>> I'm sorry you had a bad experience with PNCconf.
>> Yes the g540 firmware is not supported at this time.
>> In fact I can't really say the 5i25 is really 'officially' supported at all 
>> in PNCconf.
>>
>> PNCconf uses the XML file produced by the linuxcnc firmware repo.
>> Well the repo doesn't have any firmware or XML files for the 5i25.
>> The 5i25 comes preconfigured so it doesn't need the firmware.
>>
>> Peter builds the firmware but he doesn't build the XML files He doesn't 
>> need them.
>> You can see the problem here.
>>
>> I had asked that we add the plain 5i25 XML files to the repo just to help 
>> users.
>> I don't remember the response.
>>
>> I hand build the XML file that are available on the forum.
>> There was a reason I didn't build them for the G540.
>> Doesn't it require a charge pump signal? It wasn't clear to me how that was 
>> done.
>> Nobody has ask me to supply a XML set for that firmware  yet that I know of.
>>
>> Configuring linuxcnc is not an easy job if you don't do it often or are just 
>> starting out.
>> That's a fact most developers just don't fully understand - They came up as 
>> things changed gradually
>> or have been here long enough they just know or most likely just like to see 
>> how stuff works anyways.
>> I have a fairly good understanding of some of the issues as I have to change 
>> PNCconf
>> to accommodate the multitude of different standards and interfaces each 
>> program uses.
>> That being said I make lots of assumptions about what people know or are 
>> willing to look up in the
>> manual.
>>
>> I wish I could make PNCconf super easy. I just can't.
>> It's almost time to start with a clean sheet of paper and rebuld PNCconf.
>> I'm just interested in Gscreen at the moment
>>
>> Again I'm sorry for your frustration. Don't let it reflect on Mesa's stuff. 
>> It's great.
>>
>> If anyone else has a working config for the 5i25 and the G540 could you post 
>> it for both of us?
>>
>> Chris M
>>
>
> -- 
> Regards / Groete
>
> Marius D. Liebenberg
> MasterCut cc
> Cel: +27 82 698 3251
> Tel: +27 12 743 6064
> Fax: +27 86 551 8029
> Skype: marius_d.liebenberg
> Skype Me^(TM)! 
> Get Skype  and call me for free.
>
>
>
>
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 130121-1, 2013/01/22
> Tested on: 2013/01/22 12:18:37 PM
> avast! - copyright (c) 1988-2013 AVAST Software.
> http://www.avast.com
>
>
> --
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnnow-d2d
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- lear

Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread John Stewart
Ok - It's another day, and thank you for all the posts.

Kind of answering the replies to my post:

1) Kent - thank you for the grandfatherly pat on the back. I could have done 
with a shot of scotch or something (even though I don't drink much!)

2) Kent - Google used to be my friend. Why ask the same questions that others 
have asked, when google can show you the answers? Google showed issues with 
5i25 and g540 last summer/fall, but these trickled off to nothing. I had 
assumed that the issues had been fixed, that's why the "get the latest source 
and compile" attempt.

3) Marius - just an fyi - when doing stepconf on my mill back 18 months ago; 
the g540 charge pump disable was deadly. On LinuxCNC boot, the spindle would 
advance to full speed for a second or two; with charge pump enabled, this 
behaviour disappeared. The enable/disable is a little slide switch flush with 
the case. 

4) Chris - as someone who did a large open source project, I know that one gets 
99% complaints, 1% praise. From looking at the pncconf source last night, it 
was close to 10,000 lines of Python. Well done. Tempted to jump in, but Python 
is about the only language I have not touched, and so jumping in would not have 
been the best decision for any of us.

5) Sam - the xml files for the 5I25 were obtained from the link you specified; 
but (obviously, I guess!) it did not resolve the issue. Closer, but no cigar.

6) Peter - thank you for the hm2-stepper configuration hint.  

7) Todd; I might just post the files, and I might end up doing that, but what 
do others who have the same off the shelf hardware do?

8) Andy - thank you for your detailed suggestions - much appreciated, and, I 
believe, ultimately will prove very helpful. 


So, I guess I'll re-group, and try again in a few days, now that I know that a 
new, clean, easy config is just not going to pop out of the computer at this 
time.

Thank you;
John A. Stewart.
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Glade question

2013-01-22 Thread John Thornton

On 1/20/2013 1:02 PM, Chris Morley wrote:
> oh and .glade is the old ending I think they use .ui now, same thing. 
> you must be using a new version of glade then me.
The glade on Ubuntu 10.04 defaults to .glade, if you use .ui then click 
on the file Qt will take 5 minutes to load and then open the file... not 
what you expect. I don't know why people use Qt extensions on Glade files.

John

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Marius Liebenberg


Chris,
You are right about the charge pump but that can be made with a step 
gen. The stepgen can be enabled by means of the machine_on or 
emergency_stop functions. Or it could remain on but that would be 
defeating the object of having it in the first place.

I have a feeling that the G540 has a selection to override the charge 
pump option. One has to remove the cover to find it but it is all in the 
manual.


On 2013/01/22 11:25 AM, Chris Morley wrote:
>
>
>> From: alex.stew...@crc.ca
>> Date: Mon, 21 Jan 2013 20:53:16 -0500
>> To: emc-users@lists.sourceforge.net
>> Subject: [Emc-users] 5i25 and pncconf and g540
>>
>> Can anyone tell me why it is so difficult to configure a G540 to run with a 
>> 5i25?
>>
>> Chris Morley has done great work with pncconf.  But, I could not see how to 
>> configure a g540 with a 5i25.
>>
>> So, I got the latest linuxcnc source, downloaded and compiled today, ran 
>> pncconf and still no luck.
>>
> I'm sorry you had a bad experience with PNCconf.
> Yes the g540 firmware is not supported at this time.
> In fact I can't really say the 5i25 is really 'officially' supported at all 
> in PNCconf.
>
> PNCconf uses the XML file produced by the linuxcnc firmware repo.
> Well the repo doesn't have any firmware or XML files for the 5i25.
> The 5i25 comes preconfigured so it doesn't need the firmware.
>
> Peter builds the firmware but he doesn't build the XML files He doesn't 
> need them.
> You can see the problem here.
>
> I had asked that we add the plain 5i25 XML files to the repo just to help 
> users.
> I don't remember the response.
>
> I hand build the XML file that are available on the forum.
> There was a reason I didn't build them for the G540.
> Doesn't it require a charge pump signal? It wasn't clear to me how that was 
> done.
> Nobody has ask me to supply a XML set for that firmware  yet that I know of.
>
> Configuring linuxcnc is not an easy job if you don't do it often or are just 
> starting out.
> That's a fact most developers just don't fully understand - They came up as 
> things changed gradually
> or have been here long enough they just know or most likely just like to see 
> how stuff works anyways.
> I have a fairly good understanding of some of the issues as I have to change 
> PNCconf
> to accommodate the multitude of different standards and interfaces each 
> program uses.
> That being said I make lots of assumptions about what people know or are 
> willing to look up in the
> manual.
>
> I wish I could make PNCconf super easy. I just can't.
> It's almost time to start with a clean sheet of paper and rebuld PNCconf.
> I'm just interested in Gscreen at the moment
>
> Again I'm sorry for your frustration. Don't let it reflect on Mesa's stuff. 
> It's great.
>
> If anyone else has a working config for the 5i25 and the G540 could you post 
> it for both of us?
>
> Chris M
>   

-- 
Regards / Groete

Marius D. Liebenberg
MasterCut cc
Cel: +27 82 698 3251
Tel: +27 12 743 6064
Fax: +27 86 551 8029
Skype: marius_d.liebenberg
Skype Me^(TM)! 
Get Skype  and call me for free.




---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 130121-1, 2013/01/22
Tested on: 2013/01/22 12:18:37 PM
avast! - copyright (c) 1988-2013 AVAST Software.
http://www.avast.com


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread andy pugh
On 22 January 2013 09:25, Chris Morley  wrote:
> It's almost time to start with a clean sheet of paper and rebuld PNCconf.

I think you are right, and that it is going to be necessary to give up
on "offline" configuration.
PNCConf2 is going to have to be able to interrogate the live hardware.
I don't know if this can be done adequately through the halrun
interface, or whether changes need to be made to Hostmot2.


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread andy pugh
On 22 January 2013 01:53, John Stewart  wrote:
> Can anyone tell me why it is so difficult to configure a G540 to run with a 
> 5i25?

At least partly because PCW develops hardware so fast.
PNCConf was started back when the Mesa landscape was simpler and more
static. Now there are very many more variations available, and you can
potentially have 24 daughter cards per FPGA card rather than the
original 3. All of which dynamically create their own HAL pins.

> Now, I have, in the past, gone through the HAL manual to add/change things, 
> but, come on, this is not something you expect normal, everyday people to do 
> if you want to run a mill with touch probe and mpg, with, cross fingers, 
> maybe spindle speed control.

I think I have to disagree with you here. I don't think there should
be an expectation not to have to manually edit the HAL file. I think
it will always be the main interface where integration takes place.

The 5i25 / G540 combination ought to run with almost the same INI file
as the software-stepping setup, and with only a few modifications to
the HAL file.

The first thing I would do is get a full list of all the pins and
parameters that the 5i25 has in G540 mode. You can do this most
readily from the command-line:
halrun
loadrt hostmot2
loadrt hm2_pci

show pin
This will create a list of all the pins. There is probably a
traditional way to do this, but I tend to copy-and-paste into a
spreadsheet rather than mess about with pipes and files.

show param
Will create a list of all the parameters.

Now you have the basic information needed about pin names, you can
start to edit the HAL file.

1) In the  "loadrt" section:
Add:
loadrt hostmot2
loadrt hm2_pci
Remove:
loadrt stepgen

2) In the "addf" section
Add: (at the very beginning)
addf hm2_5i25.0.read  (at the very beginning)
addf hm2_5i25.0.pet-watchdog
addf hm2.5i25.0.write  (at the very end)

3) Now replace every instance of "stepgen" with "hm2_5i25.0.stepgen..."

This should get you close, but not all the way there. I think the main
issue remaining will be the G540 charge-pump, and the enable logic. It
should be possible to figure out the correspondence from the list of
HAL pins create earlier.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 5i25 and pncconf and g540

2013-01-22 Thread Chris Morley



> From: alex.stew...@crc.ca
> Date: Mon, 21 Jan 2013 20:53:16 -0500
> To: emc-users@lists.sourceforge.net
> Subject: [Emc-users] 5i25 and pncconf and g540
> 
> Can anyone tell me why it is so difficult to configure a G540 to run with a 
> 5i25?
> 
> Chris Morley has done great work with pncconf.  But, I could not see how to 
> configure a g540 with a 5i25. 
> 
> So, I got the latest linuxcnc source, downloaded and compiled today, ran 
> pncconf and still no luck.
> 

I'm sorry you had a bad experience with PNCconf.
Yes the g540 firmware is not supported at this time.
In fact I can't really say the 5i25 is really 'officially' supported at all in 
PNCconf.

PNCconf uses the XML file produced by the linuxcnc firmware repo.
Well the repo doesn't have any firmware or XML files for the 5i25.
The 5i25 comes preconfigured so it doesn't need the firmware.

Peter builds the firmware but he doesn't build the XML files He doesn't 
need them.
You can see the problem here.

I had asked that we add the plain 5i25 XML files to the repo just to help users.
I don't remember the response.

I hand build the XML file that are available on the forum.
There was a reason I didn't build them for the G540.
Doesn't it require a charge pump signal? It wasn't clear to me how that was 
done.
Nobody has ask me to supply a XML set for that firmware  yet that I know of.

Configuring linuxcnc is not an easy job if you don't do it often or are just 
starting out.
That's a fact most developers just don't fully understand - They came up as 
things changed gradually
or have been here long enough they just know or most likely just like to see 
how stuff works anyways. 
I have a fairly good understanding of some of the issues as I have to change 
PNCconf
to accommodate the multitude of different standards and interfaces each program 
uses.
That being said I make lots of assumptions about what people know or are 
willing to look up in the
manual.

I wish I could make PNCconf super easy. I just can't.
It's almost time to start with a clean sheet of paper and rebuld PNCconf.
I'm just interested in Gscreen at the moment

Again I'm sorry for your frustration. Don't let it reflect on Mesa's stuff. 
It's great.

If anyone else has a working config for the 5i25 and the G540 could you post it 
for both of us?

Chris M
  
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users