ni / labview-gdrive Goto Github PK
View Code? Open in Web Editor NEWLabVIEW wrapper for the .NET Google Drive API
License: MIT License
LabVIEW wrapper for the .NET Google Drive API
License: MIT License
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.
Hi
I believe I have been trying the right process, e.g. placing a file ID (string) as a parent for a file I am trying to upload but it will not work.
The examples on the reference files say that the parent field is a string but the only option within the Gdrive files is to add a reference into the parent file which is a list.
I have tried everything to try and convert the ID to a reference that it will accept but nothing works.
Has anyone tried this, has anyone got it to work?
Dave
This has to do with the max 99 file issue. The existing VI's are only able to return a max of 99 files. This was pointed out in
#3
where smXplorer found a work around. Unfortunately this method scans through all the files in a drive and it takes forever to run.
I've been successful in searching for a specific folder
But i cant figure out how to use this to then search through those specific folders to list their files.
I also thought this might have to do with the fact that the current GDrive VIs using v3 (1.14.0.543) rather than the newer v3 (1.40.1.1610) i see in the google docs (https://developers.google.com/drive/api/v3/reference/files/list) that driveID could be used for this, but i cant seem to access it when using LabVIEW. a side question could be , how do i update to the v3 ( 1.40..)
Does anyone have any suggestions ?
I successfully developed a Labview program utilizing the Gdrive add-on everything worked as it should, however the executable application version of the program developed is unable to upload files to the drive. No errors messages were generated.
Any ideas as to what I'm doing wrong, or are there issues using the add on when building an executable?
Hi
First of all, this library has been very helpful. Thank you.
I was wondering is anyone could assist me with manipulating the current subVIs to allow me to select ROWS to delete from Google Sheets?
Regards
'List files' block produces only 99 file name. Is there any way I can get the full list of file available from my google drive.
When I tray to upload a spreadsheet to google drive, the VI create a different documents,
How can i create a program that refresh the information in google drive?
Thanks a lot
Regards
Hi.. i want to read my text file content at drive.. i save 1st the file at local by using download vi then directly read the file from local using "read text file.vi".. the output is empty.. i need to stop VI after download the file. Then only i can read the downloaded file using "read text file.vi"..
Any other way to read the content of my file without to stop the VI?
Thank you..
I made VI using G-drive file downloading add-on and spread sheet opening function, which are connected by using error flow sequentially. CSV file is successfully downloaded, but spread sheet could not be opened sequentially.
CSV file must be fixed to open by G-drive add-on, then spread sheet opening function must 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 was stopped after downloading, CSV file could be accessed by Labview or Microsoft EXCEL.
please advise me to the issue.
I use a Labview 2018.
I have tried setting up Drive for LabVIEW as instructed, using my School's Google account, which is associated with unlimited storage.
Using the Client ID I created for Drive for LabVIEW, I was able to test the simple sequence:
Initialize.vi -> ListFiles.vi -> NamedFilesOnDrive.vi
This returns a list of file names on Google Drive.
Luckily it didn't work as I expected, as I probably have 100's of 1,000's files on it, so that could have been a major drag...
Instead, the result I got was matching what's listed in the "Recent" folder found on the root path:
I wonder what I did wrong or what I misunderstood about the functionality of this API?
EDIT: I realized that this might be exactly the same issue as reported by rashed1185 in issue #2 , since the list of files I obtain has exactly 99 elements...
count is decremented and i in the for loop is incremented to get the file list. This is a bug. index0=newest file on the drive.
Hello,
I want to use your code with the google sheets api, downloaded from https://www.nuget.org/packages/Google.Apis.Sheets.v4/
But when I loaded the DLL with the Labview ".NET constructor" I got this message : "An error occured trying to load the assembly" in "objects" section.
Someone can test it or help me?
Thanks.
I tryied the Labview Gdrive add-on on simple VIs working on the PC and everything works fine. I managed to upload files to my google drive.
Unfortunatelly, I'm not able to make it work on a Real Time target.
I'm using a cDAQ 9132 running Linux Real Time and every single GDrive VI looks broken.
The attached image reports the typical errors listed by the VI.
Is there any way to fix the problem?
It is really useful tool.
but it will be better if you convert your vi in previous version.
I am using LabVIEW 2015.
Thanks...
Hello,
I have an issue with the google api dll. When I open the project (with labview 2017), the "Google.Apis.Drive.v3.dll" is not found (despite the path is correct). I select it manually but the Vis are broken. If I try to select manually a .net constructor (by selecting "Google.Apis.Drive.v3.dll") I got an error message. Please have a look at the following screenshots.
I tried to do the same with the google api from nuget "https://www.nuget.org/packages/Google.Apis.Drive.v3/" I 've got the same error.
Regards.
When I convert VI containing Gdrive for LabVIEW VIs into an executable file, an error will occur. It was An error indicator was added to "initialize.vi" and the source of the error was found. As a result, it was found that this is the third invoked node that contains "DriveServ" and "path". Is there a way to solve this?
i tried to upload a file while internet is pulled out.
No error codes appears.
How can i know if the upload is successful??
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.