Re: [Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread Sebastian Kuzminsky
On 11/17/14 3:09 PM, John Prentice (FS) wrote:
>
> Apt-get install insists I am up to date so I totally removed the mesaflash
> package (with Synaptic) but now cannot find the mesaflash package in any of
> the repositories I have set up in Synaptic - including LinuxCNC buildbot.
> So I thought I would try to compile a new one.

mesaflash is in the debian archive at linuxcnc.org.  Add this to your 
apt sources:

deb http://linuxcnc.org wheezy base


-- 
Sebastian Kuzminsky

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread Sebastian Kuzminsky
On 11/17/14 2:13 PM, Peter C. Wallace wrote:
> On Mon, 17 Nov 2014, John Prentice (FS) wrote:
>
>> Running LinuxCNC 2.6 Wheezy install with all notified updates applied and
>> latest Mesaflash (well apt-get says it's latest)
>
> Hmm thats a month earlier than the version I get with
>
> apt-get install

It'd be interesting to see "apt-cache policy mesaflash" on both of these 
systems.  It'll tell you what versions are available from which debian 
archives, and what version (if any) is installed.

> 0 15:11:44 seb@steel /home/seb> apt-cache policy mesaflash
> mesaflash:
>   Installed: 3.0.0
>   Candidate: 3.0.0
>   Version table:
>  *** 3.0.0 0
> 500 http://linuxcnc.org/ wheezy/base amd64 Packages
> 100 /var/lib/dpkg/status


-- 
Sebastian Kuzminsky

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread John Prentice (FS)
Peter, greetings

> Hmm thats a month earlier than the version I get with

> apt-get install

> if I type

> mesaflash --list

> I get an error saying
> unrecognized option "--list"

> so I think you have an old version

Apt-get install insists I am up to date so I totally removed the mesaflash
package (with Synaptic) but now cannot find the mesaflash package in any of
the repositories I have set up in Synaptic - including LinuxCNC buildbot.
So I thought I would try to compile a new one.

I downloaded the software for 7i80 from the Anything I/O page of the Mesa
website which has an executable but it seems to be a version dated April
2014 so even older. I have not yet compiled that source as it is bedtime but
there must be an easy way to get the latest binary version that I am somehow
missing.

A detailed set of steps would be much appreciated.

John Prentice


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Linear scales

2014-11-17 Thread andy pugh
On 17 November 2014 21:10, Marshland Engineering
 wrote:
> The Chinese ballscrews are rolled and not therefore not as accurate as ground,
> or so I have read.

It is arguable how much accuracy you actually need. What is the
tolerance on 12" distances on the parts you make?
LinuxCNC also supports screw-mapping if you can accurately measure the
absolute position.

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Linear scales

2014-11-17 Thread Marshland Engineering
The Chinese ballscrews are rolled and not therefore not as accurate as ground,
or so I have read. However as I'm going to be using servos and linear scales,
I can't see this being a problem.

Any thoughts on this ? 

Thanks Wallace. 


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread Peter C. Wallace
On Mon, 17 Nov 2014, John Prentice (FS) wrote:

> Date: Mon, 17 Nov 2014 20:25:19 -
> From: "John Prentice (FS)" 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: [Emc-users] Nooby trouble with Mesaflash and 7i80
> 
> Greetings
>
>
>
> Running LinuxCNC 2.6 Wheezy install with all notified updates applied and
> latest Mesaflash (well apt-get says it's latest)
>
>
>
> Linux networking is turned off and 7i80 directly connected to Ethernet port
> with patch cable.


Hmm thats a month earlier than the version I get with

apt-get install

if I type

mesaflash --list

I get an error saying
unrecognized option "--list"

so I think you have an old version


>
>
>
> Mesaflash segfaults on anything other than -help. Here is dmesg (old cruft
> cleared)
>
>
>
> =
>
> john@Maxdata-Linux:~$ mesaflash
>
>
>
> Mesaflash version 3.0.0 (built on Jul 15 2014 18:57:58 with libpci 3.1.9)
>
> Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB
> boards
>
> (C) 2013-2014 Michael Geszkiewicz (contact: mic...@wp.pl)
>
> (C) Mesa Electronics
>
> Try 'mesaflash --help' for more information
>
> john@Maxdata-Linux:~$ mesaflash --list
>
> Segmentation fault
>
> john@Maxdata-Linux:~$ sudo dmesg
>
> [ 2418.897026] mesaflash[21519]: segfault at 0 ip b7669bd1 sp bfb5168c error
> 4 in libc-2.13.so[b75ea000+15f000]
>
> john@Maxdata-Linux:~$
>
>
>
> Any assistance would be most welcome as I am stuck.
>
>
>
> John Prentice
>
>
>
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> ___
> 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.


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread Carsten Presser
Hi,

If you want to investigate this any furter, i recommend to use gdb.
1. use 'ulimit' to allow core-file generation
2. load corefile with 'gdb  '
3. type 'bt' to get a stacktrace

If there are no debugging symbols inside the binary/libs the output wont
help much. In that case, recompile mesaflash with debugging enabled.



Am 17.11.2014 21:25, schrieb John Prentice (FS):
> Greetings
> 
>  
> 
> Running LinuxCNC 2.6 Wheezy install with all notified updates applied and
> latest Mesaflash (well apt-get says it's latest)
> 
>  
> 
> Linux networking is turned off and 7i80 directly connected to Ethernet port
> with patch cable.
> 
>  
> 
> Mesaflash segfaults on anything other than -help. Here is dmesg (old cruft
> cleared)
> 
>  
> 
> =
> 
> john@Maxdata-Linux:~$ mesaflash
> 
>  
> 
> Mesaflash version 3.0.0 (built on Jul 15 2014 18:57:58 with libpci 3.1.9)
> 
> Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB
> boards
> 
> (C) 2013-2014 Michael Geszkiewicz (contact: mic...@wp.pl)
> 
> (C) Mesa Electronics
> 
> Try 'mesaflash --help' for more information
> 
> john@Maxdata-Linux:~$ mesaflash --list
> 
> Segmentation fault
> 
> john@Maxdata-Linux:~$ sudo dmesg 
> 
> [ 2418.897026] mesaflash[21519]: segfault at 0 ip b7669bd1 sp bfb5168c error
> 4 in libc-2.13.so[b75ea000+15f000]
> 
> john@Maxdata-Linux:~$
> 
>  
> 
> Any assistance would be most welcome as I am stuck.
> 
>  
> 
> John Prentice
> 
>  
> 
>  
> 
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 

-- 
Carsten Presser
Geschäftsführer

c...@rstenpresser.de
Elektronikentwicklung und Vertrieb
Frankfurter Strasse 1
66606 St.Wendel

Telefon: 06851-1305585
Mobil: 0179-5594690

Internet: http://ca.rstenpresser.de
EMail: c...@rstenpresser.de

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Nooby trouble with Mesaflash and 7i80

2014-11-17 Thread John Prentice (FS)
Greetings

 

Running LinuxCNC 2.6 Wheezy install with all notified updates applied and
latest Mesaflash (well apt-get says it's latest)

 

Linux networking is turned off and 7i80 directly connected to Ethernet port
with patch cable.

 

Mesaflash segfaults on anything other than -help. Here is dmesg (old cruft
cleared)

 

=

john@Maxdata-Linux:~$ mesaflash

 

Mesaflash version 3.0.0 (built on Jul 15 2014 18:57:58 with libpci 3.1.9)

Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB
boards

(C) 2013-2014 Michael Geszkiewicz (contact: mic...@wp.pl)

(C) Mesa Electronics

Try 'mesaflash --help' for more information

john@Maxdata-Linux:~$ mesaflash --list

Segmentation fault

john@Maxdata-Linux:~$ sudo dmesg 

[ 2418.897026] mesaflash[21519]: segfault at 0 ip b7669bd1 sp bfb5168c error
4 in libc-2.13.so[b75ea000+15f000]

john@Maxdata-Linux:~$

 

Any assistance would be most welcome as I am stuck.

 

John Prentice

 

 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread alex chiosso
>
> classicladdr_rt runs in the servo thread like any other realtime module.

This is an important information.
That means that the CL logic is processed every servo period isn't it ?
This point is missing into the documentation (as I know) .

Alex



On Mon, Nov 17, 2014 at 6:16 PM, andy pugh  wrote:

> On 17 November 2014 16:59, Dave Cole  wrote:
>
> > The CL logic runs via the servo cycle as a real time task just like
> > hal?So aren't they running at the same speed?
>
> Sorry, I appear to have been labouring under a misapprehension for some
> time.
> classicladdr_rt runs in the servo thread like any other realtime module.
>
> My point about step signals is valid, but not for the reasons I thought it
> was.
>
> --
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Dave Cole
On 11/17/2014 12:16 PM, andy pugh wrote:
> On 17 November 2014 16:59, Dave Cole  wrote:
>
>> The CL logic runs via the servo cycle as a real time task just like
>> hal?So aren't they running at the same speed?
> Sorry, I appear to have been labouring under a misapprehension for some time.
> classicladdr_rt runs in the servo thread like any other realtime module.
>
> My point about step signals is valid, but not for the reasons I thought it 
> was.

I agree.   I would not use CL to redirect stepper signals.In fact 
there are a lot of things I would not use CL for.But it does
work well for general machine logic, but I use a lot of PLC's so CL 
seems very familiar to me.   Unfortunately CL does have a learning curve 
all its own which
turns a lot of people off.  They usually have to deal with Hal, but 
CL is optional.

Dave


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread andy pugh
On 17 November 2014 16:59, Dave Cole  wrote:

> The CL logic runs via the servo cycle as a real time task just like
> hal?So aren't they running at the same speed?

Sorry, I appear to have been labouring under a misapprehension for some time.
classicladdr_rt runs in the servo thread like any other realtime module.

My point about step signals is valid, but not for the reasons I thought it was.

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Dave Cole
On 11/17/2014 11:42 AM, andy pugh wrote:
> On 17 November 2014 16:34, Dave Cole  wrote:
>> I have one suggestion for this problem.
>>
>> Classic Ladder.
> For this application that might well work, though it would depend on
> the nature of the signal being manipulated.
>
> CL would be a poor choice for step signals, as CL is not realtime.
> Both LUT5 and mux_generic bb2 would work for steering step/dir signals
> around.
>
>

The CL logic runs via the servo cycle as a real time task just like 
hal?So aren't they running at the same speed?

I've never seen any latency issue with CL for machine control.

The editor is not real time.   But that can be hidden.

Dave


---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread andy pugh
On 17 November 2014 16:34, Dave Cole  wrote:
> I have one suggestion for this problem.
>
> Classic Ladder.

For this application that might well work, though it would depend on
the nature of the signal being manipulated.

CL would be a poor choice for step signals, as CL is not realtime.
Both LUT5 and mux_generic bb2 would work for steering step/dir signals
around.



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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Dave Cole

I have one suggestion for this problem.

Classic Ladder.

Hal is great, but when it comes to doing logic, at that level, ladder 
logic  rules..   :-)

Life is short, learn ladder.

Dave



On 11/17/2014 10:37 AM, andy pugh wrote:
> On 17 November 2014 15:11, Sebastian Kuzminsky  wrote:
>> Maybe we should deprecate the muxN components in favor of mux_generic?
> I think that there is some argument for this, one advantage is that it
> is easy to make the mux bigger without all the pin names changing.
> The downside, other than more complex declaration lines, is that it
> might be more CPU-intensive than the fixed-size components.
> Unlike the pre-existing mux modules a non-floating point mux_gen can
> run in a non-fp thread.
>

---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread andy pugh
On 17 November 2014 15:11, Sebastian Kuzminsky  wrote:
> Maybe we should deprecate the muxN components in favor of mux_generic?

I think that there is some argument for this, one advantage is that it
is easy to make the mux bigger without all the pin names changing.
The downside, other than more complex declaration lines, is that it
might be more CPU-intensive than the fixed-size components.
Unlike the pre-existing mux modules a non-floating point mux_gen can
run in a non-fp thread.

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] user space variables

2014-11-17 Thread andy pugh
On 17 November 2014 15:02, Kasey Matejcek  wrote:

> I was hopeing there is a bash command that would write to #4000  = .22
>
> Then in my file have g01 z#4000 and have it read there

I think you can do that with the Python interface, but not easily from Bash.

In Bash it is probably more expedient to set the G-code analogue inputs:

halcmd setp motion.analog-in-03 0.22

Then in G-code
M66 E3
#4000 = #5399


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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Sebastian Kuzminsky
On 11/17/2014 07:09 AM, andy pugh wrote:
> On 17 November 2014 13:50, Viesturs Lācis  wrote:
> 
>> There are lots of ways to skin that cat. I usually edit mux2.comp file
>> to change pin types to bit, save it under another name (mux2bit or
>> whatever)and then sudo comp install.
> 
> That seems like a lot of trouble when mux_generic exists.

mux_generic does everything the other 4 mux components do, and then some.

The only downside is that it's a little more complicated to use, because
the user has to figure out how to configure it for their use case.

Maybe we should deprecate the muxN components in favor of mux_generic?


-- 
Sebastian Kuzminsky

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] user space variables

2014-11-17 Thread Kasey Matejcek
Is there a way one can write to the a user space variables from a bash
script

I have a current M144 that I'm using when call it looks up data in and table
then I want to return it in a variable so that the Gcode can use that data

I can make this work inside the gcode file but I would like to set it
outside the file then read it back in the gcode

 

I was hopeing there is a bash command that would write to #4000  = .22

Then in my file have g01 z#4000 and have it read there

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Viesturs Lācis
2014-11-17 16:09 GMT+02:00 andy pugh :
> On 17 November 2014 13:50, Viesturs Lācis  wrote:
>
>> There are lots of ways to skin that cat. I usually edit mux2.comp file
>> to change pin types to bit, save it under another name (mux2bit or
>> whatever)and then sudo comp install.
>
> That seems like a lot of trouble when mux_generic exists.

That seems like reinventing the wheel, when I do not really pay
attention on what do other components actually do :)

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread andy pugh
On 17 November 2014 13:50, Viesturs Lācis  wrote:

> There are lots of ways to skin that cat. I usually edit mux2.comp file
> to change pin types to bit, save it under another name (mux2bit or
> whatever)and then sudo comp install.

That seems like a lot of trouble when mux_generic exists.

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Viesturs Lācis
2014-11-17 3:53 GMT+02:00 Kasey Matejcek :
> I'm working on a config with hal what I need is close to the mux is floating
> point  component but I only in bit form

There are lots of ways to skin that cat. I usually edit mux2.comp file
to change pin types to bit, save it under another name (mux2bit or
whatever)and then sudo comp install.

Viesturs

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread Kasey Matejcek
Thanks lut worked great I would never  have thought to use it for this

-Original Message-
From: Jeff Epler [mailto:jep...@unpythonic.net] 
Sent: Sunday, November 16, 2014 9:06 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] Hal mux

