LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML Read and Write

Hi, 

   I am trying to write a simple string in .xml format and read it. I am able to write properly but reading is not happning. I have attached both the codes. Kindly verify and let me know some solution ASAP.

Download All
0 Kudos
Message 1 of 3
(2,359 Views)

1. Why are you saving passwords in an XML file?  That just lacks security in every possible way.

2. Are you trying to save multiple passwords to the file?  If so, you need to use the XML Parser palette to search for the password you want to read or write or add to the file.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 3
(2,313 Views)

Your code is writing a simple string to an XML file format.  The XML input to the write VI must be formatted XML using the Flatten to XML VI.  You then need the Unflatten from XML on the other end using a schema or specific data format.

Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.0, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
Message 3 of 3
(2,307 Views)