Toggle On/Off Button

More
5 years 2 weeks ago #223091 by andypugh
Replied by andypugh on topic Toggle On/Off Button
If halmeter shows that every signal is working as-expected, then what isn't working?

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

More
5 years 2 weeks ago #223101 by chris@cnc
Replied by chris@cnc on topic Toggle On/Off Button
I have had a bad experience using loadrt and addf in the postgui.hal. Write this lines in your top level hal. 
Code:
loadrt toggle count=3 loadrt toggle2nist count=3 addf toggle.0 servo-thread addf toggle.1 servo-thread addf toggle.2 servo-thread addf toggle2nist.0 servo-thread addf toggle2nist.1 servo-thread addf toggle2nist.2 servo-thread

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

More
5 years 2 weeks ago #223280 by julien83
Replied by julien83 on topic Toggle On/Off Button
Sorry guys. I confused halui.lube and halui.flood. now it's works

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

More
4 years 10 months ago #229495 by Kasper-001
Replied by Kasper-001 on topic Toggle On/Off Button
hello i just tried to put in machine on button, but i can´t see whats wrong get this :
./test2.hal:346: Pin 'halui.machine.is-on' was already linked to signal 'tog-on'
but it is not linked?

my hal file under here
 

File Attachment:

File Name: test2.hal
File Size:12 KB

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

More
4 years 10 months ago #229496 by Kasper-001
Replied by Kasper-001 on topic Toggle On/Off Button
haha just put a # in front of the line 346

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

Time to create page: 0.128 seconds
Powered by Kunena Forum