The LabVIEW WPI Library only works w/the RoboRIO.
Kauai Labs does not currently provide MyRIO-specific libraries.
For the MyRIO, you'll need to locate the I2C VIs from National Instrument that work w/the MyRIO, and access the sensor via that interface.
See the I2C Overview section, as well as the Register Map.
Typically, you'll want to access the sensor status register, and the yaw (and perhaps pitch and roll) registers.
- scott