07-06-2011 12:27 PM
Hello to all,
The following attached function fails to compile when running in LV 2010 but not in 2009...is there a specific reason?
((intrz(x*100))/100)???
THX-N-ADVANCE
FredTest
07-06-2011 03:40 PM
I think the expression node does not like arrays. Put it inside a for loop.
Lynn
07-06-2011 03:48 PM
The expression node should not have a problem with arrays, however with this particular function it seems to. The For Loop is a possible workaround.
07-07-2011 09:32 AM
I simply created a new expression node and the error went away. Some bug in the up-conversion.
07-07-2011 09:56 AM
07-07-2011 10:22 AM - edited 07-07-2011 10:26 AM
I agree, it is NOT an upconversion problem, ...:
Exercises:
Build VI from scratch using a new expression node containing the formula and using arrays as inputs and outputs
Disconnect the arrays and wire scalars to the inputs and output
Disconnect the scalars and reconnect the arrays
This is clearly a bug!
If the expression node function cannot handle arrays, it needs to break the wires and not allow wiring them. (reported here)
07-07-2011 10:26 AM
You're right. I did not run the VI before.
07-08-2011 09:24 AM
Hello all,
We appreciate you bringing this to our attention; I'll reproduce the bug and file a CAR. Constant vigilance makes future versions of LabVIEW better!
Thank you,
Deborah Y.
07-15-2011 03:58 PM
Hello,
This issue was filed under CAR ID 307846. On every new version of LabVIEW, bug fixes are listed in the readme file and remaining known issues are listed on our website.
Regards,
Deborah Y.