Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Communication Problem between Windows 11 host and cRIO 9057

Dear Community,

the following image explains my problem:

 

Universaldilletant_0-1711035554487.png

- Windows 11 Computer with LV23Q3

- cRIO 9057 with LV Realtime 23Q3

- Same subnet, different IP addresses, connected via network switch. Nothing else on the network: Laptop - Switch - cRIO

- They can ping each other (Windows to cRIO on powershell works, cRIO to windows via Linux shell works)

- The control via NI Max of the cRIO works fine

- Running any VI on the cRIO works

- Running the "Simple Network Streams.lvproj" works just fine

But:

- The "Simple TCP.lvproj" does NOT work, for whatever I do

    - I tried a number of ports

    - I disabled all firewall functionality on windows side

    - I tried the project with TCP Server and Client on the same machine which works

    - But no parameter establishes the connection between TCP Server and Client if I run them on windows and cRIO

 

 

I have gone through a couple KBs:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015A3ESAU&l=en-CH

https://www.ni.com/en/support/security/configuring-software-and-hardware-firewalls-to-support-nation...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x4LuCAI&l=en-CH

 

But there is nothing, that I found that helps me.

Do you guys have any idea?

Thanks in advance for any help provided!!!

Cheers,

Niko

0 Kudos
Message 1 of 4
(304 Views)

Hey Niko, are you familiar with Wireshark, a network protocol monitor and analyzer? It's a very handy tool in cases like this. It's fairly simple to operate, maybe give it a try and see what you can learn from monitoring the network.

 

Btw, any error codes you can share? What exactly does "not work" mean?




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (The Future of Team-Based LabVIEW Development)


0 Kudos
Message 2 of 4
(248 Views)

Hi Jörg,

wireshark ist a great idea 🙂
You are correct, my description was not really complete there: the initiation of the TCP connection errors out with a timeout error. On the server side:

Universaldilletant_0-1711115926649.png

on the client side:

Universaldilletant_1-1711115977972.png

Thanks for your help!

Cheers,

Niko

0 Kudos
Message 3 of 4
(246 Views)

Hi Jörg,

I just switched the TCP Server to the cRIO and the client to the PC and it worked immediately.

I have no clue why this works now, but anyway , I guess I won’t find that out…

Cheers, Niko

Message 4 of 4
(212 Views)