From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you create a Labview Websocket client?

Solved!
Go to solution
The CVT demo has websockets as part of it. You can dig in the code for the implementation and VIs.
http://lavag.org/topic/18382-cvt-web-add-on-and-thin-client/
I build web apps for LabVIEW
http://chrislarson.me
Message 11 of 14
(1,648 Views)

Thats true, there is a sample websocket implementation included as part of that design. The code was recently "officially" released on ni.com/referencedesigns. You might also take a look at that updated version.

0 Kudos
Message 12 of 14
(1,640 Views)

Thanks for the LAVA link.

 

Here are two possibly conflicting links.

 

This link

<https://decibel.ni.com/content/thread/21487>

 says "Result: At this time there are not really any pure LabVIEW ways to implement the streaming support (unless you can find a G HTTP/1.1 with SSL implementation to play with)."

 

This link

<https://decibel.ni.com/content/docs/DOC-35435

says Author is using Websockets.    But the author doesn't provide the Websockets code or say if the code supports streaming.

 

Howard

 

 

0 Kudos
Message 13 of 14
(1,629 Views)

Please i need to receive a date from Websocket with those references 

Can somebody help me

ws://<device-ip>:8080/avccservice

  1. If the independent AVCC IP is 192.168.2.120 the URL will be ws://192.168.2.120:8080/avccservice
0 Kudos
Message 14 of 14
(437 Views)