LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Read Error 1

Hello!

 

I would like to create a server - multi clients program. When i want to run that, the second iteration (top while loop, when listen a client) give the Error 1 error in the TCP Read.vi.

Somebody could help me? 

(Sorry about my english, it isn't the best)

 

Thanks

 

 

0 Kudos
Message 1 of 2
(3,381 Views)

Dear tibtobi!

 

Welcome on NI Discussion Forums

In my opinion for such kind of projects it is better to use an already working solution.

Please allow me to recommend You a woking  Multiple TCP Clients to One Server implementation:

Managing Multiple Clients from One Server Using TCP/IP in LabVIEW 

 

There are also some articles about this topic like this:

Connecting Multiple TCP Clients to One Server in LabVIEW 

 

There is also a reference library made by NI:

LabVIEW Simple Messaging Reference Library (STM)

 

In my opinion You could save a lot of time by using these already existing resources an implementations.

 

Please let me know, if my suggestion helped, or if You have any other questions.

 

Best Regards,

CLA, CLED
0 Kudos
Message 2 of 2
(3,340 Views)