RTAPI: ERROR: Unexpected realtime delay on task 1

More
01 Feb 2016 17:16 #69373 by jamby
Hey,

Computer: Dell Optiplex 745 no video card.
Linuxcnc: 2.7.3 wheezy from CD
Cards: 5i25 to 7i77 external power from computer to 7i77 leds lit.
Dmesg:

File Attachment:

File Name: dmesg.txt
File Size:5 KB


bottom of which says:
[ 166.939516] RTAPI: ERROR: Unexpected realtime delay on task 1
[ 166.939519] This Message will only display once per session.
[ 166.939520] Run the Latency Test and resolve before continuing.
[ 166.939637]
[ 166.939638] In recent history there were
[ 166.939639] 78048, 31920, 62728, 62752, and 63168
[ 166.939640] elapsed clocks between calls to the motion controller.
[ 166.939644] This time, there were 65624 which is so anomalously
[ 166.939645] large that it probably signifies a problem with your
[ 166.939661] realtime configuration. For the rest of this run of
[ 166.939662] LinuxCNC, this message will be suppressed.
[ 166.939663]
[ 166.940687] hm2/hm2_5i25.0: Smart Serial port 0: DoIt not cleared from previous servo thread. Servo thread rate probably too fast. This message will not be repeated, but the hm2_5i25.0.sserial.0.fault-count pin will indicate if this is happening frequently.
[ 166.941461] hm2/hm2_5i25.0: Smart Serial Comms Error: There have been more than 1 errors in 10 thread executions at least 200 times. See other error messages for details.
[ 166.941465] hm2/hm2_5i25.0: ***Smart Serial Port 0 will be stopped***



This happens as soon as I select the config file and press OK

Sorry but I don't know what to make of this error
Base Jitter was set to 30,000 in PNCconf.

Photo of latency


Hal and Ini files

File Attachment:

File Name: Alliant_02.ini
File Size:3 KB


File Attachment:

File Name: Alliant_02.hal
File Size:10 KB



Any Help Appreciated.
Thanks
Jim
Attachments:

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

More
01 Feb 2016 17:29 - 01 Feb 2016 17:31 #69374 by PCW
Your servo thread is way too fast
A typical servo thread rate for a velocity mode servo drive is 1 KHz (= 1000000 ns)
Last edit: 01 Feb 2016 17:31 by PCW.
The following user(s) said Thank You: jamby

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

More
01 Feb 2016 18:08 #69377 by jamby
PCW

Did as you said. Now it works.

Thank you
Jim

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

Time to create page: 0.100 seconds
Powered by Kunena Forum