Re: [Emc-users] Python Component Loading

2008-01-24 Thread Kirk Wallace
On Thu, 2008-01-24 at 07:20 -0600, John Thornton wrote: > Kirk, > > There is some info on this page that might help. > > http://axis.unpythonic.net/01154705314 > > What are you considering with the serial port? Just wondering... > > John Thanks for the link, John. It's part of my quest to de

Re: [Emc-users] Python Component Loading

2008-01-24 Thread John Thornton
Kirk, There is some info on this page that might help. http://axis.unpythonic.net/01154705314 What are you considering with the serial port? Just wondering... John On 23 Jan 2008 at 13:57, [EMAIL PROTECTED] wrote: > I am interested in the serial port features available in Python. The > docum

Re: [Emc-users] Python Component Loading

2008-01-23 Thread Jeff Epler
In my interface between the Arduino board and HAL, the first line of the sample hal file is loadusr -W arduino /dev/ttyUSB0 3 this runs the python script (which is actually at /home/jepler/bin/arduino on my particular system) as a userspace component. Python programs aren't ever realtime compo

Re: [Emc-users] Python Component Loading

2008-01-23 Thread Stephen Wille Padnos
Yes, except that they wouldn't be RT modules, they'd be userspace. So you'd use "loadusr" instead of "loadrt" - Steve Kirk Wallace wrote: >I am interested in the serial port features available in Python. The >documentation shows how to make a Python component, and run it from the >halrun comman

[Emc-users] Python Component Loading

2008-01-23 Thread Kirk Wallace
I am interested in the serial port features available in Python. The documentation shows how to make a Python component, and run it from the halrun command, but not how to run it in EMC. Do you just use "loadrt My_Python_component count=X" like the Comp components? The Python component is a scri