Problem with rectled

More
16 Feb 2017 13:17 #88048 by Holzwurm56
Holzwurm56 created the topic: Problem with rectled
Hello,
i want to show some machine status informations with pyvcp on the axis screen.
I add the following lines in the diffrent files. When i start linuxcnc it will end soon after starting without a error message.
I use Wheezy with LinuxCNC 2.7.8.
1.:
***.ini
[DISPLAY]
PYVCP = holzwurm.xml (created with mousepad)
2.:
custom_postgui.hal
net setalarm => hm2_5i25.0.7i77.0.0.input-06 => pyvcp.alarm-led
3.:
custom.hal
#*** Ɯberwachung Maschinensignale ***
net vakuum_rechts <= hm2_5i25.0.7i77.0.0.input-06
4.:
holzwurm.xml
<rectled>
<halpin>"alarm-led"</halpin>
<height>"40"</height>
<width>"60"</width>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</rectled>

Can someone tell me what is my mistake?

Thanks

Hans
More
16 Feb 2017 21:46 #88080 by tommylight
tommylight replied the topic: Problem with rectled
You are using 2 diferent names for the same input pin. Use the same name as many times as you like, even if diferent hal files.
Time to create page: 0.073 seconds
Powered by Kunena Forum