Re: [Emc-developers] Where to inspect the latest documentation->GitHub (was Buildbot(s))

2024-09-20 Thread Marius Liebenberg


On 20/09/2024 16:06, Greg C wrote:

Support for Buster on the master branch was dropped with this commit by
Rene on July 7, 2024:

https://github.com/LinuxCNC/linuxcnc/commit/855577cd773817a585abc495e30fcd9c2405e79a

There was no warning or communication about it whatsoever (*at least none
that I saw).

Sorry to be the bearer of bad news.

-Greg

On Fri, Sep 20, 2024 at 9:32 AM andy pugh  wrote:


I do understand that we have to move forward but I need to mention that 
there are many many users that are still on Buster and will not be able 
to move to Bookworm as their hardware may not be able to run Bookworm. 
It is not feasible to expect hundreds of users to replace their PC's in 
order to be able to upgrade to the latest Linuxcnc.


So please do not drop the ball on the Buster users. At least not until 
there are a new stable Debian release. I don't care who says what about 
how stable Bookworm is, our experience in the field is that it is not. 
We install new customers on Buster and never look back. Not so on 
Bookworm. Unless the PC has an Intel NIC. For the rest, it is bad news.






On Fri, 20 Sept 2024 at 14:20, gene heskett  wrote:


Which buildbot are you using?


deb http://buildbot.linuxcnc.org/ buster master-rtpreempt

For some reason buildbot.linuxcnc.org isn't building buster debs for
master:
http://buildbot.linuxcnc.org/buildbot/grid
(but is for 2.9)

Oddly, neither is buildbot2, but that is building debs for Bullseye
and Bookworm.
http://buildbot2.highlab.com/debian/dists/

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] LinuxCNC 2.9.3 has been released

2024-07-13 Thread Marius Liebenberg

Awesome stuff. Thanks for all the hard work gents.

On 2024/07/12 21:35, andy pugh wrote:

LinuxCNC 2.9.3 has been released.

This is a bugfix release. Highlights include:

* Fix unintended move when using G42 for G70.
* Pass generated component man pages through preconv for UTF-8 support.
* Make it easier to figure out where the current G43 values are stored.
* QtVCP - Many updates
* Gmoccapy - Many updates
* QtPlasmac - Many updates
* QtDragon - Many updates

Packages have been prepared for:

Buster - uspace - amd64 (PC) armhf (Pi) arm64 (Pi with 64-bit kernels)
Buster - RTAI - amd64
Bullseye - uspace - amd64 (only)
Bookworm - uspace - amd64, arm64
Bookworm - RTAI - amd64

For existing users of 2.9.2 on the above platforms this should be
offered as an automatic update.

If anyone badly needs Bullseye debs for RTAI or arm64 / armhf then let
me know. (all but the amd64 uspace builds have to be manually created)

Contributors to this release are:

andypugh
Chad Woitas
CMorley
David Mueller
fsabbatini89
Greg Carl
Hans Unzner
Håvard F. Aasen
John Lama
John Thornton
Mark
Moses McKnight
Peter Wallace
Petter Reinholdtsen
Phillip Carter
Sigma1912
Steffen Möller
zz912

Full changelog:

Make warning about file endings more explicit for new users. (#3013)
strncpy -> rtapi_strlcpy for string termination (#2683)
2.9 (#2990)
Merge pull request #3012 from mark-v-d/fix_g70
Merge pull request #3010 from petterreinholdtsen/deb-closer-to-debian
Merge pull request #2946 from hansu/gmoccapy-de-translation-2.9
Merge pull request #2947 from Sigma1912/gmoccapy_dont-hide-recurrent-errors
Merge pull request #2688 from smoe/debian_nocheck_docs
Merge pull request #2566 from LinuxCNC/2.9-gcode-g43
Merge pull request #2562 from petterreinholdtsen/2.9-g38-3-auto-probe
Fix unintended move when using G42 for G70.
Adjust how files are distributed into binary packages.
Merge pull request #3007 from petterreinholdtsen/man-component-asciiart-nbsp
Merge pull request #3006 from petterreinholdtsen/man-component-utf-8
Use non-breaking space in component documentation ASCII art.
Pass generated component man pages through preconv for UTF-8 support.
Merge pull request #3009 from petterreinholdtsen/po4a-download-follow-location
Handle github CI http redirects when downloading po4a.
Merge pull request #2808 from havardAasen/pthread-retval
Fix incorrecrt buster apt-source in updating docs
z_level_compensation component -remove DOS endings
docs: linuxcnc-uspace-dev rather than linuxcnc-dev in mesa_modbus.adoc
Merge pull request #2991 from Sigma1912/patch-1
docs: hal_gpio explain the purpose and detination location of the rules file.
qtvcp -HAL bar: fix ability to set HAL pin name
Update interp_convert.cc
qtvcp -qt_action: fix system shutdown function
qtaxis -fix progressbar
qtvcp -gcode_editor -round up the lines done calculation
qtvcp -geditor: fix the lexer button calls
qtvcp -qcode editor: fix error with reloading with no program loaded
qtvcp -pstat: fix an error with designer loading on some systems
mitsub_vfd -add some details to usage text -serial port permissions
qtvcp -screenoption: fix syntax warning
qtvcp -qt_graphics: need to call update() when double clicking to clear plot
qtvcp -gcode_editor: reload program when reload STATUS message is sent
qyvcp -gcode_graphics: clear plot lines when reloading
qtvcp -screenoption: fix preference file path of just file name
posemath: fix for arc to circle transition
qtdragon_hd -fix Z level compensation: never compensates
HAL component -z_level_compensation: fix nan calculation error
qtplasmac: conv_polygon fix variable name
qtplasmac: fix button_normal “pressed” color
qtplasmac: fix button interlock, remove unused variables
qtvcp: remove links to nonexistent image files
gmoccapy: don’t translate numeric labels
qtdragon/hd update version
qtdragon/hd -add ability to set camera number
gmoccapy: update german translation for 2.9
Merge pull request #2955 from phillc54/phillc54/pncconf
pncconf: don’t sort firmware names
Merge pull request #2838 from hansu/issue-2820
pncconf: overwrite gmoccapy_postgui.hal and add warning
pncconf: generate connections to display tooloffset in gmoccapy
qtplasmac: check for valid default material
hal_stream_create: fix bogus error check
Update getting-linuxcnc.adoc
don’t hide recurrent gcode errors
gmoccapy: some spelling fixes
docs: fix typo in gmoccapy.adoc
Merge pull request #2837 from hansu/gmoccapy-800x600
Merge pull request #2911 from hansu/gmoccapy-reorder-settings-page
gmoccapy: updated docs and release notes
gmoccapy: fix gremlin view p wasn’t applied at startup
gmoccapy: add configuration for 800x600
gmoccapy_3_4_8: updated docs and release notes
gmoccapy: re-order settings
Merge pull request #2943 from havardAasen/modal-table
docs: Reference correct tables
docs: Don’t hardcode multiple lines in table
docs: Update M-code modal group 5
qtplasmac: gcode error message
Merge pull request #2935 from Sigma1912/2.9-g92-fix-active-gcode
hal_gpio: Remove misleading comments
qtd

Re: [Emc-developers] List of includes for components

2024-04-18 Thread Marius Liebenberg

Hi Andy, I am using C.

On 2024/04/18 10:43, andy pugh wrote:

On Wed, 17 Apr 2024 at 10:08, Marius Liebenberg 
wrote:


Is there a document that lists all the includes (modules) that can be
used to develop a component for linuxcnc?


Not that I know of.

  Are you talking about Python or C?




___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] List of includes for components

2024-04-17 Thread Marius Liebenberg

Hi,

Is there a document that lists all the includes (modules) that can be 
used to develop a component for linuxcnc? And maybe something to tell 
what functions are available for each included module?





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Redis for degugging

2024-02-10 Thread Marius Liebenberg

Hi

I used Redis many years ago to do very basic debugging by looking at 
some internal variables. Does anyone still use that or know if we still 
can use Redis?


Regards

Marius



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Compiling Mesa bit files

2019-08-31 Thread Marius Liebenberg

Hi All,

I am trying my hand at getting my own mesa pin files compiled. I am 
getting this error :


C:\xxx\5i25\configs\hostmot2\source\hostmot2\sserialwa.vhd" Line 282: 
Cannot find  in library 


I dont see a VHD file in the directory but there is a zip file with some 
source in that is named sslbp. I take it that I have to compile that 
somehow but I have no idea how. Any suggestions?


P.S. I am compiling the code for hm2pci project

--

Regards / Groete
Marius D. Liebenberg
082 698 3251.


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parameter update rate

2019-04-27 Thread Marius Liebenberg

Thanks Andy

Just to make sure that I understand it correctly.

If I read the position or velocity at every servo loop at say 1ms, and 
my step rate is at 100khz, I must still work out the steps required 
between every position given at the loop rate.


On 4/27/2019 12:18 PM, andy pugh wrote:

On Sat, 27 Apr 2019 at 09:49, Marius Liebenberg  wrote:


At what rate is the velocity or position parameters of the StepGen
updated? Is that rate constant?

It should be the servo thread rate, and constant.





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Parameter update rate

2019-04-27 Thread Marius Liebenberg

Hi all

At what rate is the velocity or position parameters of the StepGen 
updated? Is that rate constant? And is acceleration and deceleration 
already represented in the value?


Regards

Marius


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Gmoccapy fails to load on Live CD - Uspace

2017-11-27 Thread Marius Liebenberg

Hi

Gmoccapy fails to load with the following error when run on the latest 
live CD installation from here 
http://www.linuxcnc.org/testing-stretch-rtpreempt/linuxcnc-stretch-uspace-amd64-r9.iso



Found an error!
The following information may be useful in troubleshooting:

Traceback (most recent call last):
File "/usr/bin/gmoccapy", line 102, in 
from gmoccapy import player # a class to handle sounds
File "/usr/lib/python2.7/dist-packages/gmoccapy/player.py", line 27, in 


import gst
ImportError: No module named gst



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Linuxcnc Configuration selector fails

2017-11-27 Thread Marius Liebenberg

Hi

I just installed a machine from the Live CD for Uspace to use the mesa 
7i76 on. There are several problems but let me start with the 
Configuration Selector that just hangs no matter what I select. It will 
not close either.


This is the image file I used.

http://www.linuxcnc.org/testing-stretch-rtpreempt/linuxcnc-stretch-uspace-amd64-r9.iso




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg

 Subject: Re: [Emc-developers] INI edit from inside gui


On 11/02/2017 07:42 AM, Marius Liebenberg wrote:
I do a lot of upgrades to Chinese routers from their controller to 
Mach3. I have been using an Atom type mother board for the last five 
years together with a detuned Windows XP installation. It is always a 
parallel port driver installation.
I am finding it more and more difficult to get motherboards that will 
support XP and today my supplier warned me that the motherboards of 
the future will not install XP at all.


The reason that I install Mach3 with a parallel breakout is purely 
because it is so easy to do and my customers do not need to learn 
linux.
Now I am thinking that the time has maybe come to do a Mach 
replacement controller that will be just as easy but running linuxcnc. 
If I use Gmoccapy for instance and add a page or two that can edit a 
configuration similar to what one does in Mach, then there might be 
less resistance to using linuxcnc.


So I would imagine that there will be a matrix of pins and signals 
that could be configured from within the gui and a standard INI file 
with parameters for calibration of motor parameters and others.


Will it be possible to reload or restart linuxcnc from inside the gui 
and more so, what do the gurus think of such and idea? Is it at all 
feasible?



Why do you want to restart Linuxcnc from within its own GUI?  Seems 
like you should be able to set up the configuration once and then just 
keep using the same setup, possibly with editing the resolution, axis 
limits and such.  For software generated steps, there is a setup wizard 
that handles that.  It is not run from within LinuxCNC, but is an 
external program that writes the configs file set.


Jon
When I asked the question I did not know about the setp function for 
parameters. I am fully aware of the config programs. I have been using 
linuxcnc for many years :). I do however think if the easy setup methods 
of Mach3 is emulated for at least parallel port driven configs, it would 
make the transition from Mach3 to linuxcnc much easier. Especially for 
not geek users. I dont see any reason why it cannot be done from within 
a GUI like Gmoccapy.




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
Ah well that would be just what is needed. I will look into the 
possibility to do a Mach replacement system then.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" 
Cc: "EMC developers" 
Sent: 2017-11-02 15:21:50
Subject: Re: Re[2]: [Emc-developers] INI edit from inside gui

On 2 November 2017 at 13:12, Marius Liebenberg  
wrote:
 I am aware of those functions. It is no problem to read and write the 
INI file from within the GUI but getting the parameters to reload.


You don't need to reload them. emccalib does two things, it changes the 
settings on the live system with "setp" and also writes to the INI for 
the next time the system is loaded.


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is 
designed for the especial use of mechanical geniuses, daredevils and 
lunatics."

— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
 I am aware of those functions. It is no problem to read and write the 
INI file from within the GUI but getting the parameters to reload. I 
will look at those procedures to see how it is done.


 On 2 November 2017 at 13:04, andy pugh  wrote:



 You can already do this inside Axis.


And, apparently, GScreen an GMoccaPy.
https://github.com/LinuxCNC/linuxcnc/search?l=Python&q=emccalib&type=&utf8=%E2%9C%93

--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] INI edit from inside gui

2017-11-02 Thread Marius Liebenberg
I do a lot of upgrades to Chinese routers from their controller to 
Mach3. I have been using an Atom type mother board for the last five 
years together with a detuned Windows XP installation. It is always a 
parallel port driver installation.
I am finding it more and more difficult to get motherboards that will 
support XP and today my supplier warned me that the motherboards of the 
future will not install XP at all.


The reason that I install Mach3 with a parallel breakout is purely 
because it is so easy to do and my customers do not need to learn linux.
Now I am thinking that the time has maybe come to do a Mach replacement 
controller that will be just as easy but running linuxcnc. If I use 
Gmoccapy for instance and add a page or two that can edit a 
configuration similar to what one does in Mach, then there might be less 
resistance to using linuxcnc.


So I would imagine that there will be a matrix of pins and signals that 
could be configured from within the gui and a standard INI file with 
parameters for calibration of motor parameters and others.


Will it be possible to reload or restart linuxcnc from inside the gui 
and more so, what do the gurus think of such and idea? Is it at all 
feasible?



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Mesa RS-422 hal example

2017-09-21 Thread Marius Liebenberg

Thanks a lot Alexander. That looks like the right thing.
Do you have a snippet that shows how to instantiate and connect?

-- Original Message --
From: "Alexander Rössler" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-09-21 18:10:38
Subject: Re: [Emc-developers] Mesa RS-422 hal example


Hello Marius,

The PktUart HAL driver should work for you. I implemented something
similar recently. There is an example in the Machinekit sources.

Best regards,
Alexander

Marius Liebenberg writes:


 Hi
 I asked this on the EMC list but thought it should be more relevant
 here.

 I need to write a custom RS-422 protocol to control a plasma cutter. 
