LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to view .uir files without the compiler?

Our test equipment guys develop the software for our test sets. I need to refer to the panels, but don't have to compile. Is it possible to view the .uir file without installing the compiler?
0 Kudos
Message 1 of 4
(4,030 Views)
There comes a sample program with CVI which is able to display (copy, print, ...) .uir files. You can create an executable out of this program and install it via the create distribution kit builder on your target machine.

The name of the example program is uirview and the project can be found under \cvixx\samples\apps\uirview\uirview.cws.

Kind Regards
Heinrich Illig
Applications Engineering
National Instruments Germany
Message 2 of 4
(4,018 Views)
That worked great. Thanks. Is there a sample to view the menu at the top?
0 Kudos
Message 3 of 4
(4,008 Views)
Hello bobd,

If you use the UIR editor to associate a menubar with a panel, then the menubar will be correctly display when using the UIRView shipping example. On the other hand, if you load the menubar dynamically from your code with the LoadMenuBar function, then this menubar is never statically associated with any particular panel in the UIR file, so it makes sense that the UIRView example will not display the menubar.

So, I would suggest editing your panel and setting the menubar to your custom menubar, so it will be visible afterwards.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 4 of 4
(3,989 Views)