LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find Shared Variable on remote PC

Hey guys,

 

I have one PC connected to a network via LAN and one laptop connected to the network via WLAN. Both are Windows 10 and have LabVIEW 2017.

The PC is publishing (writing) data continously (10-50 Hz) and I want to read the latest value with the laptop (5-10 Hz). I have been working with SV communicating between Host and RT (myRIO and sbRIO) quite often and it always worked fine, but now I can niether find the library nor the SV I have created and deployed on my host PC.

Some approaches I've already tried:

  1. Can't find the deployed library/SV using DSM
  2. Added firewall rules to the host PC following this: Firewall rules
  3. Switched off firewall on both computers didn't help
  4. Registering the host and remote computer (tools --> SV --> register computer)
  5. "pinging" the remote laptop from the host PC works (cmd window: ping XX.XX.XX.XX) so the connection works basically.

A further observation I made in DSM: The host PC connected via LAN finds a lot of devices in the network object list. The remote laptop using WLAN only detects itself and the registered remote computer.

I am currently helpless and have no idea what else to do, hope you can help figure that out.

 

kind regards

Slev1n

0 Kudos
Message 1 of 5
(3,155 Views)

Has anyone an idea or hint?

0 Kudos
Message 2 of 5
(3,122 Views)

Most laptops still have an Ethernet port. Does it work if you use that for testing?

 

What is the IP/netmask on each device?

 

Some routers have options to prevent communication between lan and wlan (a very good idea when running a coffeeshop). Look into the router config.

 

Is the wlan adapter configured as private or public network.

0 Kudos
Message 3 of 5
(3,112 Views)

Thank you for your answer. I am currently out of the office and will try some of your approaches next Monday. I will get back to you after some tests.

 

Kind regards

Slev1n

0 Kudos
Message 4 of 5
(3,101 Views)

Hey Altenbach,

 

I will give you your information and tell you what our network administration told me.

Easily connecting the laptop via ethernet does not work, since I have to get unlocked by administration first and this takes time...

 

Information:

Laptop (WLAN)

IPv4: 172.16.92.179

IPv4-Subnetmask: 255.255.224.0

Network type: Public network

 

Desktop PC: (LAN)

IPv4: 172.20.4.58

IPv4-Subnetmask: 255.255.252.0

Network type: Domain network

 

I do not have any access to the router, since I work in a university.

 

So I called administration and they told me to try to connect the variables via a fixed IP. They also told me, that the underlying services and engines usually do not support if one device is connected via WLAN and the other via LAN since they are not in the same "network layer" whatever he ment by this. But they usually work if you connect two devices directly via IP. Well, this would explain why "pinging" the other PC worked.

 

So is there a way to connect the SV directly over IP?

 

0 Kudos
Message 5 of 5
(3,072 Views)