I

 have a mesa 7i44 (amongst other's ) on the system.
 I have never used or seen any examples of how to communicate to 
custom

 hardware via the RS-422 on the mesa cards. Is there anyone out there
 that has some examples that I can look at to get started please?
 Or some advise will do as well thanks.



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 743 6064


 ---
 This email has been checked for viruses by Avast antivirus software.
 https://www.avast.com/antivirus
 
--

 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Emc-developers mailing list
 Emc-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Alexander Rössler
alexander@roessler.systems
+43 680 1348338
Lebnergasse 1/7/7
1210 Wien - Austria
ATU72251528

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Mesa RS-422 hal example (canopen messages?)

2017-09-13 Thread Marius Liebenberg


Hmm, the documentation and components mention do not seem to exist in 
master branch. 
http://linuxcnc.org/docs/devel/html/drivers/hostmot2.html
I also had a look in 2.7 git and could not locate the uart comps. Any 
links to git would be appreciated
Moving forward, plasma activity is going to be in master branch due to 
joint axis and Dewey's external offsets branch so it would be good to 
restore this.


I'm assuming Marius wants to talk to a Hypertherm plasma cutter using 
their documented modbus protocol.

That is precisely what I have to do. A HPR260 plasma source.


When I've thought about this problem, I did not think serial comms 
should be in real time but in user space. In my config, a gcode M67 E0 
Q440 is sent to the glade screen python handler where it is decoded as 
"Set plasma amps to 40 amps". Similarly for air pressure. I'm not doing 
anything with this command yet. There are any number of modbus 
libraries for python so I was hoping if I knew how to access the uart, 
I could write commands with a high level python routine. I'm assuming 
Python could access the uart functions Andy mentioned?


Pretty sure the Gmocappy plasma GUI and its supporting plasma.py I've 
modified was written by Marius so thanks
I will have to add quite a bit of functions and a screen or two to 
Gmoccapy in order to handle the requirements for the Hypertherm HPR260






Rod Webster
0435 765 611
Vehicle Modifications Network
http://www.vehiclemods.net.au/


On 13 September 2017 at 04:02, Marius Liebenberg 
 wrote:



On 12 September 2017 at 10:47, Marius Liebenberg 
 wrote:


> >You need a Mesa bitfile which puts UARTS on some of the 7i44 
ouputs


> Does this apply to the 7i80 or 7i44?

7i80 bitfile.

> > Whatever you use, you need to find a way to work out where you 
are in

> > the byte stream.

> Does this imply that the data stream on the UART is not all mine 
and that there are other info being sent ?


No, it is all yours, but once your data spans multiple packets you 
need to work out where you are in the byte stream. This can be done 
simply by timing, if there is a longer pause between the start and 
end packets than the inter-byte gap, or some protocols have byte 
patterns that can not exist in the data as frame markers.

Or a state machine if the frames are predictable as mine is.
Something like this:-
> = Start of message

3 byte command ID

Data

2 byte checksum

< = End of message

Sample: >0011C2<





> Does the mesa_uart.comp serve as an example only or is it a
> loadable component.

If you have uarts in your firmware it should work. I have used a very 
similar component to send data from an Arduino to a Mesa card.

That is interesting and might open a whole lot of scope.



--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is 
designed for the especial use of mechanical geniuses, daredevils and 
lunatics."

— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Mesa RS-422 hal example (canopen messages?)

2017-09-12 Thread Marius Liebenberg



On 12 September 2017 at 10:47, Marius Liebenberg 
 wrote:


> >You need a Mesa bitfile which puts UARTS on some of the 7i44 ouputs

> Does this apply to the 7i80 or 7i44?

7i80 bitfile.

> > Whatever you use, you need to find a way to work out where you are 
in

> > the byte stream.

> Does this imply that the data stream on the UART is not all mine and 
that there are other info being sent ?


No, it is all yours, but once your data spans multiple packets you need 
to work out where you are in the byte stream. This can be done simply 
by timing, if there is a longer pause between the start and end packets 
than the inter-byte gap, or some protocols have byte patterns that can 
not exist in the data as frame markers.

Or a state machine if the frames are predictable as mine is.
Something like this:-
> = Start of message

3 byte command ID

Data

2 byte checksum

< = End of message

Sample: >0011C2<





> Does the mesa_uart.comp serve as an example only or is it a
> loadable component.

If you have uarts in your firmware it should work. I have used a very 
similar component to send data from an Arduino to a Mesa card.

That is interesting and might open a whole lot of scope.



--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is 
designed for the especial use of mechanical geniuses, daredevils and 
lunatics."

— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Mesa RS-422 hal example (canopen messages?)

2017-09-12 Thread Marius Liebenberg

Thanks Andy.

See below inline

-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" ; "EMC developers" 


Cc: "Nicklas Karlsson" 
Sent: 2017-09-12 18:52:50
Subject: Re: [Emc-developers] Mesa RS-422 hal example (canopen 
messages?)


On 11 September 2017 at 09:52, Marius Liebenberg 
 wrote:


 Yes I am aware of that. I will be using a very short packet message 
system.
 The thing I cannot get my head around is how my compoenent will 
interface

 with the mesa RS-422 port. Is it just a pin called MESA-XXX-RX and
 MESA-XXX-TX and my component connect to that in hal or is it a low 
level

 interface of sorts. For this I have ot seen any examples.


There is some (very limited) documentation here:
http://linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#UART

You need a Mesa bitfile which puts UARTS on some of the 7i44 ouputs
rather than the default smart-serial. Until you haave UARTS in the
firmware you won't get anywhere.

Does this apply to the 7i80 or 7i44?


I do hope, eventually, to make the UART and BSPI configurable in the
same way as the absolute encoders. At the time I did the UART driver
the smart-serial auto-discovery wasn't there, so load-time pin
definition wasn't there. The absolute encoders use the smart-serial
dynamic pinout code.

Whatever you use, you need to find a way to work out where you are in
the byte stream. A synch-byte might already exist in the protocol you
are trying to use.
Does this imply that the data stream on the UART is not all mine and 
that there are other info being sent ?




Does the mesa_uart.comp serve as an example only or is it a loadable 
component. (sorry I dont have a linuxcnc machine running until later 
tomorrow)


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Mesa RS-422 hal example (canopen messages?)

2017-09-11 Thread Marius Liebenberg



-- Original Message --
From: "Nicklas Karlsson" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-09-11 17:46:49
Subject: Re: [Emc-developers] Mesa RS-422 hal example (canopen 
messages?)


I have similar problem and plan to or actually already use CANopen 
messages. One or more messages of the form 16 bit cob id + 8 bytes 
payload and 16 bit modbus CRC at the en of the message(s). At least to 
start with I implement only the parts I need. Real time communication 
is usually implemented with all payload used for real time 
communication and there is SDO messages for configuration or similar.


I would be happy to share the little code I have and cooperate. I have 
still not checked the standards for sending CANopen messages over other 
medium than CAN networks and any comments about this would be 
appreciated.



That would be great.




Unless you already know it RS-422 is like ordinary UART with full 
duplex communication and and differential signals which make possible 
rather high communication speed although only between two nodes.
Yes I am aware of that. I will be using a very short packet message 
system. The thing I cannot get my head around is how my compoenent will 
interface with the mesa RS-422 port. Is it just a pin called MESA-XXX-RX 
and MESA-XXX-TX and my component connect to that in hal or is it a low 
level interface of sorts. For this I have ot seen any examples.


Regards Nicklas Karlsson



On Mon, 11 Sep 2017 13:40:09 +
"Marius Liebenberg"  wrote:


 Hi
 I asked this on the EMC list but thought it should be more relevant
 here.

 I need to write a custom RS-422 protocol to control a plasma cutter. 
I

 have a mesa 7i44 (amongst other's ) on the system.
 I have never used or seen any examples of how to communicate to 
custom

 hardware via the RS-422 on the mesa cards. Is there anyone out there
 that has some examples that I can look at to get started please?
 Or some advise will do as well thanks.



 -
 Regards / Groete

 Marius D. Liebenberg
 +27 82 698 3251
 +27 12 743 6064


 ---
 This email has been checked for viruses by Avast antivirus software.
 https://www.avast.com/antivirus
 
--

 Check out the vibrant tech community on one of the world's most
 engaging tech sites, Slashdot.org! http://sdm.link/slashdot
 ___
 Emc-developers mailing list
 Emc-developers@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Mesa RS-422 hal example

2017-09-11 Thread Marius Liebenberg

Hi
I asked this on the EMC list but thought it should be more relevant 
here.


I need to write a custom RS-422 protocol to control a plasma cutter. I 
have a mesa 7i44 (amongst other's ) on the system.
I have never used or seen any examples of how to communicate to custom 
hardware via the RS-422 on the mesa cards. Is there anyone out there 
that has some examples that I can look at to get started please?

Or some advise will do as well thanks.



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Another spindle + gearbox component

2017-08-21 Thread Marius Liebenberg
Ah Les just in time for me to test. I recently moved off the grid and 
now use a generator to run my machines. The "soft start" will help a 
lot. My lathe gearbox spindle component is not all that successful 
either. I am about to upgrade all my machines to the latest LCNC as 
well.




-- Original Message --
From: "Les Newell" 
To: "EMC developers" 
Sent: 2017-08-18 16:57:36
Subject: [Emc-developers] Another spindle + gearbox component


Another one from the vault...

This component will control a spindle with adjustable acceleration and 
deceleration.
It is designed for use with non-servo spindle drives that have separate 
fwd/reverse inputs, such as DC drives and inverters.
If a spindle encoder is available it is can tailor the acceleration and 
deceleration to the spindle load.
If not the spindle speed is simulated. The component allows for 
gearboxes with up to 16 gears. Each gear has individual control of 
speeds, acceleration, driver gain and direction.


I originally wrote this for my lathe as it makes the lights in my 
workshop dim if it starts up at full acceleration.


Les



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg

Have a look here
http://www.dac-intl.com/products/contact-lens-iol-equipment/new-alme-lathe/

-- Original Message --
From: "Niemand Sonst" 
To: "EMC developers" 
Sent: 2017-07-04 19:28:44
Subject: Re: [Emc-developers] Finest resolution of Lcnc

I am surprised about this. I am working as a meteorology application 
engineer about 20 Years now, mostly in metal working industry.


It might be possible to guide a machine with accuracy of 1 µm, but how 
will you check that accuracy.
You may take a laser interferometer and you will get a result, but is 
that one correct? And that is only one dimension!


But accuracy and repeatability mus be holded under all working 
circumstances to get process reliability. That would require 
temperature controlled room, machine and cooling. At my company we do 
calibrate about 3500 measurement tools every day approved according 
German rools (DAkkS).


We are not allowed to switch of the light, not even between Christmas 
and NewYear, as that would result in accuracy loss of our flatness 
normals.

So IMHO I do have a little knowledge about accuracy.

I think we are talking about different stuff, positioning a machine at 
that accuracy might well be possible, but holding an accuracy with a cg 
and cgk Factor of 1.33 for the hole operating area of the machine and 
hole the year is another part of the work.


In optics work, the dimension is less important than the contour of the 
peace, In that industry I sell WhiteLight microscops to control form of 
lens and roughness. But that is another problem.


Regards Norbert

Am 04.07.2017 um 18:54 schrieb Eric Keller:

On Tue, Jul 4, 2017 at 12:01 PM, Niemand Sonst  wrote:


But if you speak about 0.1 µm it is useless to build a lathe on that
accuracy, as you will never be able to turn a part at that accuracy. 
Just a

few degrees temperature difference will destroy the repeatability.

The people that work on optics would be really surprised to hear this, 
also

diamond turning work is done at much finer levels than 100 nM.  Sure,
thermal growth is an issue. People really want to do work down in the 
1nM

range because that's what their requirements are.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg

It happens to be a contact lens lathe that I have to build

-- Original Message --
From: "Bertho Stultiens" 
To: "EMC developers" 
Sent: 2017-07-04 18:04:14
Subject: Re: [Emc-developers] Finest resolution of Lcnc


On 07/04/2017 06:01 PM, Niemand Sonst wrote:
 Gmoccapy is not the issue, as you can add more digits to the DRO on 
the

 settings page. But if you speak about 0.1 µm it is useless to build a
 lathe on that accuracy, as you will never be able to turn a part at 
that

 accuracy. Just a few degrees temperature difference will destroy the
 repeatability.

 Just calculate 1 Degree is 1 µm length difference on every 100 mm.


And yet we have a lathe that can do contact-lens cutting at optical
accuracy (<= 10 nm, without a need for subsequent surface polishing).

It can be done, but it is a lot of control work and quite expensive.


--
Greetings Bertho

(disclaimers are disclaimed)

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg
There are lathes that do that already. The lathe is temperature 
controlled and the slides run on air bearings with a tolerance of better 
than 2 or 3 nano meters. The job is given in 10 micron steps and I have 
to work the gcode from there


-- Original Message --
From: "Niemand Sonst" 
To: emc-developers@lists.sourceforge.net
Sent: 2017-07-04 18:01:54
Subject: Re: [Emc-developers] Finest resolution of Lcnc

Gmoccapy is not the issue, as you can add more digits to the DRO on the 
settings page. But if you speak about 0.1 µm it is useless to build a 
lathe on that accuracy, as you will never be able to turn a part at 
that accuracy. Just a few degrees temperature difference will destroy 
the repeatability.


Just calculate 1 Degree is 1 µm length difference on every 100 mm.

Norbert

Am 04.07.2017 um 17:15 schrieb Marius Liebenberg:
The DRO's will have to be modified a bit I suppose. In order to show 
the larger travels. The max travel is about 300mm.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-07-04 13:59:32
Subject: Re: [Emc-developers] Finest resolution of Lcnc

On 4 July 2017 at 12:10, Marius Liebenberg  
wrote:


 The question I have is - will I be able to control the lathe to say 
0.1

 micro meter with Lcnc using the Gmoccapy front end.


You could easily configure the machine to use microns as the base 
unit

(then G20 would work in thousandths of an inch).


-- atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg

Correct the machine will run between 21 and 23 degrees Celsius always.

-- Original Message --
From: "Eric Keller" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-07-04 17:29:57
Subject: Re: [Emc-developers] Finest resolution of Lcnc

I work with a machine that displays out to an angstrom iirc. It uses mm 
as the main units.  That's a lot of digits. I don't think I would want 
to work in microns. I know people are trying to hold dimensions on the 
order of a nanometer with similar machines.  Our machine isn't tuned 
quite that well, and you need a temperature controlled environment


On Tue, Jul 4, 2017 at 11:15 AM, Marius Liebenberg 
 wrote:
The DRO's will have to be modified a bit I suppose. In order to show 
the larger travels. The max travel is about 300mm.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-07-04 13:59:32
Subject: Re: [Emc-developers] Finest resolution of Lcnc

On 4 July 2017 at 12:10, Marius Liebenberg  
wrote:


 The question I have is - will I be able to control the lathe to say 
0.1

 micro meter with Lcnc using the Gmoccapy front end.


You could easily configure the machine to use microns as the base 
unit

(then G20 would work in thousandths of an inch).


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg
The DRO's will have to be modified a bit I suppose. In order to show the 
larger travels. The max travel is about 300mm.


-- Original Message --
From: "andy pugh" 
To: "Marius Liebenberg" ; "EMC developers" 


Sent: 2017-07-04 13:59:32
Subject: Re: [Emc-developers] Finest resolution of Lcnc

On 4 July 2017 at 12:10, Marius Liebenberg  
wrote:


 The question I have is - will I be able to control the lathe to say 
0.1

 micro meter with Lcnc using the Gmoccapy front end.


You could easily configure the machine to use microns as the base unit
(then G20 would work in thousandths of an inch).


--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Finest resolution of Lcnc

2017-07-04 Thread Marius Liebenberg

Hi All
I have been asked to put a very accurate and delicate lathe together. I 
have to reach a repeatable resolution of sub micron values. I have found 
slides and screws that will allow me to do that.
The question I have is - will I be able to control the lathe to say 0.1 
micro meter with Lcnc using the Gmoccapy front end.




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] THC with 5 axis plasma

2016-09-21 Thread Marius Liebenberg
The THC component can run in the servo loop and I can limit the rate 
that it changes by. I have a rate setting on the plasma screen for that 
purpose.
Let me see if I understand it then.
I will measure the arc voltage and if it is out of spec I will tweak 
pivot-length at a low rate to adjust the distance of the torch from the 
material. The change will be in line with where the torch is pointing at 
the moment and it will remain on the cutting line. So a number of axis's 
will be influenced at the same time, possibly.


Subject: Re: [Emc-developers] THC with 5 axis plasma

>Pivot-length is a hal pin which modifies the kinematics calculations 
>which are made at servo rate. You can change it's value as often as 
>that.
>
>As long as the changes are smooth enough to not to generate following 
>errors, you should be OK.
>
>One way I imagine to do that is using M67 and connecting the analog 
>output pin to pivot-length.
>
>
>
>
>
>--------
>De: Marius Liebenberg 
>Enviado: miércoles, 21 de septiembre de 2016 15:05
>Para: EMC developers
>Asunto: Re: [Emc-developers] THC with 5 axis plasma
>
>   That sounds interesting. Can one change the pivot length during a 
>move?
>
>-- Original Message --
>From: "Lisandro Massera" 
>To: "EMC developers" 
>Sent: 2016-09-21 13:52:33
>Subject: Re: [Emc-developers] THC with 5 axis plasma
>
> >5axiskins exports a pin pivot-length which is the tool length offset.
> >
> >You will have to be careful when conecting this pin to the THC because
> >the THC can have big steps in its output which could cause following
> >errors. Maybe you should connect the output to a filter and then the
> >output of the filter to the kinematics module pin.
> >
> >Lisandro
> >
> >
> >
> >De: Andrew 
> >Enviado: miércoles, 21 de septiembre de 2016 11:31
> >Para: EMC developers
> >Asunto: Re: [Emc-developers] THC with 5 axis plasma
> >
> >You need to introduce virtual axis W for that purpose.
> >There's this config... 5axiskins or smth.
> >
> >Andrew
> >
> >2016-09-21 14:11 GMT+03:00 Marius Liebenberg :
> >
> >>I agree. It is more al the signal level or HAL level or component
> >>level
> >>  that I am wondering about. You cannot simply change the Z value as 
>we
> >>do
> >>  with THCUD. There are A and C axis involved now as well.
> >--
> >___
> >Emc-developers mailing list
> >Emc-developers@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/emc-developers
>Emc-developers Info Page - SourceForge
>lists.sourceforge.net
>The Enhanced Machine Controller (EMC) is a CNC machine controller that 
>runs on Linux and is available under the terms of the GNU General 
>Public License.
>
>
> >Emc-developers Info Page -
> >SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-developers>
> >lists.sourceforge.net
> >The Enhanced Machine Controller (EMC) is a CNC machine controller that
> >runs on Linux and is available under the terms of the GNU General
> >Public License.
> >
> >
> >
> >--
> >___
> >Emc-developers mailing list
> >Emc-developers@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/emc-developers
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] THC with 5 axis plasma

2016-09-21 Thread Marius Liebenberg
  That sounds interesting. Can one change the pivot length during a move?

-- Original Message --
From: "Lisandro Massera" 
To: "EMC developers" 
Sent: 2016-09-21 13:52:33
Subject: Re: [Emc-developers] THC with 5 axis plasma

>5axiskins exports a pin pivot-length which is the tool length offset.
>
>You will have to be careful when conecting this pin to the THC because 
>the THC can have big steps in its output which could cause following 
>errors. Maybe you should connect the output to a filter and then the 
>output of the filter to the kinematics module pin.
>
>Lisandro
>
>
>
>De: Andrew 
>Enviado: miércoles, 21 de septiembre de 2016 11:31
>Para: EMC developers
>Asunto: Re: [Emc-developers] THC with 5 axis plasma
>
>You need to introduce virtual axis W for that purpose.
>There's this config... 5axiskins or smth.
>
>Andrew
>
>2016-09-21 14:11 GMT+03:00 Marius Liebenberg :
>
>>I agree. It is more al the signal level or HAL level or component 
>>level
>>  that I am wondering about. You cannot simply change the Z value as we 
>>do
>>  with THCUD. There are A and C axis involved now as well.
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
>Emc-developers Info Page - 
>SourceForge<https://lists.sourceforge.net/lists/listinfo/emc-developers>
>lists.sourceforge.net
>The Enhanced Machine Controller (EMC) is a CNC machine controller that 
>runs on Linux and is available under the terms of the GNU General 
>Public License.
>
>
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] THC with 5 axis plasma

