LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

open .csv file in excel via Labwindows

Hello

 

After writing all my data in a .csv and closing it (using fclose), I would like to open this .csv file using Excel via a Labwindows command so that the user can see all the data. Is that possible? If yes, which function should I use?

 

Thanks

0 Kudos
Message 1 of 2
(3,230 Views)

The simplest way of all is to issue the command OpenDocumentInDefaultViewer (): it should automatically open Excel with the document in it. It is equivalent of double-clicking the file in windows explorer.

If it does not opens the file, you must verify that in windows CSV file extension is correctly associated with Excel application.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,222 Views)