01-17-2019 01:32 PM
I have developed a simulation in LabWindows that we want to work
on Microchip Harmony GUI. Is there an easy way to accomplish
this task?? I do not really want to start from scratch in Harmony.
Is there a way to re-use GUIs I developed in LabWindows into
Harmony???
01-18-2019 06:51 AM - edited 01-18-2019 06:53 AM
That would seem like a no go to me. The entire LabWindows/CVI User Interface library is a proprietary implementation from National Instruments, only compatible to itself. And it would seem that Harmony is not different there. Also the UIR file format is proprietary too, but wasn't there a way to export it to a text file representation?
Anyways, you could maybe write a translation layer that translates between LabWindows/CVI User Interface library functions and the Harmony GUI API and try to get the UIR files somehow translated into whatever UI resource file format Harmony may have, but it ain't pretty and certainly also not easy!
If you have properly separated the logic of your application and the UI handling, you can at least reuse the logic fairly easy. Otherwise it may be time to consider a proper redesign from scratch.