Hello, I have the following problem: In my patch, I receive UDP messages, which works fine. After that, I use an Expr to check which value I have received. If I’m not connected to the network there is of course no message which can be compared in the Expr node, the output of the UDP node is null. In this case I would like the Expr node to output 0. I tried this Term, which didn’t do what I would like to achieve: “if ((A=1), (B), 0)”. Why isn’t it outputting 0 when the input does not equal 1 but is null? Can you think of a solution how I can turn null into 0 here? I ran out of ideas. Thank you in advance!
have a look at the AvoidNIL node!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.