Have reduced mode control variable

I am trying to use reduced mode in my program to not do certain actions while in reduced mode. Is there any way i can turn a variable on when in reduced mode. Currently I am using the reduced mode output into an input which is ugly.

I’m not familiar with any script command telling if reduced mode is on or off.

But you do not have to wire your output into your input. You can just use the output in your expression. :slight_smile: Or assign a variable with the output.

For example:
var_1 := CO[0]
If CO[0] == True/False

When you configure that output to use reduce mode as an output. It no longer allows you to use it as an option in the programming

You can still use the script command to read the output.
image

HIGHLY recommend bookmarking the URScript manual if you’re going to be programming. There’s just certain things you can’t do in Polyscope alone. (https://s3-eu-west-1.amazonaws.com/ur-support-site/214314/scriptmanualG5_%205.15.1.pdf)

So use an assignment node like usual, but assign it the value of “get_configurable_digital_out(YOUR_OUTPUT)”

2 Likes