LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

connection with DataSocket server

I want to have a connection between to PC. I've programmed to little VI's with DS write and DS read. And that works without some problems. But when I make executables from this VI it didn�t work. What can be my mistake?
0 Kudos
Message 1 of 2
(2,590 Views)
Hi Petric,

What kind of error dou you get? Always wire the error cluster from VI to VI and use a Error Handler or a error indicator on the Frontpanel to see what error is reported. This helps a lot when troubleshooting an application.

Here some points to check:
1. Datasocket must be installed on both machines. LV RTE installs this usually for you.
2. DS Server must run.
3. Use the correct URL. Often "localhost" is used as Machine name, but that's not always correct. The URL should look like this: dstp://dsmachine/test
dsmachine= IP adress or machine name of the PC where the DS Server is running. Both PC must point to the same DS Server PC!
test= Data item on the DS Server
4. Open the DS Server Manager and check if you've set the correct privileges for Re
aders, Writers and Creators!

Hope this helps.

Luca
Regards,
Luca
0 Kudos
Message 2 of 2
(2,590 Views)