07-18-2011 09:22 AM
I'm using the programaticbuild.vi (sse attachement). It works fine when I'm in development but when I run the executable I get an error 7.
To demonstrate the problem, I attach some files: the Addtion.vi and the Addition.proj which is the project to build an executable to add 2 numbers.
I now use the ProjectBuilder.vi and ProjectBuilder.proj. to build an application where I give the path to a project file and it builds this project file.
If you run the ProjectBuilder.vi and give it as an input path the Addition.proj , the Addition.exe will be created successfully. But if you build the ProjectBuilder.proj then run the ProjectBuilder.exe and again give it the path to the Addition.proj, this will give you an error.
I have come across to other similar problems but I couldn't find a solution to my problem.
Thanks
07-19-2011 02:21 AM
Hi,
Just a random thought, You can try using the "open VI reference" function instead of using the path control alone.
Regards,
Nitzz
(Give Kudos to good Answers and Mark it as a Solution if your problem is Solved;))
07-19-2011 03:04 AM
Thanks for the reply.
I'm not quite sure if I understand what you suggest but the BuildTargetBuildSpecification.vi expects the path to the project file.