Mellroth Posted April 6, 2007 Report Share Posted April 6, 2007 When unflattening a string that is wired to a shiftregister, the remaining string output (from unflatten function) might contain garbage when it leaves the loop. The result of the operation depends of the size of the remaining string, small strings are OK, but large strings contains garbage. To test this: flatten a cluster containing a boolean and a numeric, then add some additional data (U8-array converted to string). The combined string is then fed to an Unflatten function within a while loop (only running one iteration). Unflattening is done in two ways, one where the string is passed through a shift register, and one where data is passed through a loop tunnel. In the case of a loop tunnel, the remaining string and the resulting U8-array is OK, but with the shiftregister, data in the U8 array is corrupted. To summarize; when using large strings the remaining string output is OK within the loop, but right after the loop it has changed. See attached VI for details. http://forums.lavag.org/index.php?act=attach&type=post&id=5413 This has been reported to NI, but I have not gotten a CAR for this one yet. /J http://forums.lavag.org/index.php?act=attach&type=post&id=5412 Quote Link to comment
Mellroth Posted April 18, 2007 Author Report Share Posted April 18, 2007 Bug reported in 8.2 and confirmed by NI in 8.2.1 as well. CAR#: 48F0MHE8 /J Quote Link to comment
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.