LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph to xml and then unflatten to graph problem

Hello,

i am wondering if someone can help with a xml problem.  i am trying to convert a graph to xml, which is no prolem, but when i try to unflatten the xml file i am having problems putting the data in another graph.  i think the type is wrong, i was using the empty string.  attached is a vi with the error if anyone can help. thank you
0 Kudos
Message 1 of 4
(2,722 Views)
nevermind i figured it out
0 Kudos
Message 2 of 4
(2,715 Views)
lfoitek,

Would you mind posting the solved code here as an example for users that may have the same issue? Thanks!

Mike
National Instruments
Applications Engineer
0 Kudos
Message 3 of 4
(2,692 Views)
Sure,
if you are saving to an xml file and  having trouble unflattening it because you can't get the type right then you can always wire in the original graph into the "unflatten from xml" "type" pin.  if the output is in a seperate vi then just copy and paste the graph into the new vi and wire it to the "type".  then you can just "hide indicator" from the properties menu so you don't display it.


0 Kudos
Message 4 of 4
(2,677 Views)