2016-09-21 Thread Marius Liebenberg
John
The A rotates the head around the  X axis and the A rotates the head 
around the Z axis. If the torch is sitting at 45 deg and you pull up the 
Z axis it will cut on another line. True the flame is further away but 
also not on the same cut line any more


-- Original Message --
From: "John Thornton" 
To: "Marius Liebenberg" ; "EMC developers" 

Sent: 2016-09-21 14:06:28
Subject: Re: [Emc-developers] THC with 5 axis plasma

>Z is still the only axis that controls the torch height. A and C should 
>be programmed to follow the path needed for the part. Just trying to 
>visualize that machine in my head... is A and C rotating Z or the part?
>
>JT
>
>On 09/21/2016 06:11 AM, Marius Liebenberg wrote:
>>I agree. It is more al the signal level or HAL level or component 
>>level
>>that I am wondering about. You cannot simply change the Z value as we 
>>do
>>with THCUD. There are A and C axis involved now as well.
>>
>>
>>-- Original Message --
>>From: "John Thornton" 
>>To: "Marius Liebenberg" ; "EMC developers"
>>
>>Sent: 2016-09-21 12:56:59
>>Subject: Re: [Emc-developers] THC with 5 axis plasma
>>
>>>Cutting a bevel the thickness is different than the sheet but the arc
>>>distance is the same for the thickness being cut IMHO.
>>>
>>>JT
>>>
>>>
>>>On 09/21/2016 12:16 AM, Marius Liebenberg wrote:
>>>>Hi All
>>>>I am starting a build of a 5 axis plasma machine with bevelling
>>>>features. The problem I am facing is not understanding how I will
>>>>implement the THC on a 5 axis setup. I am not sure just changing the 
>>>>Z
>>>>axis feedback or command signal will do the trick here. If a bevel 
>>>>is
>>>>being cut thing surely look different.
>>>>Any ideas or brain storming is welcome please.
>>>>
>>>>
>>>>
>>>>
>>>>-
>>>>Regards / Groete
>>>>
>>>>Marius D. Liebenberg
>>>>+27 82 698 3251
>>>>+27 12 743 6064
>>>>--
>>>>___
>>>>Emc-developers mailing list
>>>>Emc-developers@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>>--
>>___
>>Emc-developers mailing list
>>Emc-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] THC with 5 axis plasma

2016-09-21 Thread Marius Liebenberg
  I agree. It is more al the signal level or HAL level or component level 
that I am wondering about. You cannot simply change the Z value as we do 
with THCUD. There are A and C axis involved now as well.


-- Original Message --
From: "John Thornton" 
To: "Marius Liebenberg" ; "EMC developers" 

Sent: 2016-09-21 12:56:59
Subject: Re: [Emc-developers] THC with 5 axis plasma

>Cutting a bevel the thickness is different than the sheet but the arc 
>distance is the same for the thickness being cut IMHO.
>
>JT
>
>
>On 09/21/2016 12:16 AM, Marius Liebenberg wrote:
>>Hi All
>>I am starting a build of a 5 axis plasma machine with bevelling
>>features. The problem I am facing is not understanding how I will
>>implement the THC on a 5 axis setup. I am not sure just changing the Z
>>axis feedback or command signal will do the trick here. If a bevel is
>>being cut thing surely look different.
>>Any ideas or brain storming is welcome please.
>>
>>
>>
>>
>>-
>>Regards / Groete
>>
>>Marius D. Liebenberg
>>+27 82 698 3251
>>+27 12 743 6064
>>--
>>___
>>Emc-developers mailing list
>>Emc-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] THC with 5 axis plasma

2016-09-20 Thread Marius Liebenberg
Hi All
I am starting a build of a 5 axis plasma machine with bevelling 
features. The problem I am facing is not understanding how I will 
implement the THC on a 5 axis setup. I am not sure just changing the Z 
axis feedback or command signal will do the trick here. If a bevel is 
being cut thing surely look different.
Any ideas or brain storming is welcome please.




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] EDM gap control (Control parameters)

2016-02-26 Thread Marius Liebenberg
Karl
Speed control is normally a direct function of a current setpoint in the 
PWM controller. EDM power supplies look at every single pulse to 
determine if the current and voltage is within a specified range. The 
quality of the cut is partly a function of the speed and the energy in 
every pulse.
So the control of the speed is integrated with the power management or 
power supply controller.

-- Original Message --
From: "Nicklas Karlsson" 
To: "EMC developers" 
Sent: 2016-02-26 15:10:04
Subject: Re: [Emc-developers] EDM gap control (Control parameters)

>I understand flushing is important but nothing about how ot adapt 
>speed.
>
>
>>  On Friday 26 February 2016 05:07:20 Nicklas Karlsson wrote:
>>
>>  > > >Anybody familiar with EDM who could tell me how to adjust the 
>>feed
>>  > > > rate for EDM operations?
>>  > >
>>  > > Not a very trivial task but it can be done. There is a youtube 
>>video
>>  > > showing and EDM running on linuxcnc. Do a search. The problem 
>>comes
>>  > > in when you have to backup as some EDM machines do.
>>  >
>>  > Programming I could solve. Then controlling speed and backup what 
>>do
>>  > they try to achieve: A certain average gap voltage? Ignition 
>>voltage?
>>  > Power in each pulse?
>>  >
>>  I have only used edm 3 times, in each case in blind holes. The first 
>>time
>>  I drove it by hand from the arrow keys, but found the blind holes 
>>lack
>>  of the electrolite fluid circulation to be a major problem as the 
>>juice
>>  in the hole would gradually get conductive & short it out. I did get 
>>the
>>  first broken tap removed but it was an all day job.  I found also 
>>that
>>  if the electrode was rotating at 50 to 100 revs, that induced
>>  circulation seems to help.  So I wrote a loop that drove it to a 
>>fixed
>>  very small increment farther each time, doing g0 moves so the
>>  electrolite was somewhat pumped in and out of the hole, and the 
>>second
>>  busted tap was cut out in about 1/3rd of the time.  But I felt the 
>>power
>>  supply was a bit puny, so the next time I traded the 2uf capacitor 
>>out
>>  for a 10 uf (both oil filled paper caps) and doubled the voltage to
>>  around 75 volts while reducing the resistor from 50 ohms to 25, lots
>>  more power per pulse.
>>
>>  Later, needing mounting holes in a 10" carbide tipped saw blade so I
>>  could mount it on a rotary table to sharpen it, I used hollow brass
>>  tubing as the electrode, rotating in the mills chuck to help 
>>circulate
>>  the juice.  With more power it was faster, but even with 29db 
>>shooting
>>  earmuffs on, the noise was still in the 130 db area and a bit 
>>painfull.
>>  That saw blade made a great sounding board and I expect it could be
>>  easily heard 3 to 6 blocks away.  It also drilled the cleanest holes 
>>I
>>  have ever seen in that hard chrome plated steel.
>>
>>  So the importance of being able to circulate the juice to keep the
>>  metalic debris flushed from the working area is at last as important 
>>as
>>  the height control.  As for active height control, one might be able 
>>to
>>  use one of the thc modules for that but I've not tried it.
>>
>>  With very short, heavy leads between the capacitor and the workface, 
>>a
>>  diode to rectify the peak voltage reached at the capcitor would seem 
>>to
>>  be the measurement method of choice, but that, even with very short
>>  leads, might need some r/c filtering because the discharge IS going 
>>to
>>  induce some resonant ringing, likely sufficient to cause micro-arcing 
>>in
>>  a common bulk carbon resistor, which will manifest itself as an 
>>initial
>>  lowering of the filtering resistors measured resistance, and a drift 
>>in
>>  the desired operating voltage until the resistor is destroyed. For 
>>the
>>  same reason, the diode needs to be a very fast recovery diode and 
>>rated
>>  at least to 1 kilovolt.
>>
>>  Not hugely helpfull Nicklas, but that is what I learned based on 65+
>>  years of making electrons do useful work.
>>
>>  > Nicklas Karlsson
>>  >
>>  > 
>>--
>>  > Site24x7 APM Insight: Get Deep Visibility into Application
>>  > Performance APM + Mobile APM + RUM: Monitor 3 App instances at just
>>  > $35/Month Monitor end-to-end web transactions and take corrective
>>  > actions now Troubleshoot faster and improve end-user experience.
>>  > Signup Now!
>>  > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>  > ___
>>  > Emc-developers mailing list
>>  > Emc-developers@lists.sourceforge.net
>>  > https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>>
>>  Cheers, Gene Heskett
>>  --
>>  "There are four boxes to be used in defense of liberty:
>>   soap, ballot, jury, and ammo. Please use in that order."
>>  -Ed Howdershelt (Author)
>>  Genes Web page 
>>
>>  
>>---

Re: [Emc-developers] EDM gap control

2016-02-26 Thread Marius Liebenberg
Not a very trivial task but it can be done. There is a youtube video 
showing and EDM running on linuxcnc. Do a search. The problem comes in 
when you have to backup as some EDM machines do.

There is a yahoo group for edm as well and they have a lot of info 
there. Let me know if you dont come right I will try and send some 
links.


>Anybody familiar with EDM who could tell me how to adjust the feed rate 
>for EDM operations?
>
>
>Nicklas Karlsson
>
>--
>Site24x7 APM Insight: Get Deep Visibility into Application Performance
>APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>Monitor end-to-end web transactions and take corrective actions now
>Troubleshoot faster and improve end-user experience. Signup Now!
>http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Prempt RT on Raspi/ARM

2016-02-03 Thread Marius Liebenberg
>On 02/03/2016 09:07 AM, Marius Liebenberg wrote:
>>Yes so far as I understand the PRU runs autonomously from the core 
>>and
>>they use DMA to transfer data.
>It is actually shared memory.
>

