06-10-2025 04:51 PM - edited 06-10-2025 05:04 PM
We use LabWindows 2017. As part of our migration away from the LabWindows compiler, I have started compiling our code in an external compiler. I have yet get the .uir files to work, so I have been using the "UI to Code Converter" from the Tools menu.
C:\Program Files (x86)\National Instruments\CVI2017\bin>uiconv.exe
Is there a way to automate this (command line)? It would be useful if our build process could take the UIR files (with any changes done via the panel editor) and recreate the .c/.h files, keeping them in sync as we build from MSVC.
Thanks...
06-10-2025 05:10 PM
A 2020 reply to this thread says there are undocumented command-line options, and lists them. I have not tried, but will update here when I have:
06-11-2025 09:31 AM - edited 06-11-2025 09:41 AM
More notes:
The uiconv.exe that comes with LabWindows 2017 does not appear to respond to command lines. Viewing the .exe in a hex editor also does not show the help text.
The uiconv.exe that comes with LabWindwos 2020 does seem to work with command lines, but it only produces files of 0K for my panels I have tested it with -- even when using it in full GUI mode without command lines.
There is a size difference between the versions:
03/29/2017 03:20 PM 935,488 uiconv2017.exe
08/07/2020 11:48 AM 1,241,072 uiconv2020.exe
Passing the same .uir file into the 2017 and 2020 versions shows the difference (this is fully using the GUI of the program, not command line):