10-12-2008 03:36 PM
I've been playing with the example vis DSReader & DSWriter, and reading docs all weekend. The only way DSreader finds the data from the DSWriter (on another machine on the network) is if I give the reader the IP of the writer machine. dstp//localhost/wave works when both apps are on the same machine but there's no network traffic at all according to ethereal whether the apps are on the same machine or not. I thought, from what I read, was that any machne could find the data through the URL, but no. I want multiple machines to broadcast and receive and all share the data. The docs say this will work but I really can't see how from the examples. I have been using the UDP functions for years with no problems but I can't make this work even per the documentation. What am I missing? Love Labview, not happy with this.
Thanks,
Andy Bradley
EBC Electronics Corp.
10-13-2008 02:42 AM
Andy,
communicating locally using TCP or UDP do not create networktraffic. This is because the data is never really sent out in the network. Only the IO buffers are used. So the connection should show up if you use something like a network sniffer. Even the DOS-prompt command netstat shows the datasocket-connection on port 3015 (dstp).
So the only thing you have to make sure if using dstp in a network (so not only local) is that the dstp-port (3015 by default) is not blocked by any firewall or used by another application.
hope this helps,
Norbert
10-13-2008 09:15 AM
10-13-2008 01:57 PM
Hey,
Have you taken a look at the DataSocket Tutorial on NI.com?
Please let me know if this helps!
10-14-2008 03:51 PM
Hi.
Just checking back to see how things are going...any update?