LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Unflattening binary string.

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?

Thanks.
0 Kudos
Message 1 of 3
(2,587 Views)
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...


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 3
(2,587 Views)
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.
0 Kudos
Message 3 of 3
(2,587 Views)