On 26/09/16 09:11, [email protected] wrote:

On 25/09/16 20:55, Sag ich Dir nich wrote:


4. then i created a new file in the machine directory and named it "spindle_to_pyvcp.hal" in which i copied "net spindle-rpm-filtered => pyvcp.spindle-speed".

i am assuming  that "net spindle-rpm-filtered" is the signal

No good assuming, if you didn't create it, it does not exist

so i tried using other pins but everytime i get an error message "pin does not exist".

The correct signal is annotated in your hal file

# For display in pyvcp
net smoothed_rpm spindle-rpm-filter.out




hal_xinit:171 HAL error: duplicate component name 'hal_manualtoolchange'

but i havent touched it so why would it duplicate then?

You are loading it right at the start of cramps.hal

loadusr -W hal_manualtoolchange

and loading it again by including

HALFILE = axis_manualtoolchange.hal

in your ini file


PS.

Remove the line loading hal_manualtoolchange at the start of the cramps.hal file and leave the axis_manualtoolchange.hal
line in your ini file
You are loading it, but not doing anything with it in the cramps.hal file

hal_manualtoolchange is normally loaded at the end of a hal file, one of the reasons is that it relies upon iocontrol,
which is a userspace module and may not be immediately available.
See the connections in the axis_manualtoolchange.hal file

It certainly should not be loaded before even kinematics, trajectory planner and threads have been loaded

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to