Table Of Contents


Last Modified: February 27, 2020

The behavior of String To Byte Array has changed in this version of LabVIEW NXG. The Code Conversion Utility wired an Extended ASCII Encoding enum constant to try to preserve the same behavior.

LabVIEW NXG does not support flattening or unflattening data to a binary string because LabVIEW NXG uses UTF-8 string encoding. LabVIEW uses ASCII encoding, so the Code Conversion Utility automatically replaces instances of Flatten to String and Unflatten from String with Flatten to Byte Array and Unflatten from Byte Array, causing the flattened data type to change from a string to a byte array. This change may lead to broken wires on the diagram.

What to Do

Review usages of flattened data types for correctness. Fix any broken wires.

Alternate Workarounds

If the previous suggestions don't restore the functionality of the affected code and the code isn't essential to the core functionality of your application, you can remove the portion of code. If the code is part of the core functionality of the application, you can use the VI Interop node to call your existing code, provided that the new code organization meets the architectural goals of your application. If neither solution meets the requirements of your application, do not migrate to LabVIEW NXG at this time.

Recently Viewed Topics