LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

More questions about Application Builder

Thanks for the responses. Here I have a few more questions:

1. Does Application Builder include its own installer, or should I use an installation software? Can I always use my preferred installation software?

2. Can I create an exe that return an exit code, so if I call the program create in LabVIEW from another application it can return a code indicating failure/success, etc.?

3. Are there any special constrains or consideration for created exe or dll that also call or use external code? (Other than, for example, that I should copy the necessary dlls in the target machine, etc.)

Thank you in advance!
Enrique
www.vartortech.com
0 Kudos
Message 1 of 4
(3,179 Views)
Enrique,
1. Once you have created executables or DLLs with Application Builder, you have an option to create installers (with Application Builder) for distribution on Windows platforms. With the flexibility of these installers, you can select installation parameters such as media size, installation languages, start menu program groups, and so on.
2. For debugging you can get debug license for LabVIEW. If you deploy LabVIEW applications, including LabVIEW tests for use with TestStand, the debug license allows you to install the LabVIEW development system on the target machine, so that you can step into your code for complete test debugging. You cannot use this license for program development.
3. No. You can check here for the information on creating exe and dlls
:
http://www.ni.com/support/labview/toolkits/appbuild/

Zvezdana S.
National Instruments
0 Kudos
Message 2 of 4
(3,179 Views)
About my second question:

" -- 2. Can I create an exe that return an exit code, so if I call the program create in LabVIEW from another application it can return a code indicating failure/success, etc.? -- "

I have a special third party application with limited capabilities (on purpose). I can enhance or customize its capabilities by providing my own .exe that this application will call. After my program execute, it must return an exit code on closing indicating that everything went fine (returing a number 1) or something happen (any other number except 1). Depending on the result, the third party software will resume.

Developing my custom .exe with LabVIEW will be way too easy. Can I create an .exe that return an exit code using LabVIEW and Appli
cation Builder?
www.vartortech.com
0 Kudos
Message 3 of 4
(3,179 Views)
Enrique,
I believe that writing to STDERR and STDOUT is a windows API function. I don't have my reference handy so I'm afraid that's all the help I can give. Good luck.
0 Kudos
Message 4 of 4
(3,179 Views)