LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to publish my data using datasocket connection on the net and I want to use Front panel binding. Can I?

I want to publish my data on the net.
I want to use front panel binding and I do not want
to write the code. Can I do that. What should I modify
in my datasocket server manager. The other question is, When I open my VI, I want to open automatically my DataSocket Server. My english is bad. When I open the LabView I also want to open my DataSocket server. How can I do this?
0 Kudos
Message 1 of 3
(2,967 Views)
To use datasockets to publish data to be accessed via the web, see the following document.

http://digital.ni.com/public.nsf/websearch/F58A6C2DAAADECB68625672400636145?OpenDocument

This document explains how you can create an interactive Web page with which users can view data from a remote acquisition application without the common problems of a client-server application. You use the Measurement Studio DataSocket control and Microsoft Visual Basic to create a software component that you can insert in a Web page. You then use that Web page to read, write, or share data with other applications across the Internet.

If you want to publish data but do not want to write any code, you should consider the web publishing tool available in Labview 6.1. This tool allows
you to create a webpage to be published from the the LabVIEW webserver on your machine. See the following link for more information on ways to easily publish to the web from LabVIEW.

http://zone.ni.com/devzone/conceptd.nsf/webmain/E4E311FA046EE24586256B1F0074F39D?opendocument

As for starting the datasocket server when you run your VI, you can use the 'System Exec' VI to run the application. The exe to start the server is located in the following directory:

C:\Program Files\National Instruments\DataSocket\cwdss.exe


I hope this is helpful.
0 Kudos
Message 2 of 3
(2,967 Views)
Thanks Cdub. When I use the web publishing tool, I have a problem. I can do it in my local lan but if I want to lauch the site from the outside I got a problem. i do not know why think because of the security. Thats why I try to use the datasocket connection. But I need to install LabView in the client PC. I need to know how to configure the datasocket server manager. Actually, I know how to configure but I want to make the connection using front panle binding. Most of the books say it may not work. I do not write the datasocket code inside my program. Want to make the connection from front panel.
Thanks.
Saw
0 Kudos
Message 3 of 3
(2,967 Views)