Universal Robots Forum

How to use IfNode to evaluate a variable's value

Hello,
I want to use IfNode to evluate a variable’s value, if the value is equal “1”, the plugin will execute a child program node, how to do it?

Thanks.

Like this?

or is it in script?

Thanks, I want to write Java code to implement it.