LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Launching DataSocket programmatically in LabView 6.0.2

Is it possible to programmatically launch DataSocket in
LabView 6.0.2 WITHOUT using any DataSocket functions from previous versions of labView??
0 Kudos
Message 1 of 6
(3,327 Views)
Drop numeric or whatever n the front panel

right click

Data operations >>> DataSocket Connections

navigate to what you want to subscrirbe too.

when the Vi is run, the datasocket will be initialized and the indicator updated.

OK, I may have left some of the details out but that should get you started.

Is this what you wanted?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 6
(3,327 Views)
Thanks for trying. I know how to attach front panel objects to DataSocket for publishing/subcribing to data. This still requires me to launch DataSocket manually from the windows start menu before running the
VI. Otherwise the DataSocket server will never start. In labview 5.1.1 I can launch or close the DataSocket server programmatically. It seems in versions of LabView beyond 6 this functionality has been lost.
0 Kudos
Message 3 of 6
(3,327 Views)
OK, that is not what you wanted.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 6
(3,327 Views)
Click this link to go to a Knowledge Base which discusses how to do this. There's actually a VI to launch it, but it's not on the Functions palette.
J.R. Allen
0 Kudos
Message 5 of 6
(3,327 Views)
Thanks.....I did not know that example vi existed.
0 Kudos
Message 6 of 6
(3,327 Views)