even better that way.


>Jon
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Prempt RT on Raspi/ARM

2016-02-03 Thread Marius Liebenberg
  Yes so far as I understand the PRU runs autonomously from the core and 
they use DMA to transfer data. It is my understanding that there are no 
interrupts that will influence the PRU's and they run smoothly. The 3D 
printer guys use it and any delays or interrupts shows up on the quality 
of the product.

As for the salesman bit, I have no affilaitation with machinekit nor do 
I work for them :) I do like the TI chip and the BBB platform. My 
product is based on the CherryBlossom from Arrow.
I am also looking at machinekit all the time mainly because I am 
developing other non cnc products on the same platform and the forum is 
shared. The machinekit boys really undestand the working of the PRU very 
well and many people learn from their work.

I noticed that one of our friends (ArcEye) has done some work on the 
display using QT but I dont know how far he got with that.


>You work like a sales person, everything is good without promising 
>anything. Do you know if they handle priorities properly? No uknown 
>delays for like 100µs every now and then? Clock rate of 200kHz is this 
>the rate it can execute tasks realiable?
>
>Display must be solved but if it have Ethernet X11 this might be a very 
>good option. I already have running on ordinary compture with inverters 
>made myself although a moment ago then I was away for five minutes I 
>got an unexpected delay message. The best would probably a protocol to 
>talk the real time part of linuxcnc via some kind of protocol and in 
>such design of user interface would be very flexible.
>
>Nicklas Karlsson
>
>
>On Wed, 03 Feb 2016 13:25:35 +
>"Marius Liebenberg"  wrote:
>
>>  Hi Nicklas
>>  The rpi does not have the same performance as the BBB when it come to
>>  the IO stuff we are talking about here. The BBB has a TI chip that 
>>has
>>  two very fast MCU's build into the core (over and above the actual 
>>ARM
>>  core). They handle the IO stuff via some DMA arrangements. The RPI 
>>does
>>  not have these MCU's and must do the IO in another fashion.
>>  Mashinekit is a port of linuxcnc that runs very well on the BBB at 
>>this
>>  time.
>>  The MCU's on the BBB can handle a clock rate of up to 200Khz. I think
>>  the STM32 will have a hard time to get to that if at all. If I can 
>>give
>>  some advise I would say have a look at what is happening with the BBB
>>  and machinekit. There are FPGA boards running Hostmot driver 
>>interfaces
>>  already. And a heap of other developments.
>>  In conculsion I would say that you should get a better performance 
>>from
>>  the BBB than from most Pc's. The display is another story still but 
>>with
>>  the introdcution of FPGA stuff, the display issues might be gone soon 
>>as
>>  well.
>>
>>
>>  -- Original Message --
>>  From: "Nicklas Karlsson" 
>>  To: "EMC developers" 
>>  Sent: 2016-02-03 14:46:26
>>  Subject: Re: [Emc-developers] Prempt RT on Raspi/ARM
>>
>>  >Yes I read post, Rapberry and beagle bone are fantastic cards. Is 
>>there
>>  >any small unknown delays then running on Raspi or Beagle bone? Or is
>>  >the problem the same as on an ordinary computer, usually work well
>>  >enough?
>>  >
>>  >I do not expect more from Beagle/Raspberry unless they have been 
>>able
>>  >to get proper handling of interrupt priorities since they are less
>>  >powerful than ordinary computer. Do you know if Beagle/Raspberry 
>>have
>>  >proper handling of interrupt priorities in kernel?
>>  >
>>  >STM32 I would expect more from because it's known there is nothing 
>>else
>>  >disturbing. As is now I am using Preemt RT but for the long run I 
>>will
>>  >try get something I know perform as expected every time.
>>  >
>>  >A small jerk every now and then is OK for youtube or telephone but 
>>less
>>  >so then machining part because it stick to the part.
>>  >
>>  >
>>  >Nicklas Karlsson
>>  >
>>  >
>>  >
>>  >On Wed, 3 Feb 2016 13:13:07 +0100
>>  >"W. Martinjak"  wrote:
>>  >
>>  >>  Did you read my post/question, or is this a simple reflex answer?
>>  >>
>>  >>  On 2016-02-03 12:50, Nicklas Karlsson wrote:
>>  >>  > I was thinking more about something like the STM32 discovery
>>  >>boards. The STM32 micro controller have an Cortex-* CPU with nested
>>  >>interrupt controller. The Raspi is essentially an ordinary computer
>>  >>and I have not

Re: [Emc-developers] Prempt RT on Raspi/ARM

2016-02-03 Thread Marius Liebenberg
Hi Nicklas
The rpi does not have the same performance as the BBB when it come to 
the IO stuff we are talking about here. The BBB has a TI chip that has 
two very fast MCU's build into the core (over and above the actual ARM 
core). They handle the IO stuff via some DMA arrangements. The RPI does 
not have these MCU's and must do the IO in another fashion.
Mashinekit is a port of linuxcnc that runs very well on the BBB at this 
time.
The MCU's on the BBB can handle a clock rate of up to 200Khz. I think 
the STM32 will have a hard time to get to that if at all. If I can give 
some advise I would say have a look at what is happening with the BBB 
and machinekit. There are FPGA boards running Hostmot driver interfaces 
already. And a heap of other developments.
In conculsion I would say that you should get a better performance from 
the BBB than from most Pc's. The display is another story still but with 
the introdcution of FPGA stuff, the display issues might be gone soon as 
well.


-- Original Message --
From: "Nicklas Karlsson" 
To: "EMC developers" 
Sent: 2016-02-03 14:46:26
Subject: Re: [Emc-developers] Prempt RT on Raspi/ARM

>Yes I read post, Rapberry and beagle bone are fantastic cards. Is there 
>any small unknown delays then running on Raspi or Beagle bone? Or is 
>the problem the same as on an ordinary computer, usually work well 
>enough?
>
>I do not expect more from Beagle/Raspberry unless they have been able 
>to get proper handling of interrupt priorities since they are less 
>powerful than ordinary computer. Do you know if Beagle/Raspberry have 
>proper handling of interrupt priorities in kernel?
>
>STM32 I would expect more from because it's known there is nothing else 
>disturbing. As is now I am using Preemt RT but for the long run I will 
>try get something I know perform as expected every time.
>
>A small jerk every now and then is OK for youtube or telephone but less 
>so then machining part because it stick to the part.
>
>
>Nicklas Karlsson
>
>
>
>On Wed, 3 Feb 2016 13:13:07 +0100
>"W. Martinjak"  wrote:
>
>>  Did you read my post/question, or is this a simple reflex answer?
>>
>>  On 2016-02-03 12:50, Nicklas Karlsson wrote:
>>  > I was thinking more about something like the STM32 discovery 
>>boards. The STM32 micro controller have an Cortex-* CPU with nested 
>>interrupt controller. The Raspi is essentially an ordinary computer 
>>and I have not been able to figure out if it have nested interrupts 
>>and the idea was to get rid of everything that may delay CPU every now 
>>and then. I run control loop at 40kHz which is equal to a period of 
>>25µs on STM32 and it works perfect including low priority taks not 
>>because of performance but because nothing will stop it from getting 
>>the necessary clock cycles then needed.
>>  >
>>  > GUI --> G-code, motion planner and other real time --> Motor 
>>controlling switches.
>>  >
>>  > GUI would be on ordinary computer which usual work well but may 
>>delay CPU every now and then.
>>  > G-code, motion planner and other real time would be on micro 
>>controller which may not delay CPU every now and then.
>>  > Motor controlling switches would be on separate card, usually there 
>>is need for electrical isolation anyway especially if running from 
>>voltage which may be dangerous.
>>  >
>>  >
>>  > The point is to get rid of the annoying  delay for unknown reason 
>>every now and then. What is good enough for video with maybe 50 frame 
>>per second is not good enough for tasks running twenty times as often 
>>even if CPU is very fast but small unknown delays may happen.
>>  >
>>  >
>>  > Nicklas Karlsson
>>  >
>>  >
>>  >
>>  > On Wed, 3 Feb 2016 12:23:11 +0100
>>  > "W. Martinjak"  wrote:
>>  >
>>  >> OK, not as easy...
>>  >> I will reword my question.
>>  >>
>>  >> I've made a driver based on the pluto board and it's working on 
>>machinekit with
>>  >> raspi2 over spi and other altera boards.
>>  >> Partly works with beagleboneblack.
>>  >> https://github.com/tinkercnc/spi-fpga-driver
>>  >>
>>  >> And I asked if it would work with Lcnc.
>>  >>
>>  >>
>>  >>
>>  >> On 2016-02-03 03:24, Jon Elson wrote:
>>  >>> On 02/02/2016 06:24 PM, W. Martinjak wrote:
>>   How far is the development of lcnc on raspi/arm?
>>  >>> LinuxCNC has been running on the Beagle Bone Black for
>>  >>> several years.  It is mostly the same codebase as LinuxCNC,
>>  >>> except for running on the Prempt-RT kernel (I think I got
>>  >>> that right).
>>  >>> The Beagle Bone Black has a pair of 200 MHz microcontrollers
>>  >>> that are used to handle step generation and other low-level
>>  >>> I/O tasks at much faster speeds than the Linux CPU can deal
>>  >>> with them.  Great for software step generation.  The Pi does
>>  >>> not have these microcontrollers.
>>   Would this [1] work with bare lcnc installation.
>>  
>>  
>>  >>> No, the regular LinuxCNC distribution is for an X86
>>  >>> platform, only. Machinekit is the distro for the Beagl

Re: [Emc-developers] Why is it not allowed to jog in MDI mode?

2016-01-16 Thread Marius Liebenberg


>On Sat, Jan 16, 2016, at 12:23 PM, Niemand Sonst wrote:
>>  I do not want to jog in Auto mode, but why not in MDI Mode?
>
>Internally, Auto mode and MDI mode are the same thing.  Machine
>motion is controlled by the g-code interpreter.  The only difference
>is where the g-code comes from, program or keyboard.
Ok that will explain.

>
>--
>   John Kasunich
>   jmkasun...@fastmail.fm
>
>--
>Site24x7 APM Insight: Get Deep Visibility into Application Performance
>APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>Monitor end-to-end web transactions and take corrective actions now
>Troubleshoot faster and improve end-user experience. Signup Now!
>http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Why is it not allowed to jog in MDI mode?

2016-01-16 Thread Marius Liebenberg
I have to agree with that. It is most irritating to have to switch to 
manual if you want to jog and that for no apparent reason.


>Hy to all,
>
>I am pretty sure it has been discused allredy, but I do not remember 
>the
>reason, why jogging is not allowed in MDI mode.
>
>I do not see any reason, why to keep that limitation.
>
>Norbert
>
>--
>Site24x7 APM Insight: Get Deep Visibility into Application Performance
>APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>Monitor end-to-end web transactions and take corrective actions now
>Troubleshoot faster and improve end-user experience. Signup Now!
>http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Best way to create a timeout in a component

2015-11-10 Thread Marius Liebenberg
  Subject: Re: [Emc-developers] Best way to create a timeout in a 
component

>On 11/10/2015 10:21 PM, Marius Liebenberg wrote:
>>  I am always finding this difficult because I dont know the right way 
>>of
>>  going about this.
>>  I need to create a timeout of variable seconds long in a component. I
>>  have a pin of type float that holds the required timeout in seconds.
>>  Then I have a small switch statement to give me a place to do the 
>>count
>>  down in.
>>  The question is what is the best way to do the timeout inside the 
>>case
>>  statement. Any place to look at a sample will help as well.
>
>The oneshot component has a count-down timer in it:
>
>http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/components/oneshot.comp;h=c138ae58b1d24fc6612f6bd7b64c0ca8ed2a3b2c;hb=HEAD
>
Very good example thanks Seb.


>
>--
>Sebastian Kuzminsky
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Best way to create a timeout in a component

2015-11-10 Thread Marius Liebenberg
I am always finding this difficult because I dont know the right way of 
going about this.
I need to create a timeout of variable seconds long in a component. I 
have a pin of type float that holds the required timeout in seconds. 
Then I have a small switch statement to give me a place to do the count 
down in.
The question is what is the best way to do the timeout inside the case 
statement. Any place to look at a sample will help as well.



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Spotted on Ali-Express (Via the forum)

2015-11-05 Thread Marius Liebenberg
  And that price is for the pc only. The controller pcb is sold for $248. 
Even for the pc by itself the price don't look right. The components 
only for that should be in the order of $215


-- Original Message --
From: "TJoseph Powderly" 
To: "EMC developers" 
Sent: 2015-11-05 16:43:46
Subject: Re: [Emc-developers] Spotted on Ali-Express (Via the forum)

>thx andy
>and this too
>someone offers both a computer and the cards for a realtime system
>
>http://www.aliexpress.com/item/CNC-PC-pre-install-LinuxCNC-with-Intel-ATOM-Dual-Core-D525-1-8GHz-for-MotCAT/32510918775.html?spm=2114.01020208.3.42.4nPyIx&ws_ab_test=searchweb201556_9_71_72_73_74_75,searchweb201527_4,searchweb201560_9
>
>i hope their idea of a servo is not one of those stepping things
>TomP tjtr33
>
>
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Spotted on Ali-Express (Via the forum)

2015-11-05 Thread Marius Liebenberg
Tom
That seems a bit cheap. Also the D525 is not the best choice. I have on 
on my mill and it suffers a bit with performance.

-- Original Message --
From: "TJoseph Powderly" 
To: "EMC developers" 
Sent: 2015-11-05 16:43:46
Subject: Re: [Emc-developers] Spotted on Ali-Express (Via the forum)

>thx andy
>and this too
>someone offers both a computer and the cards for a realtime system
>
>http://www.aliexpress.com/item/CNC-PC-pre-install-LinuxCNC-with-Intel-ATOM-Dual-Core-D525-1-8GHz-for-MotCAT/32510918775.html?spm=2114.01020208.3.42.4nPyIx&ws_ab_test=searchweb201556_9_71_72_73_74_75,searchweb201527_4,searchweb201560_9
>
>i hope their idea of a servo is not one of those stepping things
>TomP tjtr33
>
>
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] XKCD

2015-10-30 Thread Marius Liebenberg
Yes sounds about right for me. Or at least my experience of it.

-- Original Message --
From: "andy pugh" 
To: "EMC developers" 
Sent: 2015-10-30 14:43:14
Subject: [Emc-developers] XKCD

>Spot-on as usual.
>
>http://xkcd.com/1597/
>
>
>
>--
>atp
>If you can't fix it, you don't own it.
>http://www.ifixit.com/Manifesto
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Ugrade to 12.04

2015-08-24 Thread Marius Liebenberg
Hi All
Is there a way to upgrade to Ubuntu 12.04 from the now not supported 
10.04 without loosing a lot of work on the machine? And what about all 
the custom installed software packages, is there a way to keep them?



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] research on optical encoders

2015-08-06 Thread Marius Liebenberg
I would like to read that please.

