I need to know if the iRobot Create 2 can be controlled with a NI myRIO that has been programmed through LabVIEW.
The goal is to program an autonomous robot for real-time tracking using a Kinect sensor.
Unfortunately, there is no "single" answer to your question. There is no USB port on the NI myRIO, so just using the cable provided by iRobot as-is is not really an option. The good news is the iRobot Create (and Roombas in general) take all of their commands via the serial 7DIN interface that is mounted on-top of Roomba. The Create 2 should have some re-programmable capabilities, Roombas will not - you need to 'live push/pull' instructions/data to/from them using an attached device like an arduino, RasPi, Tegra TK1/TX1, etc. So if you can get the NI myRIO to generate the appropriate serial commands from LabView code - something that shouldn't be too difficult - then it should be possible to control the Create/Roomba and program the Create 2. As for exactly how to do this, I am unfamiliar with the NI myRIO. It is a relatively new system, and I am not sure it really offers any benefit over something like an Arduino, RasPi, or Tegra. I can only be sure that you will need to design your own interface, as it seems like the myRIO was designed to make use of 'bare' motors and sensors, not ones already sitting behind a micro-controller.
In this particular case, I would advise against the NI myRIO and suggest you use either the nVidia Tegra TK1 or nVidia Tegra TX1. They are specifically designed to do live image processing on a mobile platform, and the drivers for using a kinect sensor has already been developed for the TK1/TX1. You can also use ROS for these boards, and that again will make your life much more simple. It still won't be a simple "put all the pieces together and press 'go" project, but you won't have to write all the code and drivers on your own. In robotics - unless the point is to do it 'new' - re-using existing code and drivers is in your best interest.