Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Help me to switch on one led from remote PC

I just installed Meas Studio for VB 6.0 and using DAQ 6025E. I try to switch on one led using digital output (CWDIO) from remote PC (internet).
By following example "Building an Interactive Web Page with DataSocket" and DIO tutorial, I now can publish .CAB to my PWS and the ActiveX control properly display in browser but my CWButton cannot switch on the led.

I'm a little confused with the DataSocket examples. Should I use DataSocket ConnectTo 'someURL'? But in my case where is 'someURL'.
0 Kudos
Message 1 of 2
(3,214 Views)
You need to run the DataSocket server on a machine and connect to the server from the machine that's running your data acquisition application. When you connect to the DataSocket to write data, you specify a URL and the URL will be available on the DataSocket server as long as your writing application is connected. This is the URL that you should use with ConnectTo. Also note that you don't have to use ConnectTo with the client part of your application - you could also bind the Value property of the led to the URL. Go to the Bindings tag in the property pages to configure the Value property for DataSocket binding. For more information on DataSocket binding, see Connecting Measurement Studio User Interface ActiveX Controls to Remote Data.

- Elton
Message 2 of 2
(3,214 Views)