Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

myRio as usb or VISA device not showing

Greetings all,

 

I do not have a lot of experience in this domain, so I apologize in advance if I get some terminology wrong or if the overall question is quite bad. I am trying to target myRio from Simulink for a small HiL experiment. In the first steps, I want myRio to output a sine wave and read it in on Simulink by a serial connection.

 

The issue is myRio doesn't seem to register as a usb device anywhere. I don't see it in the windows file explorer as you would other usb devices, I don't see it when using 'mode' in the command window, and I don't see it in the Serial or VISA device blocks in Simulink, or in Visa Resource name in LabView.

 

I could understand that when I have the myRio plugged in and I am connecting with it in LabView, it could be somehow "blocked" to prevent other programs from accessing it. So I compile and upload the application to myRio and unplug the usb, and see that the program continues to run in standalone mode; I check this with a simple flashing led on myRio. When I plug the usb back in, windows makes the device connected sound and myRIO USB Monitor loads, I click do nothing, but I still cannot "see" it anywhere else.

 

Does anyone have an idea how I can either fix this, workaround this, or an idea for a different approach? Thank you very much.

0 Kudos
Message 1 of 2
(92 Views)

I'll try to help.  Are you by any chance in North America?  If so, respond to the Private Message I'm sending you on the Forums.

 

You can run the myRIO in (at least) two modes.  One, I'll call "Developer Mode", is when you have it connected by USB (or wireless TCP/IP) and use LabVIEW to develop programs designed to run (while connected) on the myRIO as a "remote device", and another I'll call "Remote Mode" where it starts running a Real-Time Executable (.rtexe) when it boots up.  In this latter mode, it can either run all by itself, such as monitoring stuff, or as a "smart peripheral" connected to a PC or some other device communicating over TCP/IP.

 

It is not a "regular USB peripheral".  Probably the reason you don't "see it" is that it is using the USB port as through it were "talking Ethernet".  Have you tried plugging it into a PC running LabVIEW that has LabVIEW Real-Time installed and has the drivers for the myRIO (notably the myRIO Software Toolkit) installed?  If so, it should show up in MAX under "Remote Systems".

 

I'm going to sign off, and will shortly PM you.  If stuff that I said above causes you to say "Oh, I'm completely off base, I better find out more on my own before I call this guy", feel free to simply respond to this post and let me know you have more work to do ...

 

Bob Schor

0 Kudos
Message 2 of 2
(22 Views)