myRIO vs. RobotRIO

112 views
Skip to first unread message

Robert Bellini

unread,
Aug 2, 2015, 9:47:44 AM8/2/15
to navx-mxp
I am trying to run my Nav X board on the myRIO to learn and experiment at home till I get access to the RobotRIO at school.  Other than the orientation question, the myRIO has two MPX ports A & B.  Therefore the I2C and other ports are duplicated.  The Nav X LabView code is configured for the single MPX interface on the RobotRIO. 

I am debating the best way to modify the code to accommodate the myRIO.   Is it better to go down to the lower level of VIs and replace the I2C VIs with myRIO specific ones which can choose between the two MPX interfaces?  At what level?  There is a difference in the Device Reference between the WPI I2C VIs and the myRIO VIs.

1) Is anyone else crazy enough to attempt this?
2) Any suggestions?

Thanks!

admin

unread,
Aug 2, 2015, 2:06:13 PM8/2/15
to navx-mxp
Your approach is a bit "off the map", but interesting. 

The most straightforward approach seems, to me at least, to change the "navX Open.vi" and replace the I2C (and likely the SPI) open VI from labview with the one that's appropriate for the MyRio.

If the device reference is different for the myrio, my hunch is that you'll need to update the "navX Device TypeDef" control, replacing the roborio dev ref w/th myrio dev ref instead.  And then you'll need to apply changes so that all the VIs in the library that use the RoboRio dev ref get updated.  I"d hope there won't be any additional errors than..

Finally, you'll likely need to add an interface selector, to indicate which of the MXP connectors you are working with.

Please post the results of your work if you can, and update the group on progress, you'll be the first I'm aware of to try.  

All the best,

- scott

mohini thor

unread,
Sep 4, 2017, 1:29:41 AM9/4/17
to navx-mxp
I am also trying to use WPI library with the myRIO(I dont have any access to robotRIO) but when I creat new project in myRIO...I am unable to get these libraries in my myRIO project..so how to get it in myRIO Project..
Thanks,

admin

unread,
Sep 4, 2017, 1:27:26 PM9/4/17
to navx-mxp
Support for running the LabVIEW libraries on MyRIO is available at Studica, who has developed these libraries in support of the "Worldskills" robotics competition.

I'd recommend contacting their technical support.  You can do that via the following contact form, and selecting Technical Support help.


Cheers,

- scott
Reply all
Reply to author
Forward
0 new messages