jpdrolet Posted September 1, 2005 Report Posted September 1, 2005 That must be very old but anyway... For example, the result of arithmetic operations on uInt8 are coerced to 0-255. 5-10 gives 0 250+10 gives 255 Edit: This is alos true for expression nodes That is a quite different implementation than the arithmetic nodes, where the results are modulo 255. 5-10 gives 251 250+10 gives 4 Quote
jerseydevil Posted September 2, 2005 Report Posted September 2, 2005 Interesting to note, thank you. I also came across another interesting deviance. The Formula Parsing requires ^ for exponent while the Formula Node requires **. I was trying to be able to read in formulas from files into the formula nodes but it doesn't seem to have a way. Does anyone know of one, or do I have to continue using Eval? Quote
jpdrolet Posted September 2, 2005 Author Report Posted September 2, 2005 Interesting to note, thank you. I also came across another interesting deviance. TheĀ Formula Parsing requires ^ for exponent while the Formula Node requires **. I was trying to be able to read in formulas from files into the formula nodes but it doesn't seem to have a way. Does anyone know of one, or do I have to continue using Eval? 5953[/snapback] Formula nodes can only be modified at edit time. Use Eval. And the original post also holds for expression nodes. Quote
Michael Aivaliotis Posted September 2, 2005 Report Posted September 2, 2005 Interesting to note, thank you. I also came across another interesting deviance. TheĀ Formula Parsing requires ^ for exponent while the Formula Node requires **. 5953[/snapback] This is a bug. Originaly (pre-LV6i), the formula node used ^ for exponent. I think in LabVIEW 6i they changed the exponent to ** for the formula node. They forgot to change the Eval node. See attached image of the formula node online help for LabVIEW 51 showing the exponent notation used. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.