I am trying to stop a conveyor with a python script.
from the help
path = comp.findBehaviour(“MyPathWayBehaviour”)
set path behavior ON
path.Enabled = True
however, this behaviour no longer seems to exist.
I have tried
conveyor_off_signal = comp.findBehaviour(“PowerOnSignal”)
conveyor_off_signal.Value == False
but the conveyor continues to move.
what is a simple way to stop the conveyor and send a signal to another component to say it is stopped