From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-31-2006 02:29 PM
05-31-2006 02:43 PM
05-31-2006 02:44 PM
05-31-2006 02:45 PM
05-31-2006 02:50 PM
05-31-2006 03:01 PM
05-31-2006 03:14 PM
05-31-2006 03:32 PM
05-31-2006 03:46 PM
This page from help helps somewhat, was found by searching formula, hope it helps
The precedence of operators is as follows, from highest to lowest. Operators on the same line all have the same precedence.
** | exponentiation |
+, -, !, ~, ++, and –– | unary plus, unary negation, logical not, bit complement, pre- and post-increment, pre- and post-decrement ++ and –– are not available in Expression Nodes. |
*, /, % | multiplication, division, modulus (remainder) |
+ and – | addition and subtraction |
>> and << | arithmetic shift right and shift left |
>, <, >=, and <= | greater, less, greater or equal, and less or equal |
!= and == | inequality and equality |
& | bit and |
^ | bit exclusive or |
| | bit or |
&& | logical and |
|| | logical or |
? : | conditional evaluation |
= op= | assignment, shortcut operate and assign op can be +, –, *, /, >>, <<, &, ^, |, %, or **. = op= is not available in Expression Nodes. |
Note In versions of LabVIEW earlier than 6.0, the ^ operator represented exponentiation. The ^ operator now represents the bitwise exclusive or (XOR) operation. The new operator for exponentiation is **, for example, x**y. |
The assignment operator = is right associative (groups right to left), as is the exponentiation operator **. All other binary operators are left associative.
The numeric value of TRUE is 1, and FALSE is 0 for output. The logical value of 0 is FALSE, and any nonzero number is TRUE. The logical value of the conditional expression
<lexpr> ? <texpr>: <fexpr>
is <texpr> if the logical value of <lexpr> is TRUE and <fexpr> otherwise.
05-31-2006 06:10 PM