-- Original Message --
From: "EBo" 
To: emc-developers@lists.sourceforge.net
Sent: 2015-08-06 19:32:31
Subject: [Emc-developers] research on optical encoders

>During a poster presentation at NASA's Goddard Space Flight Center, one
>of the interns presented her work on optical absolute position 
>encoders.
>Her prototype used a image sensor capable of 18,000FPS, and resolving
>to absolute positioning.  I was given a copy of the poster and writeup
>and permission to pass along to anyone interested.  Let me know who's
>interested...
>
>EBo --
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg
  I can see that I will have to ask for a copy of the source in order to 
implement my own turret type tool changer.

The installation is set out absolutely perfect. Everything is crisp and 
clear and at the right place. I have to say that I am impressed with 
what the boys at Tormach ( and here) did with this software.

>
>>>>On 07/16/2015 02:56 AM, Marius Liebenberg wrote:
>>>>
>>>>... snip
>>>>
>>>>>   Has anyone run the PathPilot software on anything other than the
>>>>>Tormach
>>>>>   machines or tried another config?
>>>>
>>>>I haven't tried using PathPilot (PP) with any other equipment, but a
>>>>few
>>>>things come to mind. A custom firmware is loaded to a Mesa board (5
>>>>or
>>>>6i25) that handles a connection to a control board that uses a PIC
>>>>microprocessor to interface some of the peripherals to PP. The .ini
>>>>and
>>>>.hal files would need to be edited to compensate for the methods 
>>>>used
>>>>for the charge pump/tool number PWM signal and other signals. There
>>>>are
>>>>connection diagrams in the manuals that show the components and the
>>>>connections:
>>>>http://www.tormach.com/tormach_product_manuals.html
>>>>
>>>>Off hand, I would start with getting the .hal file load commands
>>>>working, then edit signals to get e-stop working, then continue
>>>>replacing or bypassing other signals.
>>>>
>>>>There should be a sim configuration that you can run to play with 
>>>>the
>>>>UI.
>>>>
>>>I thought the same as you did, until I realized that I am locked out
>>>of
>>>the OS altogether.  I have not found a way in yet.
>>
>>Must be possible:
>>
>>https://www.youtube.com/watch?v=cGr37Dn6YgM
>>
>Found this online
>- hold shift and alt during boot (this will take you to the gnome
>desktop)
>- hit control-alt-x (this will bring up a prompt in it's own window. 
>Hit
>alt-tab to switch between windows)
>- hit control-alt-F1 (this will switch you to a full screen prompt. Hit
>control-alt-F7 to switch back to PP)
>
>
>>
>
>
>
>>>>
>>>>--
>>>>Kirk Wallace
>>>>http://www.wallacecompany.com/machine_shop/
>>>>http://www.wallacecompany.com/E45/
>>>>
>>>>--
>>>>Don't Limit Your Business. Reach for the Cloud.
>>>>GigeNET's Cloud Solutions provide you with the tools and support 
>>>>that
>>>>you need to offload your IT needs and focus on growing your 
>>>>business.
>>>>Configured For All Businesses. Start Your Cloud Today.
>>>>https://www.gigenetcloud.com/
>>>>___
>>>>Emc-developers mailing list
>>>>Emc-developers@lists.sourceforge.net
>>>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>>>--
>>>Don't Limit Your Business. Reach for the Cloud.
>>>GigeNET's Cloud Solutions provide you with the tools and support that
>>>you need to offload your IT needs and focus on growing your business.
>>>Configured For All Businesses. Start Your Cloud Today.
>>>https://www.gigenetcloud.com/
>>>___
>>>Emc-developers mailing list
>>>Emc-developers@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>>>
>>
>>Peter Wallace
>>Mesa Electronics
>>
>>(\__/)
>>(='.'=) This is Bunny. Copy and paste bunny into your
>>(")_(") signature to help him gain world domination.
>>
>--
>Don't Limit Your Business. Reach for the Cloud.
>GigeNET's Cloud Solutions provide you with the tools and support that
>you need to offload your IT needs and focus on growing your business.
>Configured For All Businesses. Start Your Cloud Today.
>https://www.gigenetcloud.com/
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg

>... snip
>
>>>  I thought the same as you did, until I realized that I am locked out 
>>>of
>>>  the OS altogether.  I have not found a way in yet.
>>
>>  Must be possible:
>>
>>  https://www.youtube.com/watch?v=cGr37Dn6YgM
>
>There is a second port on the the 5i25 that hasn't been used yet, which
>can be used for the spindle encoder, meaning there is a faster option
>than a parallel port.
>
>I would tend to use magnetic gear tooth sensors rather than an optical
>sensor which would be sensitive to getting fouled with oil and chips. 
>My
>plan was to groove the bottom face of the spindle pulley and embed a
>toothed steel ring. The teeth would face down. A pin can be set for the
>index sensor. The pulley should probably be rebalanced after the
>modification since the spindle has a fairly high RPM range.
>

Good idea it just means we will have to edit the 5i25 firmware or bit 
files
>
>--
>Kirk Wallace
>http://www.wallacecompany.com/machine_shop/
>http://www.wallacecompany.com/E45/
>
>--
>Don't Limit Your Business. Reach for the Cloud.
>GigeNET's Cloud Solutions provide you with the tools and support that
>you need to offload your IT needs and focus on growing your business.
>Configured For All Businesses. Start Your Cloud Today.
>https://www.gigenetcloud.com/
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg
  I bought it for $8.

>How were you able to get a copy of PathPilot sent to you?
>
>Dave
>
>On 7/16/2015 5:56 AM, Marius Liebenberg wrote:
>>  I finally received my PathPilot dvd after about three months of
>>  waiting. Not the fault or Tormach but rather our postal service.
>>  It really looks great but not surprizing at all that I cannot
>>  configure or change a damn thing. I installed it on a new computer
>>  with a 5i25. The installation process updated the firmware for the
>>  5i25. I thought that one could at least configure the software to run
>>  with a 5i25 and a 7i76 that is already installed.
>>  I would love to purchase a lathe and mill from Tormach but right now
>>  the cash just does not exist
>>
>>  Has anyone run the PathPilot software on anything other than the
>>  Tormach machines or tried another config?
>>
>>
>>
>>  -
>>  Regards / Groete
>>
>>  Marius D. Liebenberg
>>  +27 82 698 3251
>>  +27 12 743 6064
>>
>>
>>
>>  
>>--
>>  Don't Limit Your Business. Reach for the Cloud.
>>  GigeNET's Cloud Solutions provide you with the tools and support that
>>  you need to offload your IT needs and focus on growing your business.
>>  Configured For All Businesses. Start Your Cloud Today.
>>  https://www.gigenetcloud.com/
>>
>>
>>  ___
>>  Emc-developers mailing list
>>  Emc-developers@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
>---
>This email has been checked for viruses by Avast antivirus software.
>https://www.avast.com/antivirus
>--
>Don't Limit Your Business. Reach for the Cloud.
>GigeNET's Cloud Solutions provide you with the tools and support that
>you need to offload your IT needs and focus on growing your business.
>Configured For All Businesses. Start Your Cloud Today.
>https://www.gigenetcloud.com/
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg

>>>On 07/16/2015 02:56 AM, Marius Liebenberg wrote:
>>>
>>>... snip
>>>
>>>>  Has anyone run the PathPilot software on anything other than the
>>>>Tormach
>>>>  machines or tried another config?
>>>
>>>I haven't tried using PathPilot (PP) with any other equipment, but a
>>>few
>>>things come to mind. A custom firmware is loaded to a Mesa board (5 
>>>or
>>>6i25) that handles a connection to a control board that uses a PIC
>>>microprocessor to interface some of the peripherals to PP. The .ini 
>>>and
>>>.hal files would need to be edited to compensate for the methods used
>>>for the charge pump/tool number PWM signal and other signals. There 
>>>are
>>>connection diagrams in the manuals that show the components and the
>>>connections:
>>>http://www.tormach.com/tormach_product_manuals.html
>>>
>>>Off hand, I would start with getting the .hal file load commands
>>>working, then edit signals to get e-stop working, then continue
>>>replacing or bypassing other signals.
>>>
>>>There should be a sim configuration that you can run to play with the
>>>UI.
>>>
>>I thought the same as you did, until I realized that I am locked out 
>>of
>>the OS altogether.  I have not found a way in yet.
>
>Must be possible:
>
>https://www.youtube.com/watch?v=cGr37Dn6YgM
>
Found this online
- hold shift and alt during boot (this will take you to the gnome 
desktop)
- hit control-alt-x (this will bring up a prompt in it's own window. Hit 
alt-tab to switch between windows)
- hit control-alt-F1 (this will switch you to a full screen prompt. Hit 
control-alt-F7 to switch back to PP)


>



>>>
>>>--
>>>Kirk Wallace
>>>http://www.wallacecompany.com/machine_shop/
>>>http://www.wallacecompany.com/E45/
>>>
>>>--
>>>Don't Limit Your Business. Reach for the Cloud.
>>>GigeNET's Cloud Solutions provide you with the tools and support that
>>>you need to offload your IT needs and focus on growing your business.
>>>Configured For All Businesses. Start Your Cloud Today.
>>>https://www.gigenetcloud.com/
>>>___
>>>Emc-developers mailing list
>>>Emc-developers@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>>--
>>Don't Limit Your Business. Reach for the Cloud.
>>GigeNET's Cloud Solutions provide you with the tools and support that
>>you need to offload your IT needs and focus on growing your business.
>>Configured For All Businesses. Start Your Cloud Today.
>>https://www.gigenetcloud.com/
>>___
>>Emc-developers mailing list
>>Emc-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>Peter Wallace
>Mesa Electronics
>
>(\__/)
>(='.'=) This is Bunny. Copy and paste bunny into your
>(")_(") signature to help him gain world domination.
>
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg


>On 07/16/2015 02:56 AM, Marius Liebenberg wrote:
>
>... snip
>
>>  Has anyone run the PathPilot software on anything other than the 
>>Tormach
>>  machines or tried another config?
>
>I haven't tried using PathPilot (PP) with any other equipment, but a 
>few
>things come to mind. A custom firmware is loaded to a Mesa board (5 or
>6i25) that handles a connection to a control board that uses a PIC
>microprocessor to interface some of the peripherals to PP. The .ini and
>.hal files would need to be edited to compensate for the methods used
>for the charge pump/tool number PWM signal and other signals. There are
>connection diagrams in the manuals that show the components and the
>connections:
>http://www.tormach.com/tormach_product_manuals.html
>
>Off hand, I would start with getting the .hal file load commands
>working, then edit signals to get e-stop working, then continue
>replacing or bypassing other signals.
>
>There should be a sim configuration that you can run to play with the 
>UI.
>
I thought the same as you did, until I realized that I am locked out of 
the OS altogether.  I have not found a way in yet.
>
>--
>Kirk Wallace
>http://www.wallacecompany.com/machine_shop/
>http://www.wallacecompany.com/E45/
>
>--
>Don't Limit Your Business. Reach for the Cloud.
>GigeNET's Cloud Solutions provide you with the tools and support that
>you need to offload your IT needs and focus on growing your business.
>Configured For All Businesses. Start Your Cloud Today.
>https://www.gigenetcloud.com/
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Tormach PathPilot

2015-07-16 Thread Marius Liebenberg
I finally received my PathPilot dvd after about three months of waiting. 
Not the fault or Tormach but rather our postal service.
It really looks great but not surprizing at all that I cannot configure 
or change a damn thing. I installed it on a new computer with a 5i25. 
The installation process updated the firmware for the 5i25. I thought 
that one could at least configure the software to run with a 5i25 and a 
7i76 that is already installed.
I would love to purchase a lathe and mill from Tormach but right now the 
cash just does not exist


Has anyone run the PathPilot software on anything other than the Tormach 
machines or tried another config?




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] jepler/hal-streams: an API for streaming data to/from realtime

2015-07-12 Thread Marius Liebenberg
Jeff
This will surely open up the possibilities for developers to do lot more 
with custom hardware. Looking forward to see some testing done.

-- Original Message --
From: "Jeff Epler" 
To: emc-developers@lists.sourceforge.net
Sent: 2015-07-12 03:46:45
Subject: [Emc-developers] jepler/hal-streams: an API for streaming data 
to/from realtime

>One thing missing from LinuxCNC is the ability to transfer structured,
>buffered data between userspace and realtime.
>
>This branch factors out the shared memory code used by hal's streamer
>and sampler components into a C API so that components other than
>streamer/sampler can receive or send data in a way that is compatible
>with the existing components.  Unlike streamer/sampler, it is possible
>(as long as userspace keeps up) to transfer more than one record per
>thread invocation.
>
>This means that hypothetically, hostmot2's serial code could be
>rewritten so that it repeatedly reads bytes from a halstreamer shared
>memory block into the transmit FIFO in the FPGA, and likewise reads 
>from
>the receive FIFO into a halsampler shared memory block to read back to
>userspace---even if more than one u8/u16/u32 is transferred every servo
>cycle.
>
>(it could also be used between two realtime components or two
>free-running components, but I suspect the RT<->free-running interface
>to be the most interesting possibility)
>
>I don't plan to merge this unless there's a user of it, such as a
>UART-type component.  The branch is based off 2.7, but probably would 
>be
>merged to master if at all.
>
>Its worth noting that without the 222 lines of documentation, the 
>change
>is a slight net deletion of code.
>
>Jeff
>---
>The following changes since commit 
>13992eb9c54cbf3a42bec5932767a59bfcdd548d:
>
>   configure: align the --disable-userspace-pci help correctly 
>(2015-07-11 11:57:14 -0600)
>
>are available in the git repository at:
>
>   git://git.linuxcnc.org/git/linuxcnc.git origin/jepler/hal-streams
>
>for you to fetch changes up to 
>1eeb4914111cd88c46ed714179050bd63b73f630:
>
>   hal: document the new C API (2015-07-11 20:42:43 -0500)
>
>
>Jeff Epler (2):
>   hal: factor out streamer/sampler
>   hal: document the new C API
>
>  docs/man/man3/rtapi_stream.3rtapi | 222 
>+++
>  src/hal/components/sampler.c  | 226 
>+++-
>  src/hal/components/sampler_usr.c  | 110 
>  src/hal/components/streamer.c | 232 
>-
>  src/hal/components/streamer.h |  23 
>  src/hal/components/streamer_usr.c |  95 --
>  src/hal/hal.h |  55 
>  src/hal/hal_lib.c | 268 
>++
>  src/hal/hal_priv.h|  14 ++
>  src/rtapi/uspace_rtapi_app.cc |   1 -
>  10 files changed, 704 insertions(+), 542 deletions(-)
>  create mode 100644 docs/man/man3/rtapi_stream.3rtapi
>
>
>hal_stream(3hal)  HAL 
>hal_stream(3hal)
>
>
>
>NAME
>hal_stream - non-blocking realtime streams
>
>
>SYNOPSIS
>#include 
>
>int  hal_stream_create(hal_stream_t  *stream,  int  comp_id,  int  
>key, int
>depth, const char *typestring);
>void hal_stream_destroy(hal_stream_t *stream);
>int hal_stream_attach(hal_stream_t *stream, int  comp_id,  int  key, 
>  const
>char *typestring);
>int hal_stream_detach(hal_stream_t *stream);
>
>
>int hal_stream_element_count(hal_stream_t *stream);
>hal_type_t hal_stream_element_type(hal_stream_t *stream, int idx);
>int hal_stream_depth(hal_stream_t *stream);
>int hal_stream_maxdepth(hal_stream_t *stream);
>int hal_stream_num_underruns(hal_stream_t *stream);
>int hal_stream_num_overruns(hal_stream_t *stream);
>
>
>int   hal_stream_read(hal_stream_t  *stream,  union  hal_stream_data 
>  *buf,
>unsigned *sampleno);
>bool hal_stream_readable(hal_stream_t *stream);
>
>
>int hal_stream_write(hal_stream_t *stream, union hal_stream_data 
>*buf);
>bool hal_stream_writable(hal_stream_t *stream);
>
>
>#ifdef ULAPI
>void hal_stream_wait_writable(hal_stream_t *stream, sig_atomic_t 
>*stop);
>void hal_stream_wait_readable(hal_stream_t *stream, sig_atomic_t 
>*stop);
>#endif
>
>
>
>DESCRIPTION
>A HAL stream provides a limited ability for two components to  
>communi‐
>cate  data  which  does not fit within the model of HAL pins.  A 
>reader
>and a writer must agree on a key (32-bit integer identifier) and 
>a data
>structure  specified  by  typestring will hal_stream_create the 
>stream,
>and wich component (the second one loaded)  will  
>hal_stream_attach  to
>the already-created stream.
>
>The  userspace  part  can be halstreamer or halsampler.  In the 
>case of
>halstreamer the key is 0x48535430 plus the

