LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

flatten to xml from variant

I have problems with flattening variant data to xml-strings. I tried to make an application to save variant data to xml-files, but the vi "flatten to xml" didn't solve always the same solution. The bug don't occur always and i tried alot to show it. The vi produce sometimes not finished xml-strings. I attached a vi, witch shows the bug on my computer every time.

Thanks for help, Mathis Wieland
0 Kudos
Message 1 of 4
(3,586 Views)
A couple things.

(1) it appears that this has been fixed in 7.0. I reproduced your problem in 6.1 but not in 7.0 (All testing done on WinXP).

(2) OpenG has a Flatten/Unflatten to/from XML tool that is written entirely in G. You can find more information here:

OpenG.org : EXAMPLE - OpenG Flatten to XML
0 Kudos
Message 2 of 4
(3,586 Views)
I installed OpenG toolbox and OpenG Flatten to XML, the error with changing results is fixed, but this vi can't make variants to a xml-string, as well it has problems with the value fo refnums.

Yours sincerely
Mathis Wieland
0 Kudos
Message 3 of 4
(3,586 Views)
Mathis,

Refnums (especially VISA/DAQ/IVI refnums) are tricky. We'll work on it. I have generated a feature request. You can track progress here:

http://sourceforge.net/tracker/index.php?func=detail&aid=921506&group_id=52435&atid=466835

Cheers,

-Jim
0 Kudos
Message 4 of 4
(3,586 Views)