LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save text file to online location

Solved!
Go to solution

Hello,

 

I'm using LabVIEW 2014 64-bit so cannot use the Database Connectivity toolkit. As an alternative, is there a way to save a text file to an online location from within Labview (for example a public Google Drive folder?). I tried using the web address for the folder as the path but Labview gave me an error because it had a '?" in the address.

0 Kudos
Message 1 of 14
(4,026 Views)

Why do you have a question mark in the address?

0 Kudos
Message 2 of 14
(3,990 Views)
That's the address of the shared Google Drive folder I want to save to.
0 Kudos
Message 3 of 14
(3,965 Views)

The question you're asking and the question you should be asking are different.

 

Try moving the text file you want into a folder that doesn't have the question mark in the name.  If your code works then, you're able to answer the question you asked.  Yes, you're able to get the text file.

 

The problem is the API doesn't have a way to handle the question mark.  As a result, it gave you an error telling you that it can't handle the question mark.  Is the question mark important to your folder's name? 

 

Are you doing some heavy computation that makes the 64-bit LabVIEW environment a need?  Generally, the 32-bit environment is better for users as you're seeing now.  Why can't you use 32-bit to gain access to the toolkit you desire?

Message 4 of 14
(3,951 Views)

Hi Natasftw,

 

Thank you for the reply. Yes, I can save the file to another folder without a problem. It just doesn't seem that I can save it to an http location. I am doing some memory intensitve computation but not for this particular application right now so technically I could use the 32 bit Labview and the Database Connectivity Toolkit. I was just looking to see if there was a more straightforward way than going another LabVIEW installation (along with all the other toolkits I need for it).

 

 

0 Kudos
Message 5 of 14
(3,945 Views)

What happens when you choose an address without the question mark?

0 Kudos
Message 6 of 14
(3,926 Views)

I'm not sure how to try that. Google Drive always puts a question mark somewhere in the address.

0 Kudos
Message 7 of 14
(3,917 Views)

It seems like you need to ask Google why they put an invalid character into an address.

Message 8 of 14
(3,906 Views)
Have you tried using any of the workarounds for using the database toolkit with LabVIEW 64 bit? A database is considerably different than a simple file write. What do you really need.
0 Kudos
Message 9 of 14
(3,894 Views)

This week I just need a proof of concept and a simple text file will do but long term I will definitly be needing full database capabilities. What are some of the workarounds you are aware of?

0 Kudos
Message 10 of 14
(3,879 Views)