The "lut5" component can be used to implement arbitrary functions of up to 5
bit inputs.  Since the kind of lut you need has just three bit inputs, it is
a good candidate for being implemented by lut5.

http://linuxcnc.org/docs/html/man/man9/lut5.9.html
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Lut5

Specifically, you can use the "lut5.py" program to find the magic number for
a two-input lut:
$ python lut5.py -n3 '(i2 and i1) or (not i2 and i0)'
# expression = (i2 and i1) or (not i2 and i0)
#in: i4 i3 i2 i1 i0 out weight
# 0:  0  0  0  0  0  0
# 1:  0  0  0  0  1  1   0x2
# 2:  0  0  0  1  0  0
# 3:  0  0  0  1  1  1   0x8
# 4:  0  0  1  0  0  0
# 5:  0  0  1  0  1  0
# 6:  0  0  1  1  0  1   0x40
# 7:  0  0  1  1  1  1   0x80
# setp lut5.N.function 0xca
here, pin in-2 will function as the selection pin, and pins in-0 and
in-1 will function as the two pins to be selected from.  When in-2 is true,
the value from in-1 is selected; when it is false, the value from
in-0 is selected.

Jeff


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from
Actuate! Instantly Supercharge Your Business Reports and Dashboards with
Interactivity, Sharing, Native Excel Exports, App Integration & more Get
technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] linuxcnc/beaglebone gantry pendant

