gmoccapy error pins not found

More
18 Oct 2019 08:24 #148173 by Aciera
I'm trying to set up feedoverride in gmoccapy for my machine.
Whenever I use a gmoccapy-pin in the hal I get the error :

./custom_postgui.hal:12: parameter or pin 'gmoccapy.feed-override.analog-enable' not found


This is my custom_postgui hal:
# Include your custom_postgui HAL commands here
# This file will not be overwritten when you run PNCconf again

# ---Potentiometer Overrides


loadrt scale names=scale.spindle,scale.feed

addf scale.feed       servo-thread


setp gmoccapy.feed-override.analog-enable TRUE
setp scale.feed.gain 0.0417
net feed-override-raw   classicladder.0.floatout-00 => scale.feed.in
#net feed-override-scaled scale.feed.out => gmoccapy.feed-override.direct-value

Here is my .INI

Warning: Spoiler! [ Click to expand ]

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

More
18 Oct 2019 08:37 #148176 by Aciera
I've just solved this myself!
The postgui.hal needs to be called by POSTGUI_HALFILE not just HALFILE in the INI.

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

More
18 Oct 2019 10:16 #148180 by RotarySMP
What machine are you usnig Gmoccapy on? Norbert did a fantastic job with this GUI, I really like it.
Mark

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

More
18 Oct 2019 11:33 #148182 by Aciera
I am refitting an old mechanical Aciera F5 that used to be run on Mach3.

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

More
18 Oct 2019 12:06 #148184 by RotarySMP
Those are really nice machines. Have you posted photos?
Mark

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

More
19 Oct 2019 18:16 #148353 by Aciera
They are nice machines. Built in a different era, they just don't make machinery like that anymore. Maybe when I finally get my pile of work done thats waiting to be finished I'll post a few pictures.

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

Moderators: newbynobi
Time to create page: 0.110 seconds
Powered by Kunena Forum