LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you create a Labview Websocket client?

Solved!
Go to solution

Objective: Use WiFi to transfer analog readings from an Arduino Yun to a Labview graphical user interface. 

 

An Arduino Yun  provides Websocket server capability and is norm ally used with a browser.   But I don't how to create a Labview Websocket client.  Hence my question "How do you create a Labview Webcocket client?

 

Howard

0 Kudos
Message 1 of 14
(7,825 Views)

This looks like it might be what you need:
http://www.lvs-tools.co.uk/software/websocket_api_for_labview/

this might also work out for you:
http://blog.evexiallc.com/

 

0 Kudos
Message 2 of 14
(7,820 Views)

Thank you for your reply.

I am looking for no additional cost  Websocket capability.  The LVS Tools program costs $320.00.   I don't understand why the word Labview was mention on the Arduino WebPanel site.  As far as I could tell the author used second party software for an Arduino Websocket server and Javascript with a SVG library to to create a WebPanel.

 

I am going to keep looking for Websoket client capability for Labbview.

 

Howard

0 Kudos
Message 3 of 14
(7,802 Views)
Have you looked at the http client functions? Do you simply want to read a web page?
0 Kudos
Message 4 of 14
(7,791 Views)

No, I do not want to read a Web Page.  I want to use Labview's graphical user interface to capture and display analog data. However, instead of using a USB interface to a remote data acquisition device Wifi will be used.

 

I don't kow if Labview's http client functions will meet my requirements.  However, I have seen other messages saying a Websocket interface is much faster than a Webserver interface.  Hence I came to the experts in this forum to obtain Websocket capability and not some pokey slow webserver capability.

 

Howard

0 Kudos
Message 5 of 14
(7,775 Views)
If you don't want to read a web page, then why did you say you wanted to use the arduino web server? If the device is just using tcp/ip writes, use those functions.

I think you need to better define the arduino interface.
0 Kudos
Message 6 of 14
(7,771 Views)
Solution
Accepted by topic author hrh1818

@Dennis_Knutson wrote:
I think you need to better define the arduino interface.

Dennis - The interface is well-defined. Websocket is a standard (with some variations). It uses the web server, although it's not strictly serving HTTP connections.

 

I don't know of a free LabVIEW websocket client implementation. You might be able to pull apart the LabVIEW HTTP VIs to get some of the initial connection and handshaking logic, though.

0 Kudos
Message 7 of 14
(7,765 Views)
Thanks. I misunderstood when he said a browser was used to view it.
0 Kudos
Message 8 of 14
(7,759 Views)

Thanks Nathand,

 

Knowing there is no free Websocket available for Labview saves a lot of time and frustration on both sides of the question.  

 

Howard

0 Kudos
Message 9 of 14
(7,753 Views)

hrh1818 wrote:

Knowing there is no free Websocket available for Labview saves a lot of time and frustration on both sides of the question. 


Again, I can't promise one doesn't exist. I've never needed WebSockets so I haven't specifically looked for an implementation. However, in several years of reading LabVIEW forums and blogs, I don't remember seeing a full, free, client implementation. There's the beginnings of a server posted here: http://lavag.org/topic/13777-labview-websockets-and-svg/ but I don't think it includes a client.

0 Kudos
Message 10 of 14
(7,719 Views)