LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you unflatten waveform data from another vi?

I am using the vi server to to control and monitor another vi on another machine. However I am unable to successfully unflatten my waveform graph data using the "unflaten from string" function.

I know that the waveform information is being sent to the "unflatten from string" function because I put a probe on the unbundled data from the "get all control values" (controls set to false to read indicators) and I can see the waveform graph name from the other vi.

However, I am not exactly sure what to wire in for the "type" input on the "unflatten from string" function. I tried wiring a local variable of my waveform graph into the type and that didn't work. I tried wiring in the type description from the "get all
control values" and that didn't work. I have also been wiring the output value of the unflatten from string directly to my waveform graph - maybe that is not correct? I am at a loss here, I have tried several things but nothing seems to be working. I am positive that I am simply misunderstanding something fundamental here as I am sure that there is an easy solution to this. Any suggestions or comments would be greatly appreciated.

Thanks for your help,
Greg
0 Kudos
Message 1 of 2
(2,642 Views)
The correct way is to wire a local variable of the graph to the type input of the "Unflatten from String" node. However, the datatypes of the source indicator and the target indicator must match exactly for the unflattening to work. Compare the datatypes first. The type of a graph does adapt to its source when you wire it so it might be possible that you've created graphs with different datatypes on both VIs.


LabVIEW, C'est LabVIEW

0 Kudos
Message 2 of 2
(2,642 Views)