02-12-2009 01:20 AM
02-13-2009 09:46 AM
Hi,
This might help: http://digital.ni.com/public.nsf/allkb/99F61B6AB9CD6AFA8625734600814D6B?OpenDocument
02-13-2009 10:14 AM
Not sure how that answers the question...
To OP: You seem to be asking two different questions. Your thread topic talks about reading data from a file that's already open by another program. But your text indicates that you want to fetch data that's being displayed in a window. Which is it that you want to do?
02-13-2009 11:29 AM
Sorry about the confusion. And, Jeremy_B, Sorry, but that didn't help.
Let me try it again.
I have a LabVIEW program that is running, collecting data and storing it in an Excel file. When it get's to a certain point it waits while I run a seperate program that opens a blank Excel file (Book1.xlsx) and stores data into it.
Now, here's the situation. Next, I want my waiting LabVIEW program to get some of the data out of this Excel file (Book1.xlsx) and put it in a text file. I have the text file part of it ok. But I'm not sure if I can point LabVIEW to this Excel file (Book1.xlsx), without having to save the file first.
I hope this is a little bit better explaination.
Thanks,
Tony
02-13-2009 01:45 PM
02-13-2009 01:53 PM
You are correct. I do not need to save the Excel file (Book1.xlsx). You are also correct that this is a clumsy approach. However, I am stuck with it. The "Other" software is what opens the blank file and dumps data to it. Plus I don't need all the data that is dumped into the file. Just specific lines. As far as opening up the Template file, I am using the Report Generation Toolkit for Office to open up this template file, and saving it.
I'll give your VI a try and post the results next week. THANKS FOR YOUR HELP!
Tony