01-10-2013 10:26 PM
Hi all,
I need to save image files along with some data in the xml file.
is it possible?
can you please give me suggestion.
Thanks
01-11-2013 12:54 AM
Hi!
Try giving a look to this article:
http://www.xml.com/pub/a/98/07/binary/binary.html
It's not strictly about Labview but it's interesting.
Regards,
Marco
01-11-2013 01:03 AM
Another link (Labview Base64 encoding/deconding vi's):
https://decibel.ni.com/content/docs/DOC-5544
So I think what you should do is
1) flatten your binary object to string
2) Encode
3) Place the encoded string in yur xml
When reading do the opposite:
1) Read xml Base64 string
2) Decode
3) Unflatten
Let me know if it works,
regards,
Marco
01-11-2013 05:20 AM
Or If Labview schema is acceptable, it is fairly straight forward.