- Posts: 60
- Thank you received: 0
PathPilot 2.0.2 adding rtlib's
Works for me.emptyhb wrote: Can you try with flipflop? I can confirm all rtlibs can load with "count=n" parameter but if using "names", addf function will not work after.
Attachment not found
Attachment not found
So does adding two instances of a component.
Attachment not found
Attachment not found
Please Log in to join the conversation.
You got an email, i don't know what step am i missing for compile rtlibs.
Please Log in to join the conversation.
Yes, I saw it right now. I don't know which steps you are missing, as I don't know what you have done and what you haven't done. How I did it, was how I described in an earlier post. All included HAL components were actually compiled when LCNC was compiled, which I noticed two days ago. They reside in [LinuxCNC-folder]/rtlib.
I'll see if I can redo the whole thing and take some screenshots during the process in a couple of days.
If you'd like, I can send you the files, if you say which ones you need.
Please Log in to join the conversation.
1. Make folders in home directory by structure:
Please Log in to join the conversation.
This may be one reason why it doesn't work. I didn't use the latest source, I used LCNC 2.7.8.emptyhb wrote: 2. Clone linuxcnc
Code:$:cd repos/tormach_linuxcnc/ $:git clone git://github.com/linuxcnc/linuxcnc.git linuxcnc
Please Log in to join the conversation.
But, i found: if i comple .comp file with "halcompile --install" the file size of rtlib (compiled comp) it different with default linuxcnc build.
How do you use halcompile? or you are using default linuxcnc compiled files?
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
Please Log in to join the conversation.
Attachment not found
DaOne wrote: Any of you guys using a parallel port? Curious what you bypassed.
@DaOne please share ini and hal only for XHC-HB04 !
Please Log in to join the conversation.
dinkata wrote:
Attachment not found
DaOne wrote: Any of you guys using a parallel port? Curious what you bypassed.
That's how it worksCode:loadrt hal_parport cfg="0x378 out" setp parport.0.reset-time 500 loadrt charge_pump ...................... addf parport.0.read base-thread addf parport.0.write base-thread addf parport.0.reset base-thread addf charge-pump base-thread
@DaOne please share ini and hal only for XHC-HB04 !
No I understand the hal and ini files. Thats the easy part. When not in sim mode there is checks at startup (python code) that looks for the mesa card and then ethernet. It will error out and force close with a dialog box if they are not detected. its done in pathpilotmanager.py I am almost sure. I have not even touched the hal files or ini files in 2.0 yet. Gonna set through it before adding in all my mods to the python code. I just don't want to reinvent the wheel if someone else has done it already.
On the XHC-HB04 ini and hal files I would assume you do it just like you do in linuxcnc. I don't have one yet but might pick one up to play with for this lathe retrofit.
Please Log in to join the conversation.