Re: [Emc-developers] lathe tool display bug in Axis preview (2.7.0~pre6)

2015-06-25 Thread Marius Liebenberg
  Tom I have seen the same thing in Gmoccapy. I have to reload the 
program for the tool position changes to take effect.

-- Original Message --
From: "Tom Easterday" 
To: "EMC developers" 
Sent: 2015-06-25 23:05:08
Subject: [Emc-developers] lathe tool display bug in Axis preview 
(2.7.0~pre6)

>I have lathe tools entered in a tool table including ORIENTATION and 
>FRONTANGLE and BACKANGLE settings but the Axis preview does not show 
>these tools in their correct orientation.  It is only displaying a 
>single triangle that points up.  Is there a configuration parameter 
>that turns this feature on/off or is this a bug in 2.7.0~pre6?
>-Tom
>
>
>--
>Monitor 25 network devices or servers for free with OpManager!
>OpManager is web-based network management software that monitors
>network devices and physical & virtual servers, alerts via email & sms
>for fault. Monitor 25 devices for free with no restriction. Download 
>now
>http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Can I Display Gcode Parameters in PYVCP?

2015-06-12 Thread Marius Liebenberg
  Dont know why but the link does not show. Here it is again

https://github.com/verser-git/probe_screen



>Hi Ken
>Did you have a look at this already?
>
>   Probe screen for linuxcnc
>
>
>
>-- Original Message --
>From: "Kenneth Lerman" 
>To: emc-developers@lists.sourceforge.net
>Sent: 2015-06-12 13:10:59
>Subject: [Emc-developers] Can I Display Gcode Parameters in PYVCP?
>
>>
>>I think the answer is no. But perhaps someone can suggest a work 
>>around
>>for what I want to do.
>>
>>I'd like to write some subroutines to be used interactively. For
>>example:
>>
>>Jog to position one. Hit a button in pyvcp labeled "enter". That will
>>run an mdi program that will save the current X in #<_pX0> and the
>>current Y in #<_pY0>.
>>
>>Jog to the the center of a circle. Hit a button in pyvcp labeled probe
>>circle. That will save the _pX0 and _pY0 variables in _PX1 and _PY1 (I
>>like RPN) and save the probed center of the circle in _pX0 and _pY0.
>>
>>Now hit a button labeled "circular pocket". The will use _pX0, _pY0 as
>>the center of a circle and _pX1, _PY1 as a point of the circle and
>>create a pocket. (let's not worry about depth right now -- we could 
>>use
>>a slider for that.)
>>
>>All of this could work really nicely. The one fly in the ointment is
>>that I have to remember the contents of my stack -- the doesn't seem 
>>to
>>be a way to display it.
>>
>>I'd like to add a bunch of routines for probing -- probe left, probe
>>right, probe lower left corner, probe upper right corner, ... Having 
>>to
>>remember what is stored in which parameter is painful.
>>
>>In case anyone is wondering, I use my milling machine to build
>>prototypes; not for production. I just bought a probe and would like 
>>to
>>build the infrastructure to work interactively.
>>
>>Any thoughts?
>>
>>Thanks,
>>
>>Ken
>>
>>--
>>Kenneth Lerman
>>55 Main Street
>>Newtown, CT 06470
>>
>>
>>--
>>___
>>Emc-developers mailing list
>>Emc-developers@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/emc-developers
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Can I Display Gcode Parameters in PYVCP?

2015-06-12 Thread Marius Liebenberg
Hi Ken
Did you have a look at this already?

  Probe screen for linuxcnc



-- Original Message --
From: "Kenneth Lerman" 
To: emc-developers@lists.sourceforge.net
Sent: 2015-06-12 13:10:59
Subject: [Emc-developers] Can I Display Gcode Parameters in PYVCP?

>
>I think the answer is no. But perhaps someone can suggest a work around
>for what I want to do.
>
>I'd like to write some subroutines to be used interactively. For 
>example:
>
>Jog to position one. Hit a button in pyvcp labeled "enter". That will
>run an mdi program that will save the current X in #<_pX0> and the
>current Y in #<_pY0>.
>
>Jog to the the center of a circle. Hit a button in pyvcp labeled probe
>circle. That will save the _pX0 and _pY0 variables in _PX1 and _PY1 (I
>like RPN) and save the probed center of the circle in _pX0 and _pY0.
>
>Now hit a button labeled "circular pocket". The will use _pX0, _pY0 as
>the center of a circle and _pX1, _PY1 as a point of the circle and
>create a pocket. (let's not worry about depth right now -- we could use
>a slider for that.)
>
>All of this could work really nicely. The one fly in the ointment is
>that I have to remember the contents of my stack -- the doesn't seem to
>be a way to display it.
>
>I'd like to add a bunch of routines for probing -- probe left, probe
>right, probe lower left corner, probe upper right corner, ... Having to
>remember what is stored in which parameter is painful.
>
>In case anyone is wondering, I use my milling machine to build
>prototypes; not for production. I just bought a probe and would like to
>build the infrastructure to work interactively.
>
>Any thoughts?
>
>Thanks,
>
>Ken
>
>--
>Kenneth Lerman
>55 Main Street
>Newtown, CT 06470
>
>
>--
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers
--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] StepConf

2015-05-22 Thread Marius Liebenberg
I second this request. Yes please Chris.


-- Original Message --
From: "Niemand Sonst" 
To: "EMC developers" 
Sent: 2015-05-22 10:08:45
Subject: Re: [Emc-developers] StepConf

>Hallo,
>
>I do not know how to open a feature request on sourgeforge, so I would
>ask you Chris, to add to the list:
>
>- Allow GUI selection, specialy gmoccapy!
>
>Thanks for taking care of it.
>
>Norbert
>
>Am 22.05.2015 um 02:50 schrieb Chris Morley:
>>
>>>  Date: Thu, 21 May 2015 23:57:34 +0530
>>>  From: gswithba...@gmail.com
>>>  To: Emc-developers@lists.sourceforge.net
>>>  Subject: [Emc-developers] StepConf
>>>
>>>  Hello Sebastian Kuzminsky
>>>  I have done some tutorials on how to use Glade with python. I am not
>>>  that much familiar but got basic ideas through tutorials. Now I am 
>>>going to
>>>  put my hands on stepconf glade files.
>>>  Please tell me who is my mentor for this GSoC period? Also gave me
>>>  idea or detail
>>>  about what new features I will add in StepConf so that I am able to
>>>  make a proper
>>>  schedule for GSoC.
>>>
>>>  --
>>>  Thanks
>>>  Gurwinder Singh Bains
>>  Gurwinder:
>>
>>  here are some feature requests for stepconf:
>>  
>>http://sourceforge.net/p/emc/feature-requests/search?q=labels:%22Stepconf%22
>>
>>  here is bugs:
>>
>>  http://sourceforge.net/p/emc/bugs/search/?q=stepconf
>>  I have offered a patch on the developers list for # 416
>>
>>  I would bet if you find something in there you are interested in then 
>>that would be fine.
>>
>>  Chris M
>>
>>
>>
>>  
>>--
>>  One dashboard for servers and applications across 
>>Physical-Virtual-Cloud
>>  Widest out-of-the-box monitoring support with 50+ applications
>>  Performance metrics, stats and reports that give you Actionable 
>>Insights
>>  Deep dive visibility with transaction tracing using APM Insight.
>>  http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>  ___
>>  Emc-developers mailing list
>>  Emc-developers@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
>
>--
>One dashboard for servers and applications across 
>Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable 
>Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] How to kill halrun

2015-05-02 Thread Marius Liebenberg
  I will check it out thanks.


-- Original Message --
From: "Jeff Epler" 
To: "Marius Liebenberg" ; "EMC developers" 

Sent: 2015-05-01 19:56:09
Subject: Re: [Emc-developers] How to kill halrun

>I've looked into this, and many readline-based programs have trouble
>with being backgrounded when they are grandchildren of the interactive
>shell.  For example,
> $ bash -c 'bash ; :'
> $ suspend
> [terminal hangs]
>
>Because the problem seems to be something to do with being a grandchild
>process, I developed an experimental branch where I change halrun so
>that it can exec (rather than fork and exec) the interactive halcmd.
>
>You can find it on git.linuxcnc.org in branch jepler/halrun-suspend.
>The last commit has a rather lengthy message which gives some 
>additional
>background I found while researching just what the heck is going on
>here.
>
>Jeff


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] How to kill halrun

2015-04-30 Thread Marius Liebenberg

  I'm not at a linux box at the moment.  But I believe halcmd has
>a command line option that shuts down the realtime system, for
>cases like this (for example if something crashes and leaves
>kernel modules installed, etc).
>
>Check the halcmd man page.  I think the option might be -r
>
Very intersting for me. I could not kill the programs in any way but 
what happened is this.
Halrun was already running with two processes that could not be killed. 
One of which was halcmd. At the normal prompt, I ran halcmd again with 
the same process that was stuck. Both the stuck process are still there 
and the new process got loaded. I dont know if that is good or bad but 
at least I can continue to test.
I dont know however if the resources like the ttyS1 is held by the stuck 
process.

>
>On Thu, Apr 30, 2015, at 01:22 PM, Marius Liebenberg wrote:
>>  I am using halrun to to test my version of gs2_vfd. If I break out of
>>  the code with crtlZ it leaves halrun still loaded but I am not in the
>>  halrun shell anymore.
>>  I can see the halrun pid and my code pid but I cannot seem to kill 
>>them
>>  in any way.
>>  I use sudo kill 9 pid.
>>  Is there a better way to kill halrun without rebooting all the time?
>>
>>
>>
>>
>>  -
>>  Regards / Groete
>>
>>  Marius D. Liebenberg
>>  +27 82 698 3251
>>  +27 12 746 6064
>>  
>>--
>>  One dashboard for servers and applications across 
>>Physical-Virtual-Cloud
>>  Widest out-of-the-box monitoring support with 50+ applications
>>  Performance metrics, stats and reports that give you Actionable 
>>Insights
>>  Deep dive visibility with transaction tracing using APM Insight.
>>  http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>>  ___
>>  Emc-developers mailing list
>>  Emc-developers@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>
>--
>   John Kasunich
>   jmkasun...@fastmail.fm
>
>--
>One dashboard for servers and applications across 
>Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable 
>Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] How to kill halrun

2015-04-30 Thread Marius Liebenberg
>On 4/30/15 11:22 AM, Marius Liebenberg wrote:
>>I am using halrun to to test my version of gs2_vfd. If I break out of
>>the code with crtlZ it leaves halrun still loaded but I am not in the
>>halrun shell anymore.
>>I can see the halrun pid and my code pid but I cannot seem to kill 
>>them
>>in any way.
>>I use sudo kill 9 pid.
>>Is there a better way to kill halrun without rebooting all the time?
>
>Ctrl-Z sends the Suspend signal, which returns you to your login shell 
>and leaves the process around, but stopped.
>
>The preferred way to quit halcmd (the "hal shell" that halrun puts you 
>in) is to type "quit" at the halcmd prompt, this should stop everything 
>and clean up properly.
>
How would I stop my program first and to return to the hal shell?
>
>-- Sebastian Kuzminsky


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] How to kill halrun

2015-04-30 Thread Marius Liebenberg
I am using halrun to to test my version of gs2_vfd. If I break out of 
the code with crtlZ it leaves halrun still loaded but I am not in the 
halrun shell anymore.
I can see the halrun pid and my code pid but I cannot seem to kill them 
in any way.
I use sudo kill 9 pid.
Is there a better way to kill halrun without rebooting all the time?




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Marius Liebenberg
Make files are not for the meek :)
Thanks Dewey, works like a charm.

>Example:
>
>$ cd src/hal/user_comps
>$ cp gs2_vfd.c mod_gs2_vfd.c
>$ vi Submakefile
>$ # after edits:
>$ git diff
>diff --git a/src/hal/user_comps/Submakefile 
>b/src/hal/user_comps/Submakefile
>index fb763e6..274970b 100644
>--- a/src/hal/user_comps/Submakefile
>+++ b/src/hal/user_comps/Submakefile
>@@ -10,6 +10,7 @@ PYTARGETS += $(patsubst %, ../bin/%, $(USER_COMP_PY))
>
>  ifdef HAVE_LIBMODBUS3
>  MODBUSSRCS := hal/user_comps/gs2_vfd.c
>+MODBUSSRCS := hal/user_comps/mod_gs2_vfd.c
>  MODBUSLDFLAGS := $(GLIB_LIBS) $(LIBMODBUS_LIBS)
>  MODBUSCCFLAGS := $(GLIB_CFLAGS) $(LIBMODBUS_CFLAGS)
>  USERSRCS += $(MODBUSSRCS)
>@@ -19,7 +20,11 @@ USERSRCS += $(MODBUSSRCS)
>  ../bin/gs2_vfd: $(call TOOBJS, $(MODBUSSRCS)) 
>../lib/liblinuxcnchal.so.0
> $(ECHO) Linking $(notdir $@)
> $(Q)$(CC) -o $@ $^ $(LDFLAGS) $(MODBUSLDFLAGS)
>+../bin/mod_gs2_vfd: $(call TOOBJS, $(MODBUSSRCS)) 
>../lib/liblinuxcnchal.so.0
>+   $(ECHO) Linking $(notdir $@)
>+   $(Q)$(CC) -o $@ $^ $(LDFLAGS) $(MODBUSLDFLAGS)
>  TARGETS += ../bin/gs2_vfd
>+TARGETS += ../bin/mod_gs2_vfd
>  endif # HAVE_LIBMODBUS
>
>  ifeq ($(HIDRAW_H_USABLE),yes)
>$ cd ../..
>$ make ../bin/mod_gs2_vfd
>Reading 182/183 dependency files
>Done reading dependencies
>Reading 190/190 realtime dependency files
>Done reading realtime dependencies
>Compiling hal/user_comps/mod_gs2_vfd.c
>Linking mod_gs2_vfd
>$
>$ ls ../bin/mod_gs2_vfd
>../bin/mod_gs2_vfd
>
>
>--
>Dewey Garrett
>
>
>--
>One dashboard for servers and applications across 
>Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable 
>Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Using LCNC makefile system

