LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

transfer labview data to web server for mobile application

Solved!
Go to solution
Greetings LabView community!

I have what I think is a simple question:

How can one transfer (in real time) and store acquired data (such as time, temperature and so on..) from a labview VI to a server via the internet so it can be used for a mobile app.

Thanks in advance!
0 Kudos
Message 1 of 6
(4,702 Views)
Solution
Accepted by topic author Barak.BGU

You'll need to push your data from your LabVIEW application to a server:

- HTTP Client VIs

- TCP/IP

- WebSockets

 

Server could have a LV application on it, or you could use a web server with a scripting language (e.g. PHP/ASP/Node.js).

 

You'll need to write something on the server to listen to your LabVIEW application and hold the data:

- Database

- File

- Memory

 

You'll need to write some interface/API for pushing/retrieving the data - e.g. JSON/POST/XML - take a look at 'RESTful APIs'.

 

The choice of which of these to go for depends on how 'real-time' you are talking - how often do you want to update the data, the latency etc.

 

If you don't want to do all of this yourself, there are 3rd party providers that can store this sort of data for you - there's a free (but limited) one run by SparkFun - https://data.sparkfun.com/ but I'm sure there are other services.


LabVIEW Champion, CLA, CLED, CTD
(blog)
Message 2 of 6
(4,698 Views)
Thanks a million!

Your answer was very articulate and helpful and I know how to proceed now 🙂
0 Kudos
Message 3 of 6
(4,689 Views)
Thanks!

This also looks like it would be very helpful for my purposes.
0 Kudos
Message 5 of 6
(4,670 Views)

The NI Cloud Dashboard may also be helpful


Milan
Message 6 of 6
(4,616 Views)