Hi,
Here are a couple of tips for you:
+There is no tool to go from "UI Code" to and UIR file. You could programmatically create a TUI file that then you could translate to a uir. TUI files are a text based uir that you can create and read from a uir file. Just open a uir, select "Options>>Save in Text Format..." to export to TUI text format and "Options>>Load from Text Format...". Take a look at the files generated and you could generate you own from the code.
+There is also no tool to compare uir files, however you can create a TUI file of the uirs and use any text file comparison tool to check the differences.
This kind of tools would be good suggestions to CVI, I would appreciate if you file these suggestions at http://www.ni.com/contact and select
product feedback.
Let me know if you have any further questions.
Regards,
Juan Carlos
N.I.