LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use OpenDocumentViewerInDefault in Labwindow/CVI 5.5

Dear,

Sir/Madam

 

I've a difficulty of using this command : OpenDocumentViewerInDefault which i can proper run in LW 8.5 version but no available in LV 5.5 toolbox.fp.

 

Any other replacement method for open the text file for view?

 

thank  

0 Kudos
Message 1 of 3
(3,154 Views)
How about system("Notepad.exe document.txt"); or similar?
0 Kudos
Message 2 of 3
(3,152 Views)

You can enter the full path of the text file as in:

 

system ("notepad.exe c:\\mydocs\\Dec2009\\quote.txt");

 

You can also use LaunchExecutable function if you do not want to wait for the notepad to be closed, to continue your program execution.

Hope this helps, 

S. Eren BALCI
IMESTEK
0 Kudos
Message 3 of 3
(3,149 Views)