I am having a problem with the "Unflatten from string" function in Labview 6i. I am obtaining a Type Descriptor and flattened string from a vi server using a Method called "Get Control Value". I pass the type descriptor and flattened string into the "Unflatten from string" function so I can use the data obtained from the vi server I am polling. The "Unflatten from string" function never outputs the correct type. I get a type conflict when I connect it's output directly to an indicator of the expected type. Any ideas/suggestions?
That is a common error we all do using unflatten from string... When using "Unflatten from String" the type input is not the typestring output from Get Control Value (or Flatten to String) but the actual typed wire from a control with the expected type. For example if the string is a flattened cluster, you wire that cluster type to the type input of Unflatten...
Jean-Pierre Drolet wrote in message news:<5065000000050000005B550000-1007855737000@exchange.ni.com>... > That is a common error we all do using unflatten from string... When > using "Unflatten from String" the type input is not the typestring > output from Get Control Value (or Flatten to String) but the actual > typed wire from a control with the expected type. For example if the > string is a flattened cluster, you wire that cluster type to the type > input of Unflatten...
Ahhh...Yes that makes sense. Thanks for the advice.