Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Is there a way to assign NaN (i.e., Not a Number)

MickeyBob
2019-08-13
2019-08-15
  • MickeyBob - 2019-08-13

    I'd like to assign NaN (i.e., Not a Number) to a function block output variable if parameters are invalid. Is there a way to do this without causing a fault?

     
  • MickeyBob - 2019-08-15

    Exactly what I was looking for. Thanks!

     

Log in to post a comment.