08-05-2015 09:48 AM
Hello. I would like to know if it is possible for the .csv to open immediately after Vi has finished? The filename for the spreadsheet is already decided prior to test. It will be running on PC using Windows 7, if that matters. Thanks much for your time.
Solved! Go to Solution.
08-05-2015 09:56 AM - edited 08-05-2015 10:00 AM
For others who see this thread, the password for his VI is "2015"
Do you want to just open the file in its default program? If so, add this in at the very end of your code (after the loop has finished, this should run):
The path input should be the path for the file to be opened. This essentially just uses the command line to open the file, so Windows decides how to open it.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-05-2015 09:59 AM
One simple way to do it would be to call excel with the command line, something like this:
08-05-2015 10:04 AM
Use the System Exec to call the file. Windows will open it with whatever it thinks is the default application for the file type.
08-05-2015 10:31 AM
@James.M wrote:
For others who see this thread, the password for his VI is "2015"
Do you want to just open the file in its default program? If so, add this in at the very end of your code (after the loop has finished, this should run):
The path input should be the path for the file to be opened. This essentially just uses the command line to open the file, so Windows decides how to open it.
PERFECT! That's exactly what I was looking for. Thank you guy's for much for your wonderful support.
Sorry for not posting the password. Yet another stupid mistake. Thanks again.