ni / labview-gdrive

LabVIEW wrapper for the .NET Google Drive API
MIT License
10 stars 11 forks source link

Cannot open spread sheet file after downloading by G-drive add-on #16

Closed poletaka closed 5 years ago

poletaka commented 5 years ago

I made VI using G-drive file downloading add-on function and spread sheet opening function, which are connected by using error flow sequentially. CSV file is successfully downloaded, but CSV file could not be opened sequentially. So CSV file might be continue to open by G-drive add-on, that spread sheet opening function might be able not to access the CSV file. File downloading function from G-drive does not have .net reference output terminal. So, I made .net reference output terminal on File downloading function from G-drive. After that I connected .net reference close function after the downloading function, but cannot be improved. Once the VI forced to be stopped after downloading, CSV file could be accessed by Labview or Microsoft EXCEL. please advise me to the issue. I use a Labview 2018.

rdesrosier commented 5 years ago

It sounds like a file reference is still open. Have you checked to see if there is a method in the .NET library to close the file after downloading, prior to closing the .NET reference?

poletaka commented 5 years ago

Thanks for the advice. We solved it by connecting the closed invoke node later to the invoked node of the file stream. Thank you very much.