2014-11-17 Thread andy pugh
On 17 November 2014 01:02, Josiah Morgan  wrote:
> I have seen on the web that other people have had similar issues with
> standard linuxcnc builds so I don't think that the problem is related to
> the machinekit build.

it is likely that incremental jogging does not work in tele-op mode,
as discussed here
http://sourceforge.net/p/emc/mailman/emc-users/thread/52698dd...@steinkuehler.net/

If incremental jogging in non-trivial kinematics has been fixed then
it would have been fixed in the joints-axes-6 branch. I have no idea
if any of joints-axes has been merged into machinekit.

If you ask in the Machinekit mailing list you might be pointed in the
direction of a HAL component that handles gantry-homing while using
trivkins, and then incremental jogging will work.

Machinekit is diverging increasingly from LinuxCNC, but as far as I
know they have no separate documentation nor any support forum other
than the mailing list and some blogs.

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal mux

2014-11-17 Thread andy pugh
On 17 November 2014 01:53, Kasey Matejcek  wrote:

> This doesn't work because I can't find a component that works with only bit

mux_generic works with bits (and can convert between types internally
if required).
http://www.linuxcnc.org/docs/html/man/man9/mux_generic.9.html

However it is possible that Jeff's suggestion of LUT5 might be better,
it is a very powerful component.
An alternative to the lut5.py program for finding the value to use is
this google spreadsheet:
https://docs.google.com/spreadsheets/d/1_VlL39jUOPpS8Tt9mpRK-eaSTS6C6PHBDoE3JitvLzs/edit#gid=0

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

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.6.4

