04-13-2016 11:17 AM
Hello!
I would like to know how I could call and open an external excel file with the system exec vi. I am able to call a txt file, however i cannot do it with an excel file...
Thanks a lot in advance.
Solved! Go to Solution.
04-13-2016 11:24 AM - edited 04-13-2016 11:25 AM
04-13-2016 12:21 PM
Why would you want to do that? What version of LabVIEW are you running? What are you trying to do?
Bob Schor
04-13-2016 12:30 PM
It should work just like any other file, it opens it in the default program for that file extension as if you double clicked it. Here is an example if code I use.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-13-2016 03:00 PM
Thank you!
What function are you using just before the system exec vi?
I can´t find it..
So far i have tried writing in the command line the complete path including the name of the excel file
04-13-2016 03:05 PM
That image is a snippet, it is executable code, no need to recreate it.
http://www.ni.com/tutorial/9330/en/
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
04-13-2016 03:12 PM
Thank you so much for your help Hooovahh!! 🙂