- Posts: 51
- Thank you received: 0
Please Help with Error...
- mjohnsonsa
- Topic Author
- Offline
- Senior Member
-
Less
More
10 years 5 months ago #74700
by mjohnsonsa
Please Help with Error... was created by mjohnsonsa
I am trying to use the Gantry Component with the Parallel Port but am having the following error whenever trying to start up LinuxCNC:
HAL: ERROR: function 'gantry.0.read' need FP
addf failed
My .ini and .hal file are attached, I am trying to get this done ASAP so if you can help give guidance I would really appreciate it. I have been trying to piece together a working solution for 3 days now and am getting discouraged...
Matt
HAL: ERROR: function 'gantry.0.read' need FP
addf failed
My .ini and .hal file are attached, I am trying to get this done ASAP so if you can help give guidance I would really appreciate it. I have been trying to piece together a working solution for 3 days now and am getting discouraged...
Matt
Please Log in to join the conversation.
10 years 5 months ago #74701
by PCW
Replied by PCW on topic Please Help with Error...
The gantry component functions need to be added to the servo thread, not the base thread
Please Log in to join the conversation.
- mjohnsonsa
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 5 months ago #74705
by mjohnsonsa
Replied by mjohnsonsa on topic Please Help with Error...
Thank you, can I add just the gantry component to the servo thread while leaving the parport and stepgen in the base-thread or will that cause some kind of synchronization problem? The reason I ask is because I know the base-thread is the preferred thread since it is faster.
Please Log in to join the conversation.
10 years 5 months ago #74712
by PCW
Replied by PCW on topic Please Help with Error...
The gantry component will only run in the servo thread
(and there is no advantage to running it in the base thread)
(and there is no advantage to running it in the base thread)
Please Log in to join the conversation.
- mjohnsonsa
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 51
- Thank you received: 0
10 years 5 months ago #74714
by mjohnsonsa
Replied by mjohnsonsa on topic Please Help with Error...
My question was supposed to read if I can move just the Gantry Component to the Servo thread and leave the others in the base thread?
Please Log in to join the conversation.
10 years 5 months ago #74715
by PCW
Replied by PCW on topic Please Help with Error...
Yes
The gantry comp needs floating point so cannot run in the base thread (where floating point is not supported)
The gantry comp needs floating point so cannot run in the base thread (where floating point is not supported)
Please Log in to join the conversation.
Time to create page: 0.080 seconds
