LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send Data from Labview-Program to Twitterfeed

Hi,

 

I would like do havbe a nice-to-handle way to look at some experimental data from home. As am a frequent "twitterer" I wondered whether I can send numerical values from Labview to a twitterfeed.  

Message 1 of 8
(3,657 Views)

Hi,

 

LabVIEW 8.6 Features and Changes Dim hasPlayer, playerversion hasPlayer = false playerversion = 10 Do While playerversion > 0 On Error Resume Next hasPlayer = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & playerversion))) If hasPlayer = true Then Exit Do playerversion = playerversion - 1 Loop is_FlashVersion = playerversion is_Flash = hasPlayer

LabVIEW 8.6 allows you to publish a VI as a Web service. Web services provide a standardized method for servers to deploy applications that any HTTP client can access. LabVIEW Web services support clients across most major platforms and programming languages and allow you to easily implement and deploy Web applications over a network using LabVIEW. You have to figure out in which way you can access such a web service

from twitterfeed. LabVIEW Web services are available only in the LabVIEW Full Development System and the LabVIEW Professional Development System.

 

regards

 

Marco Brauner NIG

 

0 Kudos
Message 2 of 8
(3,623 Views)

Alas, I only hve Labview 7.1.... is there any possibility?

 

Thanks anyway for the quick answer.  

0 Kudos
Message 3 of 8
(3,609 Views)

Hi, with LV 7.1 you can send any kind of data as flattened strings to any TCP client with TCP/IP.

If twitterfeed can interface this way, there is no problem.

 

regards

 

Marco Brauner

0 Kudos
Message 4 of 8
(3,589 Views)

Hi Phil.

      This sounds like fun!  While I have no experience with twittefeed, it sounds like you [just] need to satisfy the rules/expectations of their API.

Since LabVIEW 7.1 implements low-level TCP/IP functions, it should be possible to satisfy any interface requirements.

On the other hand, is that really necessary?

[From the API page] Notice the fourth bulleted item...

The Easiest Way to Play Around with the Twitter API

If your system has curl (and it should!), you’ve already got a great way to poke around the Twitter API. Here are some examples:

 

This seems to be using a utility ('curl') to post/update via a command-line interface(?)  This could certainly be automated with LabVIEW - does it look promising?

 

Cheers.

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 5 of 8
(3,557 Views)

Woah, that sounds pretty neat. 

I will try it as soon as I have the possibility (so hopefully next week).

 

Thanks! 

0 Kudos
Message 6 of 8
(3,552 Views)
 Hi, I just want to tell that it works quite well with curl. Thanks a lot.
0 Kudos
Message 7 of 8
(3,491 Views)

Thanks for the Kudos! Smiley Happy 

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
Message 8 of 8
(3,477 Views)