Rather than futzing with the formula node, I would just use the native LabVIEW functions.
Bill, do you mean by native LabVIEW functions the block diagram provided by LabVIEW?
Do you think this will create a bulky system?
"Bulky"? Formula nodes get bulky. But the main reason I would use the native LabVIEW math functions is because I don't have to check for typos. 😉
it gets very clean once you employ the polymorphism in LabVIEW:
Use arrays to handle the same operation on multiple elements…
Edit: those "u" variables probably contain boolean values, so you should also use a boolean array in LabVIEW. This way you don't even need this comparison…