Change XML encoding in LabVIEW



I'm trying to edit an xml file in labVIEW for use by a .NET assembly later on in the program, however, when labview saves the file it changes the encoding. This prevents the .NET assembly from being able to open the file, since it needs to be in UTF-16 or UCS-2.


Is there a way to change the encoding in labview? I can do it manually in notepad++ but obviously that wont't work when I'm actually trying to use the program. I've tried using the labview "write to xml file.vi" which allows you to specify an encoding, but it just erases most of the file. I'm sorry if I'm being a bit vague here, unfortunately I can't upload photos here until I have 10 reputation points.


No comments:

Post a Comment