キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Problem creating standalone exe application

解決済み
解決策を見る
I am trying to create a stand-alone application, ie, .exe file for a rather large program. The program includes several "instr" libraries, including "TD2024", "AGN6700", "AGILENT 6700", and several others. When I try to build, or look at the "general preview" I'm getting errors which indicate conflicts and also errors due to files called "tree.vi" in several of the libraries. My application also includes configuration and header files. My question is when trying to create the .exe should I include the entire "instr.lib", or only those files in the individual instrument library which I need? Also how do I resolve conflicts due to VIs in the file with the same names. For example "AGILENT 34970" and "AGILENT_E364X_Series" both contain a file called "initialize.vi". I'm fairly new and I've only created simple .exe files
0 件の賞賛
メッセージ1/5
3,474件の閲覧回数
解決策
受理者 chuck72352

Hi chuck,

normally you only need to insert the starting vi and the dynamic loaded vi's. All other vi will be included automatically. As far as i know the application builder will change the names of duplicates.

 

Mike

メッセージ2/5
3,460件の閲覧回数

Mike,

 

Thanks, your solution worked. I was trying to load all the files except the starting VI in the "Always Included" section under source files. When I left that blank and only included the starting VI in "Startup VIs" everything worked. Just curious what is a dynamic loaded VI?

 

Thanks again!

0 件の賞賛
メッセージ3/5
3,451件の閲覧回数

When I run my .exe file is it necessary to have the .ini file (configuration file) and the .txt file (used as a header for an output file) in the directory or are they compiled in with the .exe file?

 

Thanks!

0 件の賞賛
メッセージ4/5
3,448件の閲覧回数

Hi chuck72352,

you can call vi's dynamically if you open a reference to it with the "Open Vi Reference" function.

 

I'm not sure which ini and txt file you mean, but the Exename.ini will be created automatically with every start of the exe, if the ini is not present in the same folder.

 

Mike

0 件の賞賛
メッセージ5/5
3,435件の閲覧回数