On 13 June 2013 22:00, Gene Heskett <[email protected]> wrote:

> When I grabbed the file, the only way to get it into a text file using FF
> was to copy/paste the screen.

Go to 
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/hal/components/lincurve.comp;h=4335245a14c5aa6a793f5c12bfba84cde40c76b6;hb=11c9b43a824129d73788f37700864e5c99aaac85
Where it says "[linuxcnc.git] / src / hal / components /
lincurve.comp" near the top right-click on the test "lincurve.comp"
and select save-as.

> So I wound up going thru the file and deleting at least 5 character spaces
> at the beginning of each line, and then it built & installed.  But I am
> curious because 49 lines of python code turned into 97.5K of .ko.

It isn't Python, it is (approximately) C and the comp utility converts
it into quite a long C program.
The .ko is 7k on my machine though.

> And halrun can loadrt it, but the syntax says I should be able to tell
> halrun to use a .ini file to initialize everything.

to mess about with it:

loadrt lincurve ….
loadrt threads
addf lincurve.0.thread1
start
setp lincurve.0….
….
….
loadusr halmeter

(and so on)


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

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to