2015-04-30 Thread Marius Liebenberg
I decide to take Seb's advice and use gs2_vfd but it comes with its own 
issues. I made a copy of the code and renamed it to invt_vfd.c . Then I 
duplicated the entries in the Submakefile in the src/hal/user_comps/ 
directory. I searched all the other makefiles but found no reference to 
the gs2_vfd file.

When I "make ../bin/invt_vfd" it says that "no rule to make 
/hal/user_comps/invt_vfd.c  needed by object/hal/user_comps/invt_vfd.o"

Any suggestions please?

>
>
>>On 29 April 2015 at 08:30, Marius Liebenberg 
>>wrote:
>>
>>>   Can anyone tell me how to get my source into the tree and have it
>>>   compile with the system compile?
>>
>>Somebody else will no-doubt know how to do this properly, but what I
>>have done with (for example) additional Hostmot2 component drivers is
>>to search the makefiles for the names of existing files in the same
>>directory as my new file and to copy those entries for my file.
>>
>Thanks Andy, that did the trick :)
>
>>--
>>atp
>>If you can't fix it, you don't own it.
>>http://www.ifixit.com/Manifesto
>
>
>--
>One dashboard for servers and applications across 
>Physical-Virtual-Cloud
>Widest out-of-the-box monitoring support with 50+ applications
>Performance metrics, stats and reports that give you Actionable 
>Insights
>Deep dive visibility with transaction tracing using APM Insight.
>http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Using LCNC makefile system

2015-04-29 Thread Marius Liebenberg


>On 29 April 2015 at 08:30, Marius Liebenberg  
>wrote:
>
>>  Can anyone tell me how to get my source into the tree and have it
>>  compile with the system compile?
>
>Somebody else will no-doubt know how to do this properly, but what I
>have done with (for example) additional Hostmot2 component drivers is
>to search the makefiles for the names of existing files in the same
>directory as my new file and to copy those entries for my file.
>
Thanks Andy, that did the trick :)

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


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Using LCNC makefile system

2015-04-29 Thread Marius Liebenberg
Hi
I am trying to get my own piece of code to compile on my local copy of 
linuxcnc-dev. I have placed the code in the source tree and want to 
compile using the makefile system

Can anyone tell me how to get my source into the tree and have it 
compile with the system compile? Is there some writing regarding this 
somewhere for me to read up on?




-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Header file not found

2015-04-27 Thread Marius Liebenberg
  On 4/27/15 1:49 PM, Marius Liebenberg wrote:
>>
>>I looked at that one too but the code seemed a lot more involved. 
>>Either
>>way I still have to rename and compile. Now when I renamed and changed
>>the submake file I get " No rule to make target". Should I copy a 
>>dummy
>>bin file to the ../bin directory ?
>
>That means your makefiles don't have a rule to build one of the targets 
>you asked it to build.  Copying a dummy file to bin/ won't help, you 
>need to add the missing rule.
>
Please help me understand how the make process works. I am under the 
impression that it scans the directories in the tree and when it finds a 
submakefile it will use that to compile.

I guess the right question to ask is how do I get a new component into 
the source tree and have it compile with the make system?

>
>-- Sebastian Kuzminsky


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Header file not found

2015-04-27 Thread Marius Liebenberg


>On 4/27/15 1:21 PM, Marius Liebenberg wrote:
>>
>>I am writing a new driver for a different drive. The framework of
>>wj200_vfd is very close to what I need so I thought to rename and
>>modify.
>
>I don't know what your needs are, but it might be easier to start with 
>a less unusual driver, such as gs2_vfd.  AFAIK all VFD drivers are 
>pretty similar.
I looked at that one too but the code seemed a lot more involved. Either 
way I still have to rename and compile. Now when I renamed and changed 
the submake file I get " No rule to make target". Should I copy a dummy 
bin file to the ../bin directory ?
>
>
>-- Sebastian Kuzminsky


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Header file not found

2015-04-27 Thread Marius Liebenberg


>>>On 4/27/15 12:41 PM, Marius Liebenberg wrote:
>>>>I am trying to compile the wj200_vfd.comp component that is found in
>>>>the
>>>>src tree. I have set the . ./script/rip-environment.
>>>>When I compile I get the error that the modbus.h header file is not
>>>>found. The file is located in /usr/include/modbus/ and I have
>>>>confirmed
>>>>that it is there.
>>>>Do I have to do some trick to get the code to compile as a single
>>>>component. It obviously compiles when the make is run for the 
>>>>complete
>>>>system but I would have thought that I could compile it as a stand
>>>>alone
>>>>comp as well.
>>>
>>>wj200 is a little unusual, and has special compilation requirements.
>>>It's unusually complicated to compile.  See
>>>src/hal/user_comps/wj200_vfd/Submakefile for details.
>>>
>>>I recommend that you use the build system to compile it, since it
>>>already knows about the funny requirements.  Make whatever
>>>modifications you need to the sources, then (from src/) run "make
>>>../bin/wj200_vfd" and let the build system do that thing it does.
>>Thanks Seb that worked. I would rather not change the original code 
>>but
>>rename the code and make the changes to the new code. Do I only have 
>>to
>>change the sub makefile or is it more complicated than that?
>
>You can copy all the source files create matching rules in the 
>Submakefile (by copying the wj200 rules, but changing the filenames to 
>your new ones).
>
>Are you writing a new driver for a different (but similar) VFD, or are 
>you extending/improving the driver for the WJ200?
>
>If it's the first, then copy-and-modify probably makes sense.  If it's 
>the second, then modify-in-place will make the improvements easier to 
>merge back in to the original wj200 driver later (and git makes it easy 
>to keep track of what you're changing).

I am writing a new driver for a different drive. The framework of 
wj200_vfd is very close to what I need so I thought to rename and 
modify.

>
>
>-- Sebastian Kuzminsky


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Header file not found

2015-04-27 Thread Marius Liebenberg


>On 4/27/15 12:41 PM, Marius Liebenberg wrote:
>>I am trying to compile the wj200_vfd.comp component that is found in 
>>the
>>src tree. I have set the . ./script/rip-environment.
>>When I compile I get the error that the modbus.h header file is not
>>found. The file is located in /usr/include/modbus/ and I have 
>>confirmed
>>that it is there.
>>Do I have to do some trick to get the code to compile as a single
>>component. It obviously compiles when the make is run for the complete
>>system but I would have thought that I could compile it as a stand 
>>alone
>>comp as well.
>
>wj200 is a little unusual, and has special compilation requirements. 
>It's unusually complicated to compile.  See 
>src/hal/user_comps/wj200_vfd/Submakefile for details.
>
>I recommend that you use the build system to compile it, since it 
>already knows about the funny requirements.  Make whatever 
>modifications you need to the sources, then (from src/) run "make 
>../bin/wj200_vfd" and let the build system do that thing it does.
Thanks Seb that worked. I would rather not change the original code but 
rename the code and make the changes to the new code. Do I only have to 
change the sub makefile or is it more complicated than that?

>
>
>-- Sebastian Kuzminsky


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Header file not found

2015-04-27 Thread Marius Liebenberg
I am trying to compile the wj200_vfd.comp component that is found in the 
src tree. I have set the . ./script/rip-environment.
When I compile I get the error that the modbus.h header file is not 
found. The file is located in /usr/include/modbus/ and I have confirmed 
that it is there.
Do I have to do some trick to get the code to compile as a single 
component. It obviously compiles when the make is run for the complete 
system but I would have thought that I could compile it as a stand alone 
comp as well.



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] #define macro in components

2015-02-18 Thread Marius Liebenberg
Dont know if I asked this before   How does one do a #define in the 
standard component template? If I do it outside the function I get a 
file parse error.



-
Regards / Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 746 6064
--
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=190641631&iu=/4140/ostg.clktrk___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Profibus (Endswitches, simple IO)

2015-01-24 Thread Marius Liebenberg
Karl
I did find a website during the week that has a project using profibus 
and the STM32. I can't seem to find it right now but I will search. I 
found it through a link from a github page. I searched for STM32 on 
github.


-- Original Message --
From: "Karlsson & Wang" 
To: emc-developers@lists.sourceforge.net
Sent: 2015-01-24 21:23:21
Subject: [Emc-developers] Profibus (Endswitches, simple IO)

>I am thinking about using standard IO modules with RS485 Profibus 
>communication for end switches, brakes and other not very time critical 
>tasks. They are standardized and sometimes available used for a good 
>price.
>
>Is there anything useful available or do I have to write my own?
>
>I have done a basic 7i80 implementation on an STM32 micro controller 
>but are a little bit reluctant to share since I work as a software 
>developer and do not want to get into problem. The 7i80 part should be 
>rather portable if lwip is used.
>
>
>Nicklas Karlsson
>
>--
>New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
>GigeNET is offering a free month of service with a new server in 
>Ashburn.
>Choose from 2 high performing configs, both with 100TB of bandwidth.
>Higher redundancy.Lower latency.Increased capacity.Completely 
>compliant.
>http://p.sf.net/sfu/gigenet
>___
>Emc-developers mailing list
>Emc-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-developers


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] what's the internally process of the linuxcnc when it work?

2015-01-17 Thread Marius Liebenberg
I suggest that you look at the many screen already available to see how 
it is done. It is not just a screen but it contains a lot of management 
and workings in the background.


On 2015-01-17 06:31, 其实... wrote:
> hi all
> i am going to build a gui for linuxcnc by qt,but i don't know how to change 
> the its internal .you know that if i build a qt screen,i need to know ho to 
> inset it into the emc2 body,say in one word ,i know how to send a message by 
> qt,but i don't know in which method the emc2 body can receive the message?
>
>
> if i develop a qt program ,what can i do to connect it to emc2 body?
>
>
> Is someone have the same idea?you can connect with me ,leave your message 
> address pl~
> --
> New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
> GigeNET is offering a free month of service with a new server in Ashburn.
> Choose from 2 high performing configs, both with 100TB of bandwidth.
> Higher redundancy.Lower latency.Increased capacity.Completely compliant.
> http://p.sf.net/sfu/gigenet
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Is the server broken?

2015-01-15 Thread Marius Liebenberg
Geez thanks for that for one moment there I thought I was the last one 
left :)
On 2015-01-15 15:15, W. Martinjak wrote:
> It works. :)
>
> On 2015-01-15 13:43, Marius Liebenberg wrote:
>> I have not seen a message since the 12th. Is something broken or was I
>> left behind?
>>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Is the server broken?

2015-01-15 Thread Marius Liebenberg
I have not seen a message since the 12th. Is something broken or was I 
left behind?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] 2.6 / gladevcp / mode switches

2015-01-11 Thread Marius Liebenberg
Ah Andy so now I am not the only one feeling the pain of this. I asked 
the question a couple of weeks back on how to get back to manual mode 
after running and MDI command. There was some answers that made sense on 
that thread. If you dont clean up your mailbox regularly it should still 
be there.
The subject was Getting back to MANUAL mode after MDI or AUTO

On 2015-01-12 03:39, andy pugh wrote:
> I recently had a problem with the HD on my lathe, and just swapped out
> the drive and did a liveCD install to 2.6.4
>
> My Lathe mainly uses my GladeVCP panels that call G-code subs using
> the "MDI button" control.
>
> With the new version the MDI button GladeVCP control switches Axis to
> MDI mode, and thet means that one can't then jog the machine without
> switching to manual mode.
>
> This was not previously the case. I can see the reasoning. But it's a
> bit annoying. I guess that what is happening is that Axis is more
> accurately mirroring the global mode state than it did.
>
> So, perhaps the GladeVCP controls need to switch back to the previous
> mode when they have done their thing?
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
vanity: www.gigenet.com
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] IO with Ethernet and Arduino

2015-01-06 Thread Marius Liebenberg
I have been working on a network solution for some extra IO. I used an 
Arduino with an Ethernet shield and created a user space component that 
seem to work fine.
Some testing is required and I would appreciate any participation :)

udpio and Arduino 



-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Sockets.c in source tree

2015-01-05 Thread Marius Liebenberg
Thanks Eric.

On 2015-01-05 19:08, Eric H. Johnson wrote:
> Groete,
>
> It is used by linuxcncrsh and halrmt, which are non-realtime telnet type
> interfaces to machine control and HAL respectively.
>
> Regards,
> Eric
>
>
> I noticed that there is a sockets.c and sockets .h in the source tree under
> /emc/usr_intf Does anyone know what the intention with these are and if it
> is used by lcnc.
> Can they be used in RT space?
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Sockets.c in source tree

2015-01-05 Thread Marius Liebenberg
I noticed that there is a sockets.c and sockets .h in the source tree 
under /emc/usr_intf
Does anyone know what the intention with these are and if it is used by 
lcnc.
Can they be used in RT space?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Slow MPG count

2015-01-05 Thread Marius Liebenberg

On 2015-01-05 15:06, andy pugh wrote:
> On 5 January 2015 at 13:02, Marius Liebenberg  wrote:
>> Is the count a momentary count or a running total?
> It should be a running total.
>
What will reset it and when will it be reset?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Slow MPG count

2015-01-05 Thread Marius Liebenberg

On 2015-01-05 12:26, andy pugh wrote:
> On 5 January 2015 at 09:46, Marius Liebenberg  wrote:
>> Is there a way to use a slow mpg count for jogging. I can get a count
>> every 10ms or so from a user component. So it is a count not the actual
>> pulses.
> Yes, the halui jogging pins can be used. You might want to use the
> ilowpass realtime component to smooth things depending on just how
> quantised the counts are from the userspace component.
Thanks Andy. Is the count a momentary count or a running total?


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Slow MPG count

2015-01-05 Thread Marius Liebenberg
Is there a way to use a slow mpg count for jogging. I can get a count 
every 10ms or so from a user component. So it is a count not the actual 
pulses.

Is there a standard component to handle MPG count input that I could 
maybe modify if it does not handle the slow count.

Any suggestions welcome :)


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Parport does not unload

2015-01-03 Thread Marius Liebenberg
I have experienced this same frustrating thing with several machines 
when running the RIP for 2.8.0pre. The parport driver does not seem to 
unload correctly as I have to restart the machine completely before I 
can run again. This is a huge frustration if you are developing something.
I dont understand the kernel stuff so I cannot contribute but I feel 
that this is a problem that needs some investigating done by one of the 
gurus.

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] UDP Socket server problem

2014-12-23 Thread Marius Liebenberg

