Re: [Emc-users] EMC2 and LabVIEW

2012-01-16 Thread Anders Wallin
 Hello gentlemen,
 We'd like to control a parallel robot with EMC2 and also with LabVIEW
 sometimes. I just wonder if any MESA FPGA card can be used with LabVIEW, or
 is there any other card with EMC2 and LabVIEW support? Or some way to
 connect EMC2 and LabVIEW (that's unlikely).
 I guess that we should have 2 separate control systems, but if there's a
 way to avoid it...

I've used LabView real-time and FPGA modules on Windows. There is a
LabView version for Linux, but last I checked there are no real-time
or FPGA toolboxes for Linux/LabView.

You could possibly write a Windows driver for a MESA card. I don't
know how easy/difficult this would be. If you had this then you could
use a LabView real-time program on Windows to control your machine and
then have emc2 on Linux use the same card. Possibly with the same
FPGA-firmware.
I think LabVIEW's own FPGA-toolbox is a wrapper around the freely
available Xilinx development tools. It works well with NIs own
FPGA-cards, but I'm not sure it's worth the trouble to try to program
a MESA card this way.

Anders

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 and LabVIEW

2012-01-16 Thread Andrew
2012/1/13 Karl Cunningham ka...@keckec.com

 Labview can talk TCP/IP. Maybe it can interface with EMC2 that way.


2012/1/16 Anders Wallin anders.e.e.wal...@gmail.com

 I've used LabView real-time and FPGA modules on Windows. There is a
  LabView version for Linux, but last I checked there are no real-time
 or FPGA toolboxes for Linux/LabView.

 You could possibly write a Windows driver for a MESA card. I don't
 know how easy/difficult this would be. If you had this then you could
 use a LabView real-time program on Windows to control your machine and
 then have emc2 on Linux use the same card. Possibly with the same
 FPGA-firmware.
 I think LabVIEW's own FPGA-toolbox is a wrapper around the freely
 available Xilinx development tools. It works well with NIs own
 FPGA-cards, but I'm not sure it's worth the trouble to try to program
 a MESA card this way.


Thanks, I'm afraid it's too complicated for us. We desided to start with
Adlink PCI-8136 card which has 6 encoder inputs and 6 analog outputs.
Maybe later it will be possible to think about drivers for a MESA card.

Andrew
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 and LabVIEW

2012-01-16 Thread andy pugh
On 16 January 2012 09:04, Andrew parallel.kinemat...@gmail.com wrote:

 Thanks, I'm afraid it's too complicated for us. We desided to start with
 Adlink PCI-8136 card which has 6 encoder inputs and 6 analog outputs.
 Maybe later it will be possible to think about drivers for a MESA card.

It is probably easier to write an EMC2 driver for the Adlink card.
If the encoder counts and analogue outputs are presented as registers
on the PCI bus then it is all fairly straightforward, this forum
thread tracks the development of a driver for an ISA card, which as
far as I know is working fine now, despite the fact that the driver
was written without ever seeing the card.
http://www.linuxcnc.org/index.php/english/component/kunena/?func=viewcatid=38id=10910

-- 
atp
The idea that there is no such thing as objective truth is, quite simply, wrong.

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2 and LabVIEW

2012-01-16 Thread Andrew
2012/1/16 andy pugh bodge...@gmail.com

 It is probably easier to write an EMC2 driver for the Adlink card.
 If the encoder counts and analogue outputs are presented as registers
 on the PCI bus then it is all fairly straightforward, this forum
 thread tracks the development of a driver for an ISA card, which as
 far as I know is working fine now, despite the fact that the driver
 was written without ever seeing the card.

 http://www.linuxcnc.org/index.php/english/component/kunena/?func=viewcatid=38id=10910


Thanks, you're helpful as always. It looks possible even for non-programmer
like me. When (and if) we have the card, I'll try to figure it out.

Andrew
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] EMC2 and LabVIEW

2012-01-13 Thread Andrew
Hello gentlemen,

We'd like to control a parallel robot with EMC2 and also with LabVIEW
sometimes. I just wonder if any MESA FPGA card can be used with LabVIEW, or
is there any other card with EMC2 and LabVIEW support? Or some way to
connect EMC2 and LabVIEW (that's unlikely).
I guess that we should have 2 separate control systems, but if there's a
way to avoid it...

Regards,
Andrew
--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users