Logic
The following functions allow you to preform logic and evaluate values in expression bindings.
📄️ binEnc
This function is used by Ignition's Expression language.
📄️ binEnum
This function is used by Ignition's Expression language.
📄️ case
This function acts like the switch statement in C-like programming languages.
📄️ coalesce
This function, which accepts any number of arguments, evaluates each in order, and returns the first non-null argument.
📄️ getBit
This function returns the bit value (an integer, 0 or 1) in the number at position position, according to its binary representation.
📄️ hasChanged
This function is used by Ignition's Expression language.
📄️ if
This function evaluates the expression condition, and returns the value of trueReturn or falseReturn depending on the boolean value of condition.
📄️ isGood
Tests to see whether or not the given value is good quality.
📄️ isNull
Tests to see whether or not the argument value is null
📄️ lookup
This looks for lookupValue in the lookupColumn of dataset.
📄️ switch
This function acts like the switch statement in C-like programming languages.
📄️ try
This expression is used to swallow errors caused by other expressions.