08-08-2012 03:19 AM
Hi
I have 3 cases within a case structure.
When I select a first case, I need a certain VI to start.(I have done this by just dragging the VI within that case)
But when I select the 2nd case, I need to an executable file to pop up, but I am not able to drag it within the case structure beacuse when I select something other than a than a vi, it gives me the follwing error.
LabVIEW: File is not a resource file
The file Test.exe cannot be loaded.
Also, I need to open a text file, if I choose the 3rd case. I am not able to this also, as I end up getting the same error.
Can someone help me to solve this problem?
Thanks in advance
Solved! Go to Solution.
08-08-2012 03:29 AM
To call an executable you will have to use "System Exec.vi"
To open text file you can use same "System Exec.vi" and give path of text file to open to "Command Line" input of the vi.
Read help file so as to understand the function of "System Exec.vi"
08-08-2012 05:07 AM - edited 08-08-2012 05:08 AM