LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -1950678945 (Network Streams)

Solved!
Go to solution

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.


Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
0 Kudos
Message 1 of 6
(4,513 Views)
Solution
Accepted by LabBEAN

To avoid -1950678945, use "localhost" instead:

 

Network Streams Sandbox.png


Certified LabVIEW Architect
TestScript: Free Python/LabVIEW Connector

One global to rule them all,
One double-click to find them,
One interface to bring them all
and in the panel bind them.
Message 2 of 6
(4,512 Views)

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

0 Kudos
Message 3 of 6
(4,262 Views)

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

0 Kudos
Message 4 of 6
(4,245 Views)

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

Download All
0 Kudos
Message 5 of 6
(4,236 Views)

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

 

0 Kudos
Message 6 of 6
(4,215 Views)