LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save text file to online location

Solved!
Go to solution
Search for 'database 64'. You can try copying the toolkit to your 64 bit LabVIEW folder, .NET, etc.
Message 11 of 14
(1,382 Views)
Solution
Accepted by TKassis

The process for saving to Google Drive using only VIs involves a lot more work than changing the file path to a url.

 

  • One approach involves programmatically authenticating with OAuth to the Google services (i.e. logging in), preparing the data and sending it over HTTP (i.e. uploading) and is all detailed at the following pages: https://developers.google.com/drive/web/

  • Alternatively you can use the .NET libraries that Google provides in LabVIEW with the LabVIEW Contructor Node, but in that case your code will still be much more complex than writing to a file: https://developers.google.com/api-client-library/dotnet/get_started

  • The simplest approach to uploading to Google Drive is to install the Google Drive Desktop application on the desktop with LabVIEW: https://tools.google.com/dlpage/drive 
    This creates a folder where anything saved to the folder is automatically uploaded to Google Drive. In this case you can use the normal LabVIEW file writing functions to save a file int the directory created by Google Drive and then the desktop application will synchronize it online.

 But as @Dennis_Knutson pointed out, saving a text file to Google Drive is a very different direction from actually communicating with a SQL Database.


Milan
Message 12 of 14
(1,374 Views)

Thank you MilanR. I'll get the database connectivity working. I just thought it would be much easier to save a text file to an online location than that! Thanks for clarifying.

0 Kudos
Message 13 of 14
(1,370 Views)
The other option is to install Google Drive desktop. This creates a folder on your desktop and in your filesystem that is a link to your Google drive data. If you copy anything into this folder on your local system Google Drive Desktop will sync it to the web. Also if you are trying to use a URL with a ? why not use the escape code like they use %20 for space perhaps ? is %3F or something similar
0 Kudos
Message 14 of 14
(1,200 Views)