Switch between scripts

Try something like:

If (robot.signalout.output(111) == True):

Isn’t the syntax you use for setting the signal?

Have a look at this thread: Hiding components with Python scripting in VC - #5 by WilliamSmith

Regards
Feature