09-07-2023 02:43 AM
Hi,
I am using LabVIEW simple network stream example from the example find to send data across 2 PCs, the example works when both the Target and Host endpoints are used with localhost, whereas the connection is not established when trying to communicate with the remote system.
When i ping the IP I am getting a valid connection.
What could possible be the issue?
09-07-2023 03:54 AM
A firewall?
I'd disable it, try it, enable it. If it worked, find out which ports you need to allow (TCP port 2343 by default).
You'd need to handle this on both endpoints (at the same time).
(Recommended Firewall Settings When Using Network Streams - NI)
09-08-2023 07:21 AM
I have another question. If my Host and Target VIs are in different Labview versions, say host VI is in Labview 2023 and Target VI is in Labview 2017. Will it cause an issue with the network stream or should the network stream work fine?
09-09-2023 09:04 AM
My "guess" (I've never tried this!) is that if it works, you "got lucky", and the larger the "version gap", the less likely for success you would have. I'm sure that NI would like to keep the Network Streams protocol "fixed" and consistent over LabVIEW Versions, but occasionally a new feature might be added or an old feature (a.k.a. "bug") removed. Sticking to the same version of LabVIEW for multiple processors is something I just assumed was prudent, possibly even "required".
Bob Schor
P.S. -- I think you had another post regarding this topic that I just answered, as well ...