NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

LabWindows/CVI Tip: Embed UIRs into Executables

VERSION 1 Published

Created on: Mar 17, 2008 11:16 AM by Wendy L - Last Modified:  Mar 17, 2008 11:21 AM by Wendy L

 

 

Normally you have to distribute UIR fiels side by side with an executable. Instead, you can embed it directly into your executable and use just a single file to distribute your project, as most Windows users are accustomed to. Simply check the "Embed project UIRs" box in menu Build>Target Settings... on the project window.

 

 

Here is an excerpt from the offical help text: "Embeds .uir files into the executable. Enabling this option allows you to ship only the executable, instead of including the .uir files also. Make sure that you include all .uir files loaded through LoadPanel or LoadPanelEx in your project if you want to ship only the executable file. If you pass an absolute filename to LoadPanel or LoadPanelEx, the function will always look on disk for the .uir file. If you pass a simple filename, LoadPanel or LoadPanelEx will look first for an embedded .uir"

 

 

I know this feature is available in 8.0.1 (and later) but not in CVI 6.0. I do not know about 7.x versions.

 

 

 

 

Submitted by ebalci

 

 

Original forum post: http://forums.ni.com/ni/board/message?board.id=180&message.id=33989#M33989

 


CATEGORIES:
Product Category: LabWindows/CVI
Industry: ATE/Instrumentation
Development Topic: Building a User Interface
Average User Rating
(0 ratings)




There are no comments on this document

More Like This

  • Retrieving data ...