Hi folks i have a little question here
i have a pyvcp spinbox to set #5399 and a button to refresh it.
pyvcp .xml code here (clipped)
Code:
<spinbox>
<width>"6"</width>
<halpin>"cantidad"</halpin>
button>
<halpin>"actual-param"</halpin>
<text>"Actualizar"</text>
custom_postgui.hal code here:
Code:
net remote-analin00 motion.analog-in-00 <= pyvcp.cantidad
net remote-actual-param halui.mdi-command-00 <= pyvcp.actual-param
mdi-command-00 invokes 101.ngc sub, here it is:
Code:
o<101> sub
M66 E0 L0
(#1=#5399)
o<101> endsub
M2
Simple Test Gcode is:
Code:
g0 x#5399
g91
x150
y150
x-150
y-150
m30
All works and runs very well, but Axis stop backplot drawing of gcode!, it is normal or its me?!
Anyone?
Regards
Rick
PS: LinuxCNC 2.5.3