Problem with rectled
- Holzwurm56
- Offline
- Premium Member
Less
More
- Posts: 133
- Thank you received: 0
16 Feb 2017 13:17 #88048
by Holzwurm56
Problem with rectled was created by Holzwurm56
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
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
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
16 Feb 2017 21:46 #88080
by tommylight
Replied by tommylight on 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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.068 seconds