About unexpected realtime delay ...

More
7 years 8 months ago #125862 by l2-max
No confuse. My logic was - despite function is loaded, if no pins are configured for read, then there is nothing to read. ;)

P.S. I understand that linuxcnc is implemented how it is implemented. No complains.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #125869 by Todd Zuercher
Hal files are simple scrips they don't check if something is used or not, they just do what they are told, and halpins such as the parallel port input pins can be read and used by other things independent of the hal file.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #125870 by l2-max
By what things they can be read and used?

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #125875 by Todd Zuercher
A custom M-code could use them without a hal file reference.
A python userspace component can look up the value of a hal pin.
The following user(s) said Thank You: l2-max

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago - 7 years 8 months ago #125878 by l2-max
Okay. Will check that. You gave me the point.

Thanks
Last edit: 7 years 8 months ago by l2-max.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago #125932 by l2-max
Moved parport.X.read functions to servo thread and got stable 31000nS base period for two parports generating pulses for 5 joints at 32kHz.

Please Log in or Create an account to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum