Torben L Posted October 19, 2005 Report Share Posted October 19, 2005 Hello all In some applications we use the flatten to string function to convert clusters of different type into a string that can easily be passed from one vi to the other without type conflicts. Now I find that when using the Unflatten from string function with a cluster that does NOT match the string, it may pop-up an error message like "Not enough memory to complete the operation". The cause the error is that the flat string is interpreted as an allocation of a large array or something. But why does it have to pop-up an error dialog? It should just set the 'err' output true and return the default cluster value! That is how it worked in LabVIEW 6.1! The error dialog prevents using Unflatten with different cluster type to find the cluster type that match the string by a trial and error method (I don't want the user to click OK any number of times to get the conversion right). Now the real question is if there is a way prevent Unflatten from string from popping up any error messages? Any help is appreciated. A VI that demonstrate the problem can be found here: Download File:post-3275-1129724819.vi Best regards Torben Laursen microLEX Systems A/S 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.