09-10-2007 03:44 PM
09-10-2007 04:00 PM
Why not change the enum to a string version of the enum then flatten it to XML. On the other side Parse the string and find the enum index from strings[].
I have been working on my own schema but it is far from done. It will flatten any data into a XML string with the format Lavle=tag name and inner text = string version of data, recurses through clusters and arrays and takes almost any data as a variant input. I have to work on the parser to repopulate the data on the other side. This schema is much less verbose than the NI schema. But is appealing due to its more compact and readable data format.
Paul
09-10-2007 04:41 PM
09-10-2007 05:31 PM
Hi Paul,
Why not change the enum to a string version of the enum then flatten it to XML. On the other side Parse the string and find the enum index from strings[].
VERY interesting idea, I've been chewing on it for an hour (typed 6 different responses - - )
The custom cluster disassembly/reassembly has me leaning toward a tool that just converts the arbitrary control (variant) to INI-style text - maybe just send parameters as "INI" text? (cleaner than NI's XML (with enums) and readible too.)
Anyway, good thought - thanks!
09-10-2007 09:20 PM
09-11-2007 10:37 AM
03-01-2008 09:57 PM