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.
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.
07-31-2018 04:10 PM
I am sending a joystick commands from the PC to a wireless myRio. I began with a direct USB connection and had a library with three network shared variables. Worked perfectly. However, when then connecting via wireless there is no communication at all from the PC shared variables to the myRio. They are deployed and there is no firewall that I am aware of. I later tried a simpler bare bones example sending just a Boolean on off to the myRio from the PC and still wouldn't work. I attach the example. I can control things ok from the from the panel of the myRio on the PC but not from mycomputer. I have the IP addresses set as the router gives them out. 192.168.0.100 for the PC and 192.168.0.101 for the myRio.
08-01-2018 04:37 AM
can you ping the myRIO's IP address?
08-01-2018 02:11 PM
Yes, I can ping, 2ms to 4ms reply. I also checked that all the software is on the myRio. I was wondering if shared variables can be used through a wireless network at all? It says it works on ethernet but wireless is slightly different protocol I have been told - in the way data is sent.
08-01-2018 02:35 PM
The shared variables wouldn't care if the network is wired or wireless. As far as they are concerned a TCP/IP network would look the same to it either way.
I'm not familiar with a MyRIO, so I don't know if that aspect would affect whether network shared variables would work.
08-01-2018 09:30 PM
Ok one more piece of information. If I create a shared variable library on the myRio I can send it to the PC but not the reverse from the PC to myRio. Just discovered that. Does that give a clue. Thanks
08-01-2018 09:52 PM
Ok that was a big clue. It was the firewall. I thought it was off, but there seems to be two firewalls - the personal one and general one and here at Uni I cannot turn them both off. So I tried on another PC and it now works fine by turning the firewall off altogether. Doesn't matter about security as I am on an ad-hoc network that is not connect to the net!
Thanks
08-02-2018 03:35 AM
nice to hear you found the culprit ...
mark yourself as solution if you'd like 😉
:cheers:
08-02-2018 12:10 PM
One other point worth noting. I was talking to our networking guy and he told me that the Ping isn't high level enough to detect whether a program will communicate or not. Can't remember the details. How do I mark as solution?
08-03-2018 04:01 AM
while logged in, each post should have a 'mark as solution' button at bottom right, just click it, you can also do that to multiple posts if you like
regarding ping, i concur.
but it is still a very simple way to start digging into network problems.
(and your post didn't suggest you were in a managed environment)
08-07-2018 07:53 PM