01-05-2009 12:03 AM
Hello NI,
I want to call the exe from the labview. presently i am using command.vi to open the exe. but it works only with source code. after creating the exe it doesnt work.
I checked the path of exe.
do you have any solution for this?
01-05-2009 12:09 AM
presently i am using command.vi to open the exe.
what do you mean by command.vi? are you telling about system exec?
Doesn't work means what's happening?
Please attach what you have did so for. This will help us to guide you better.
01-05-2009 12:22 AM
Also, I would recommend going through the following KB article which refers to an example and mentions some more notes when working with System Exec VI:
How Do I Run an Executable or External File From Within LabVIEW?
01-05-2009 12:44 AM
i am using system exe. if i run with labview source code, its opening exe file...
but after i created executable file, it showing error "memory full"
find this attachments
01-05-2009 12:54 AM
I strongly suspect that it's a file path issue. Since you have not posted any executable or VI for us to try, have a look at the following KB article:
Error 2 (Memory Full) When Using the System Exec VI
I am not sure if it will resolve your issue, but give it a shot. Also, if you can create a labview executable of one of the examples that are mentioned in the KB I linked above, and let us know if that resulted in an error; we can try and see if we are getting the same issues.
01-06-2009 02:52 AM
Hello Ni,
Here with i attached my VI. try to locate any exe. then stat run the vi. after close the vi and exit the labview. then again start the labview and run the same vi. it will show error as"memory full"
01-06-2009 03:22 AM - edited 01-06-2009 03:24 AM
Working directory should be c:\windows\system32
copy your winword.exe into that system32 folder and just try this