2014-11-17 Thread alex chiosso
Hi Aram.
Look at this video  from
YouTube .
It's well done and clear so you should understand the installation process
of the LCNC new version.
The same author made other interesting videos on the same argument
(upgrading to the latest version, latency test ) .
I like the Debian Wheezy installation (2.6.x) due to the xfce desktop much
easier than Ubuntu Unity Desktop.
I've installed LCNC on a new PC the last week using the instruction of the
video above and I've got it working.

Regards

Alex

On Sun, Nov 16, 2014 at 11:48 PM, linden  wrote:

> This list is just the selection for the install process not the actual
> LinuxCNC soft ware
> Just use #1 Graphical install and fallow the prompts. The default
> settings should be right for most situations if you get stuck or have
> any questions ask here and we will see what we can do.
>
>
> On 14-11-17 06:28 AM, Jon Elson wrote:
> > On 11/16/2014 02:38 PM, a k wrote:
> >> Hi
> >> i want to install emc2--2.6.4
> >> i down load it from linuxcnc
> >> 1st -- is 2.6.4 most current one?
> >> 2nd when i down load, it gives options
> >>
> >> 1install Graphical
> >> 2install (text)
> >> 3install Fail Safe
> >>
> >> question is which one do i need?
> >> i want to it look like 2.5.xxx  - not sure how to say it --like normal
> etc
> >> or better to ask what is difference between those 3 options for install
> >> emc2-2.6.4  ?
> >>
> >>
> > Try option 1 first.  This will work on most computer -
> > monitor combinations just fine.
> >
> > On some odd combinations, the screen will come up scrambled
> > and you can't see what
> > questions are being asked, or you get no display at all.  In
> > those cases, try option
> > 2.  it will use a very blocky character-based menu
> > selection, but will allow the install
> > to work on combinations where the install CD's OS can't set
> > up the screen resolution
> > correctly.  In both cases, the installed system will be the
> > same. these options
> > don't affect what is installed or how it is configured, they
> > only affect the way
> > the menus are displayed DURING the install procedure.
> >
> > I'm not sure what option 3 is for, it loads a very
> > stripped-down OS for the
> > install, and I think makes it impossible to update the
> > system during the install
> > because there's no network.
> >
> > And, there is no EMC2, and hasn't been for several years.
> >
> > Jon
> >
> >
> --
> > Comprehensive Server Monitoring with Site24x7.
> > Monitor 10 servers for $9/Month.
> > Get alerted through email, SMS, voice calls or mobile push notifications.
> > Take corrective actions from your mobile device.
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
>
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users