From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I control 4 sets of compact RIO system with my host PC?

Solved!
Go to solution

Hi all,

As the title.

I want to control 4 sets of compact RIO system at the same time.

I have written TCPIP connection for two PC before.

But I never program to connect more than one PC.

If I need to connect more than one PC, should I set the PC's connection port different?

Could you provide me an example?

Thank you a lot.

0 Kudos
Message 1 of 4
(2,414 Views)

Hi StephenCh...,

you can use the same port for all your cRIO devices. They should run as server. From your PC you descide between them with the different ip adress.

Shall the cRIO systems also communicate between each other?

 

Mike

0 Kudos
Message 2 of 4
(2,392 Views)

Hi Mike,

The cRIO don't need to communicate with each other.

Do you have this kind of POC or could you provide me an example code?

I have one more question: How fast is the data transfer rate from RT to host PC?

Thanks.

0 Kudos
Message 3 of 4
(2,378 Views)
Solution
Accepted by topic author StephenChen

Hi StephenCh...,

you can calculate the transfer rate it depends on your network card. You'll find very good examples on that in the example finder, search for tcp/ip. You can use the server code on each of your cRIOs. Use the client to connect to your servers (cRIO), you only need to change the IP. If you need to connect to all at the same time, then you have to change the client program a bit, so that you are able to build four connections.

 

Where do you have problems? Did you already see the examples?

 

Mike

Message 4 of 4
(2,370 Views)