LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Update the User Interface Resource (UIR) Include File

Hello,

 

I am new to Labwindows, and I was wondering how can the User Interface Resource (UIR) Include File be updated everytime I add an element in the mainpanel.uir interface. It happens often to me that I add a Command Button, a Numeric Control, etc, and then I am not abe to access to it, because the include file does not have the panel and controls or the callback prototypes of the new element.

 

Thank you in advance!

0 Kudos
Message 1 of 2
(3,398 Views)

This should not be an issue, as the UIR file and the associated include file are automatically updated every time you made a modification to the user interface and save it. What can be happening is that you are working on a different directory between the version under development and compiled application one: in this case you must copy the updated version of your UIR file to the application directory for the modifications to be evident in the compiled application.

If you happen to change the name of the UIR file after modifying it (e.g. from "myfile.uir" to "myfile2.uir") you then need to update the name of the include file in your code for the new version of the UIR to be used in the program. Remember to update bothe the #include statement and every call to LoadPanel ().

 

If these hints do not help you in solving your problem please add some more details on what you are doing and how your project is organized.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,396 Views)