Errors caused by Latency or something else?
16 Oct 2018 19:11 - 16 Oct 2018 19:15 #118896
by PCW
Replied by PCW on topic Errors caused by Latency or something else?
Mesa cards ( and all other servo/stepgen hardware for LinuxCNC AFAIK ) only use a servo thread and for
most applications a 1 ms (1000000 ns) servo thread is appropriate.
Typically only parallel port setups use the base thread and in this case optimizing the timing based on the
base thread latency makes sense since this will determine the maximum step rate (and step smoothness)
As you found, 37 usec is not enough time to even complete the communications with the Mesa Ethernet card.
most applications a 1 ms (1000000 ns) servo thread is appropriate.
Typically only parallel port setups use the base thread and in this case optimizing the timing based on the
base thread latency makes sense since this will determine the maximum step rate (and step smoothness)
As you found, 37 usec is not enough time to even complete the communications with the Mesa Ethernet card.
Last edit: 16 Oct 2018 19:15 by PCW.
Please Log in or Create an account to join the conversation.
17 Oct 2018 06:06 #118927
by simonmn
Replied by simonmn on topic Errors caused by Latency or something else?
Put like that it makes allot more sense to me.
Guess I didn't see the scale of what I was working with, and just thought of lower = better.
Again thank you, and thanks for taking the time to explain things. I really want to learn more linuxcnc (as well as linux in general) as it seems like a pretty powerful and valuable tool to be able to use.
Guess I didn't see the scale of what I was working with, and just thought of lower = better.
Again thank you, and thanks for taking the time to explain things. I really want to learn more linuxcnc (as well as linux in general) as it seems like a pretty powerful and valuable tool to be able to use.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.069 seconds