LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creation a batch file for creating a DLL with Application builder ?

hi,
I wanted to know if it's possible to create a bat file in order to compile VI into DLL via Application builder:
example of file.bat:
AppBder.exe ProjectDLL.bld PathWheretoPutDLL/myDLL.dll

It could be easier than launching Labview and Application builder every time I have to recompile the DLL.
0 Kudos
Message 1 of 4
(3,315 Views)
hi,
in lv 7.0 there is an activex object "labview application builder" or something like that. i never worked with it, but maybe you can use it to create a vi which builds the app. this vi then can be executed using command line parameters. please reply if this works.

regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 4
(3,315 Views)
Hi Henry,

in LV 7.0 look in LabVIEW 7.0\project\prodisttool.llb for the VI _Build Application from Script.vi. This VI needs the path to your build file and will run in an none interactive mode. In this mode all dialogs will automaticlly answered as you will have pressed OK.

I have made a VI for each build file suppling the parameters to the above VI. Then I saved a copy with "run when opened" set.

In a batch file I call LV with the path to this VI. LV starts loads and runs the VI and the application will be build.

This way I automated a project to build some DLLs and EXEs.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
Message 3 of 4
(3,315 Views)
Thanks a lot Waldemar !
I have Labview 7.1 and it's working too.

Il will make a Exe from a simple VI in order to execute the Bld file.

Regards,
henry pf
0 Kudos
Message 4 of 4
(3,315 Views)