On 2014-12-23 23:34, Sebastian Kuzminsky wrote:
> On 12/23/2014 10:56 AM, Marius Liebenberg wrote:
>> I am running a python script in the user mode that is supposed to
>> communicate to a client with a very simple udp protocol
>> When I run the script in a shell it works fine but when I load it as a
>> user component in lcnc I get this error. I have the feeling it has to do
>> with the fact that it is not run by python but by lcnc's own python
>> interpreter but I am not sure.
> User components run with the standard system-wide python interpreter,
> nothing special there.
>
>
>> Traceback (most recent call last):
>> File "/home/marius/bin/udps", line 88, in 
>>   sock.sendto(data + "\n", (HOST, PORT))
>> TypeError: an integer is required
> Sounds like PORT maybe is a string, from sys.argv maybe, when it should
> be an int?  You can check this by using "print type(PORT)".  If that's
> the case, try (HOST, int(PORT)) instead to force coercion of PORT to int.
>
from the debug printout it looked like it was an int but the problem was 
fixed by casting it to an int where I read it from the sys.argv

Thanks a lot guys.


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] UDP Socket server problem

2014-12-23 Thread Marius Liebenberg
Hi
I am running a python script in the user mode that is supposed to 
communicate to a client with a very simple udp protocol
When I run the script in a shell it works fine but when I load it as a 
user component in lcnc I get this error. I have the feeling it has to do 
with the fact that it is not run by python but by lcnc's own python 
interpreter but I am not sure.

*Snippet of the script:*
data = " ".join(sys.argv[3:])
print ("data = ", data)

sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

try:
 while 1:
 sock.sendto(data + "\n", (HOST, PORT))
 received = sock.recv(1024)


*the error :*

Starting LinuxCNC...
('HOST = ', '192.168.1.200')
('PORT = ', '')
('nout= ', 6)
('data = ', '6')
Traceback (most recent call last):
   File "/home/marius/bin/udps", line 88, in 
 sock.sendto(data + "\n", (HOST, PORT))
TypeError: an integer is required


No matter how I change the data variable the error remains the same.

Any help will be appreciated.

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Parport in use after shutdown

2014-12-07 Thread Marius Liebenberg
Anyone with some ideas here please? I am a bit stuck :)

On 2014-12-07 13:48, Marius Liebenberg wrote:
> Hi All
> I am having problems on 2.7 with the parport being in use after I closed
> linuxcnc. If I want to load the system again I have to reboot my machine.
>
> Firstly, why do I have this only on the dev system and not on 2.6 in
> production?
> Secondly, what is the correct way to terminate all off linuxcnc related
> stuff if this should happen? (without reboot )
>
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Parport in use after shutdown

2014-12-07 Thread Marius Liebenberg
Hi All
I am having problems on 2.7 with the parport being in use after I closed 
linuxcnc. If I want to load the system again I have to reboot my machine.

Firstly, why do I have this only on the dev system and not on 2.6 in 
production?
Secondly, what is the correct way to terminate all off linuxcnc related 
stuff if this should happen? (without reboot )


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-03 Thread Marius Liebenberg

On 2014-12-03 16:22, andy pugh wrote:
> On 3 December 2014 at 13:33, Marius Liebenberg  wrote:
>> I will most likely end up doing just that as there are many conditions
>> to be met along the way. SO it is not just a simple move using G1 or G0.
>> I have to orientate the tool in a radial axis and change that at several
>> positions along the X axis.
> Wacky idea...
>
> The correlation between axial position and rotary position could be
> defined by a lincurve component. (albeit that would put slight corners
> in the rifling in cases where the lead changes with axial position
> (gain-twist rifling) )
>
> And if the HAL to define the breakpoints in the curve was a standalone
> file, an M-code or Python could execute that HAL code to vary the
> values and load a "setting"
If I sync the rotational axis to the X axis and use the feedback from 
the X axis as a scaled command for the rotational axis, I could change 
the scale factor on the fly based on the actual position of the X axis.
The spiral cut will start off as a regular spiral but the last number of 
inches has a progressive increment in the twist.
So I envisage only having a G1 move for the X axis and then slave the 
rotational axis via a component of sorts or I have to control the whole 
movement via the component.

What complicates the process is that the tool rotates and it has to be 
stopped at a certain place, the tool wedge must be adjusted to lift the 
tool a fraction of a millimetre (0.01 or less) and then return to the 
last rotational position and continue the cutting process. When it gets 
to the other end, the tool must be collapsed and the rod pushed back 
through the barrel. So the two axis are *not* always married.



-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877

--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-03 Thread Marius Liebenberg

On 2014-12-03 12:00, andy pugh wrote:
> On 3 December 2014 at 07:31, Dave Caroline  
> wrote:
>> This is Andy's wiki page
>> http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Hobbing
> I have now made a custom Touchy tab for it, and embedded code in the
> tab sends MDI commands to perform the hobbing cycle as is being
> suggested above.
> https://picasaweb.google.com/lh/photo/gLRI12vgLiTBw6uEUmsKDdMTjNZETYmyPJy0liipFm0?feat=directlink
>
> ( I can't get to the files from where I am now to show the Python that
> controls the machine)
>
> One thing to be careful of when sending MDI from Python... STOP on the
> machine just stops the current MDI command. The Python code needs to
> check for a STOP condition too, or the motion re-starts when the
> Python sends the next MDI command.
>
> Sending motion commands through emccanon seems like it ought to be a
> more correct approach, but it is harder and you need to do the
> coordinate systems yourself.

I will most likely end up doing just that as there are many conditions 
to be met along the way. SO it is not just a simple move using G1 or G0. 
I have to orientate the tool in a radial axis and change that at several 
positions along the X axis.

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-02 Thread Marius Liebenberg

On 2014-12-02 22:52, andy pugh wrote:
> On 2 December 2014 at 17:16, Marius Liebenberg  wrote:
>
>> The machine is a rifler  that can only move along a certain path. Even
>> when you retract the tool.
> Ah well, in that case I think it can work like my hobber, and you just
> need to slave the rotation to the axial position, and jog the axial
> position in the normal way.
Do we have an example of your hobber setup?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-02 Thread Marius Liebenberg

On 2014-12-02 18:49, Sebastian Kuzminsky wrote:
> On 12/2/14 9:12 AM, Marius Liebenberg wrote:
>> On 2014-12-02 17:59, andy pugh wrote:
>>> On 2 December 2014 at 15:26, Marius Liebenberg  
>>> wrote:
>>>
>>>> Is it possible to do a synchronized jog of at least two axis? I need to
>>>> move two axis along a specific curve in manual jog mode if possible.
>>> I think the answer is "no"
>> Thought as much. I will have to take the current position and work out
>> the curve to the end of the travel and then trigger an MDI routine with
>> the parameters to complete the spiral travel to the end.
>> Can I do that from a python script to HAL?
> Yes, this is possible.
>
> You can write a python script that presents a gui and runs your MDI
> command when you want it.  This custom python mdi gui can run at the
> same time as Axis or other guis.
>
> For an example of a python program that runs MDI, look at
> tests/tlo/test-ui.py.  That particular test does not run alongside Axis,
> but there's no reason it couldn't.  (Though note that running multiple
> UIs simultaneously works much better in 2.7~pre and master than it does
> in 2.6 and older.)
This give me an Idea to work with as the whole action of the machine 
will be driven by one sub routine that get called with some parameters. 
It will never run any other Gcode.
>
>> I will need a forward and reverse button that must know about the
>> current position and then do something with that.
> Forward and reverse i'm not sure about.  You can use Feed Override
> (again, from your custom python gui, if you like) to vary the forward
> speed, but i dont think it'll let you go in reverse.
>
Not really reverse but a G0 move in the opposite direction


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-02 Thread Marius Liebenberg

On 2014-12-02 18:50, andy pugh wrote:
> On 2 December 2014 at 16:12, Marius Liebenberg  wrote:
>> Thought as much. I will have to take the current position and work out
>> the curve to the end of the travel and then trigger an MDI routine with
>> the parameters to complete the spiral travel to the end.
>> Can I do that from a python script to HAL?
>> I will need a forward and reverse button that must know about the
>> current position and then do something with that.
> I am not sure that G-code and feed-over-ride is a non-starter. I can
> imagine having a PID following a moving target controlled by the
> keyboard, and using the velocity output to drive the feed-override
> pin.
>
> But, if sending motion commands from Python  is likely to work better,
> have a look at:
> http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=tests/interp/pymove/oword.py;hb=0c55c195942782b8dcf22caa5ff8f49591880c6d

I could do the same as what you did with LatheMacro. I will have a 
screen with a lot of parameters and I am sure that I could get the 
current position through hal somehow.
The application is going to be exactly that. A wizard that will generate 
the Gcode to control the machine with. I just have to add a manual move 
based on some parameters.
The machine is a rifler  that can only move along a certain path. Even 
when you retract the tool. So I guess the manual move can be calculated 
and a Gcode given via MDI.


-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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=164703151&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Syncronized jog

2014-12-02 Thread Marius Liebenberg

On 2014-12-02 17:59, andy pugh wrote:
> On 2 December 2014 at 15:26, Marius Liebenberg  wrote:
>
>> Is it possible to do a synchronized jog of at least two axis? I need to
>> move two axis along a specific curve in manual jog mode if possible.
> I think the answer is "no"
Thought as much. I will have to take the current position and work out 
the curve to the end of the travel and then trigger an MDI routine with 
the parameters to complete the spiral travel to the end.
Can I do that from a python script to HAL?
I will need a forward and reverse button that must know about the 
current position and then do something with that.
> You might be able to achieve something very similar by programming a
> G-code curve and using a manual feed-override knob.
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Syncronized jog

2014-12-02 Thread Marius Liebenberg
Hi All
Is it possible to do a synchronized jog of at least two axis? I need to 
move two axis along a specific curve in manual jog mode if possible.

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] GentooCNC & layman

2014-11-19 Thread Marius Liebenberg
Gobbledygook

On 2014-11-19 21:21, Kyle Evans wrote:
> GentooCNC guys,
>
> I'm trying to get layman to manage your overlay. I manually added the
> below to my installed.xml and ran 'hg clone
> http://hg.code.sf.net/p/gentoocnc/code gentoocnc'
>
> This is my experimental entry in installed.xml:
>
> 
>   gentoocnc
>   linuxcnc ebuilds for Gentoo
> http://sourceforge.net/projects/gentoocnc/
>   
> emc-developers@lists.sourceforge.net
>   
>type="mercurial">http://hg.code.sf.net/p/gentoocnc/code
> http://sourceforge.net/p/gentoocnc/code/feed/
> 
>
>
>
> The problem is, when I did my clone, it pulled the parent overlay
> folder. So, instead of the desired ./gentoocnc/sci-misc/, I got
> ./gentoocnc/overlay/sci-misc/. For the moment I just moved the folders
> up a level. The hg man page isn't super clear on how to pull a
> subfolder. Do you guys have a way to streamline this process?
>
> --
> 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-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] [Emc-commit] dgarr/jog_ignore_fo: inifile: support jog_ignore_feed_override

2014-11-13 Thread Marius Liebenberg
Seb, I agree with that. I think FO is a bit of an evil thing. The 
program should be corrected if the feed is not perfect although that is 
not practical if the program only runs once. I use gmoccapy mostly and I 
hide the FO functions normally.
Jog speeds are jog speeds and they are not feed speeds.


On 2014-11-14 07:10, Sebastian Kuzminsky wrote:
> On 11/13/2014 09:40 PM, Dewey Garrett wrote:
>> inifile: support jog_ignore_feed_override
>>
>> with inifile setting:
>>[TRAJ]JOG_IGNORE_FEED_OVERRIDE
>> and provide hal input pin:
>>ini.traj_jog_ignore_feed_override
>>
>> Signed-off-by: Dewey Garrett 
>>
>>
>> http://git.linuxcnc.org/?p=linuxcnc.git;a=commitdiff;h=2b5c9ce
> I like the idea of making jogs immune to Feed Override, but why go
> through Task to do it?  Why not have motion export the
> jog_ignore_feed_override pin directly?
>
> ... Or, maybe jogs should *always*, unconditionally, be immune to FO,
> and just use the commanded jog speed.  Jogging isn't a feed (and it
> isn't a rapid), so it's not at all clear to me that FO (or RO) should be
> applied, ever.
>
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
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-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] 5 axis gmocappy

2014-11-10 Thread Marius Liebenberg
Norbert
5 Axis would be very handy. I dont think anyone that has used Gmoccapy 
will want to go back to Axis. Not that Axis is bad, but you are probably 
on touch screen anyway

On 2014-11-10 19:11, Niemand Sonst wrote:
> Not gmoccapy, but I have done some work on "luminos". the very
> industrial version of gmoccapy. It does support 5 axis. I have not
> planed to do gmoccapy as 5 axis version. Do you realy think there is
> much need for that?
>
> There is a lot of thinks to take care off, if you add a 5-th axis, as
> homing, jogging, etc. It is not only the DRO.
>
> Norbert
>
> Am 10.11.2014 um 16:06 schrieb David Armstrong:
>> wondering if anyone has modified gmocappy for 5 axis mill
>> before i go ahead and make changes etc
>>
>> Dave
>> --
>> ___
>> Emc-developers mailing list
>> Emc-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-developers
>>
>
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] 5 axis gmocappy

2014-11-10 Thread Marius Liebenberg
I dont think so Dave but there are some of us waiting for such work to 
be done. I will help test :)

On 2014-11-10 17:06, David Armstrong wrote:
> wondering if anyone has modified gmocappy for 5 axis mill
> before i go ahead and make changes etc
>
> Dave
> --
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Running a socket server from a python script

2014-10-08 Thread Marius Liebenberg

On 2014-10-08 15:25, Sebastian Kuzminsky wrote:
> On October 8, 2014 3:52:19 AM MDT, Marius Liebenberg  
> wrote:
>> Hi All,
>> Will it be possible to run a UDP socket server from a HAL python
>> script.
>> The standard python library stuff.
>> I need to connect to a custom IO device at resonably high speed. My
>> thoughts was to go with an Ethernet enabled MCU to do the custom work
>> and then use a UDP server to get the HAL pins interface working from a
>> python script. So the UDP server does not have to be real time but it
>> must run in the script that is in the real time space. Dont know if
>> that
>> makes sense?
>>
>> Any thoughts on this?
> That should work just fine.
>
Thanks Seb I will give that a go then.

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Running a socket server from a python script

2014-10-08 Thread Marius Liebenberg
Hi All,
Will it be possible to run a UDP socket server from a HAL python script. 
The standard python library stuff.
I need to connect to a custom IO device at resonably high speed. My 
thoughts was to go with an Ethernet enabled MCU to do the custom work  
and then use a UDP server to get the HAL pins interface working from a 
python script. So the UDP server does not have to be real time but it 
must run in the script that is in the real time space. Dont know if that 
makes sense?

Any thoughts on this?

-- 

Regards /Groete

Marius D. Liebenberg
+27 82 698 3251
+27 12 743 6064
QQ 1767394877


--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


  1   2   3   >