07-31-2019 01:06 PM - edited 07-31-2019 01:12 PM
Hello,
I am currently working as a programmer in a lab. My job is to create an executable that displays temperature readings and records them on a tdms file. The final part of the project is to be able to export this file to google drive, or any other cloud-based service that will hold the data. I am having difficulty getting a start with the export process. I am currently programming for a cRIO-9035 running Linux using LabVIEW 2017. So far I have looked in WebDAV, FTP, and a few other protocols already available in LabVIEW. I don't know much about networks and how servers work. The end goal is to that once the executable is uploaded to the cRIO that the file is uploaded every couple of minutes to the cloud programmatically. What would be the best way to go about this task?
08-01-2019 07:45 AM
Good day to you,
Seems like the solution in the following forum thread might help you: https://forums.ni.com/t5/LabVIEW/Transfer-cRIO-data-to-cloud/td-p/3776913?profile.language=en
08-01-2019 10:31 AM - edited 08-01-2019 10:32 AM
I appreciate the help, I had actually looked at this before, but I did not really understand how this solved the issue, especially since the first half of the post seems to provide alternates instead of solutions. For example, I can connect to the cRIO through WebDAV but that only works if I run the vi on the pc, but I cannot include that VI in the executable therefore rendering that method unusable. Unless of course I am doing something wrong and can only get it to work on the pc.
09-17-2021 03:06 AM
Hi
I have the same issue.
- WebDAV is working just if request is send from PC to RealTime target in other case is not working, and this is not suitable if I want to use cloud based storage.
- GDrive for LabVIEW by NI is also not suitable solution because the .net is not supported by RealTime target
Is anybody find some appropriate solution for that issue?
Bye
09-17-2021 08:26 AM - edited 09-17-2021 08:28 AM
Have you looked at using SystemLink Cloud?
https://www.systemlinkcloud.com/console
You can publish tags (1Hz or slower) and view the data in real-time in the SystemLink hosted dashboards and you can also publish TDMS files and view them in the interactive TDMS Viewer.
You will need to use the SystemLink LabVIEW Toolkit 2021 R1 or older since the latest version dropped support for LV 2017.
There are also several examples that install with it.
09-20-2021 04:26 PM
@klemzi wrote:
Hi
I have the same issue.
- WebDAV is working just if request is send from PC to RealTime target in other case is not working, and this is not suitable if I want to use cloud based storage.
What is the "other" way that is not working? SFTP, raw TCP, USB stick, or whatever?
09-21-2021 01:14 AM
I am looking for avtomatical solution for transfer data from Real Time target.
- WebDAV transfer data need request from other PC based application
- USB stick is not manual solution
If you have any example how transfer data from Real Time target (cRIO-9045) to any server please post it here.
09-21-2021 01:45 AM
What have you tried?
Have you seen this knowledge article?
First you need to make sure that WebDAV client is installed in your LabVIEW installation and then also on your cRIO device. And of course you need a WebDAV server whose URL and a valid user name and password for it.
09-21-2021 02:07 AM
I don't have in-depth knowledge of networks so I am a bit weak here.
Right now I am using WebDAV for transfer data from RT target, but yes as you mentioned, on the PC is needed to running APP which send request for transfer files from RT target and then send it the Google Drive server.
So I am looking for solution without any mediator, but directly from cRIO to server, as mentioned I am using Google Drive server.
Is it possible to send data directly from cRIO to server with WebDAV without and PC based APP?
09-21-2021 05:17 AM - edited 09-21-2021 05:47 AM
@klemzi wrote:
Is it possible to send data directly from cRIO to server with WebDAV without and PC based APP?
Yes! You will need to make sure to also install WebDAV client support on the RIO device. This is a National Instruments package that you can install onto the RIO device (at least the newer NI Linux RT devices support that).
Just because you installed the WebDAV client support in your LabVIEW installation doesn't automagically make it available on the RIO. You need to go into NI Max and install the WebDAV Client with SSL support package onto your RIO device. Once you have done that you can deploy a program to it, similar to the program shown in the knowledge article in my previous post.
And you need of course to know the correct URL and credentials for your cloud service that you want to access.