hi.
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
Both methods that you described should be valid options for controllnig a conveyor. If you need to signal other components that the conveyor is stopped, then I suggest using the signaling method and connecting the powerOnSignal to the external component. Here is an example script that you can use as a reference.