Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRIO connection issue

I'm having a problem connecting to the myRIO I'm working with.  It seems that I can only successfully connect to the myRIO when connected to my own wireless network at home, when disconnected from any network or connected to a different wireless network LabVIEW will lock up when attempting to connect (that is, right click on the device in the project window, connect).  It halts on preparing files for download.  I've reinstalled the real-time side of LabVIEW, formatted the myRIO and reset network parameters to defaults, but this doesn't seem to help.  Also added any IPs associated with the myRIO TCP connection to my firewall and the VI server options, no dice.  Definitely a weird issue to come across!

 

Additional info:

using LV13.0f2 32-bit

myRIO1900

Win7 64-bit

 

0 Kudos
Message 1 of 14
(10,255 Views)

LabVIEW Error Log:

 

####
#Date: Thu, Oct 23, 2014 06:51:44 PM
#OSName: Linux
#OSVers: 3.2.35-rt52-1.0.0f1
#OSBuild: 197155
#AppName: lvrt
#Version: 13.0
#AppKind: AppLib

 

 

RT System Error Log:

 

*none

 

 

Kernel Log:

 

Oct 23 19:00:26 NI-myRIO-1900-030536c9 kernel: [ 0.533996] /builds/perforce/NI-RIO/controller/bsp/zynq/linux/trunk/1.0/objects/ni_zynq_linux/linuxU/armv7-a/gcc-4.6-arm/release/source/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Oct 23 19:00:26 NI-myRIO-1900-030536c9 kernel: [ 5.124341] wl1271_sdio mmc0:0001:2: found wl12xx_sdio

0 Kudos
Message 2 of 14
(10,227 Views)

dkarns,

 

Do you by chance have the ad hoc wireless mode enabled? If so, please see the following article:

 

Cannot Connect to myRIO after Enabling Ad Hoc Wireless Mode

http://digital.ni.com/public.nsf/allkb/EA465C8C05B703C086257D030068D893?OpenDocument

 

If not, are you able to ping the device or at least see it in MAX?

Erin D.
0 Kudos
Message 3 of 14
(10,221 Views)

I don't have the ad hoc wireless mode enabled, and I can see and control the myRIO in NI MAX.

0 Kudos
Message 4 of 14
(10,166 Views)

Hello dkarns,

 

If you are seeing and communicating with your device in NI MAX without error, have you double checked that the IP address of the device in your Project Explorer window matches up with the device IP address in MAX? If you have been changing networks or disconnecting then reconnecting the device, it may have changed it's IP address which is automatically detected by MAX, but set to a particular address in your project.

 

 Also, are you running on the most up-to-date kernel?

Erin D.
0 Kudos
Message 5 of 14
(10,144 Views)

Erin,

 

The IPs both match up in the project and in MAX, and I believe I am running the latest kernel.  This myRIO device seems to work on my desktop without a hitch, and works on my laptop while connected to my home network, but seems to lock labview up when attempting to connect under any other circumstances.

 

Another error I found in the log:

####
#Date: Sat, Nov 08, 2014 08:22:53 PM
#OSName: Linux
#OSVers: 3.2.35-rt52-1.0.0f1
#OSBuild: 197155
#AppName: lvrt
#Version: 13.0
#AppKind: AppLib


starting LV_ESys2_Thr0 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr1 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr2 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr3 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr4 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr5 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr6 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]
starting LV_ESys2_Thr7 , capacity: 24 at [3498357040.22368288, (22:50:40.223683000 2014:11:08)]

 

 

Nov  8 21:47:31 NI-myRIO-1900-030536c9 kernel: [ 5097.299918] wl1271_sdio mmc0:0001:2: sdio read failed (-110)Nov  8 20:28:01 NI-myRIO-1900-030536c9 kernel: [  328.454858] wl1271_sdio mmc0:0001:2: sdio read failed (-110)

 

 

Not sure if this helps, but I'm looking for anything that might point me in the right direction.  Thanks!

0 Kudos
Message 6 of 14
(10,109 Views)

Hello dkarns,

 

Could you please send us a couple of screenshots? What I'm looking for is your Network Settings tab within NI-MAX. I would like to see this screenshot for a network that your myRIO can connect to successfully, as well as when you are having trouble connecting to the network. This will help us get a better idea of what your current setup is. Also, I know that you mentioned adding exceptions to your firewall for this device, but have you tried completely turning off your firewall temporarily in order to rule out a firewall obstacle?

Erin D.
0 Kudos
Message 7 of 14
(10,090 Views)

@dkarns wrote:

Erin,

 

The IPs both match up in the project and in MAX, and I believe I am running the latest kernel.  This myRIO device seems to work on my desktop without a hitch, and works on my laptop while connected to my home network, but seems to lock labview up when attempting to connect under any other circumstances.

 


When you try to connect under "other circumstances," is it safe to assume you are on a different network?  That sounds like the only possible way to be under different circumstances.  If so, is the myRIO set to grab an IP automatically?  In this case, it would be pulling a new IP.  Does this IP match the subnet and project while on this network or is it still set for your home network?

0 Kudos
Message 8 of 14
(10,072 Views)

hey,

i am a beginner user of myrio. i have installed all the labview(2013) drivers and software modules and now when i connect my myrio through a usb port, when i click GETTING STARTED WIZARD, it makes the connection with myrio and then halts at the window named "Setting date and time".

please can you tell me where is the problem because i cannot find any,

0 Kudos
Message 9 of 14
(9,543 Views)

Zuhair.ak,

 

The issue that you are experiencing is not related to this thread. I would recommend either starting a new thread or posting to one that is more applicable.


However I would recommend making sure that you can communicate with the device in NI MAX. When you repost this question I would also recommend adding some screenshots so that people can see what you are talking about.

Scott B.
AE NI
0 Kudos
Message 10 of 14
(9,520 Views)