11-30-2014 01:09 PM - edited 11-30-2014 01:13 PM
I coded up a local network streams example where a reader enpoint waits on the writer and got error -1950678945. My firewall is turned off, so this article wasn't much help. Since I plan on supporting multiple endpoints across multiple applications on multiple targers, I'm trying to make the wrapper API flexible. So, I'm using the full URL to designate endpoints. I discovered that if you're wiring to the "reader name" terminal of a Create Reader Endpoint node with a URL, that URL cannot contain the local IP address.
Solved! Go to Solution.
11-30-2014 01:11 PM
To avoid -1950678945, use "localhost" instead:
04-20-2015 11:16 AM
Dear Sir,
I have the same request(one server, multiple clients) use network stream. May I have a look your code? Thank you!
B/R
Ancle
04-21-2015 08:27 AM
Hello Ancle,
The Network Streams are not going to be able to help you configure one server with multiple clients, since it is a peer to peer configuration. On the following link, you might find information of networking protocols and which supports the 1:N or N:1 configuration.
http://forums.ni.com/t5/LabVIEW/Error-1950678945-Network-Streams/m-p/3121920#M896377
You might be able to find examples of UDP, TCP or Web Services on the community and in the LabVIEW Examples, by going to LabVIEW > Help > Find Examples > Networking.
I really hope you can find this information useful.
Regards,
Luis C.
National Instruments
04-21-2015 11:22 AM
Dear Luis,
1.You post the link is this article.
2.I already use TCP/IP for one server multiple clients as attached images. My application is server query data from clients and server broadcast data to clients. Clients always generate data and sometime when user press the button, it will send addition data to server. However, my server use state machine to query clients. So in most situation server will not reveive clients data. How can I resolve this problem? Thank you.
B/R
Ancle
04-23-2015 08:47 AM
Hi Ancle,
I am very sorry for the mistake. The link I was trying to post was the following:
http://www.ni.com/white-paper/12079/en/
Regarding the communication qestion, how were you creating the communication? Can you provide a little more information on how you were creting your application?
Luis C.
Applications Engineer