07-21-2016 06:39 AM
Hi,
I'd like to read a value of a magnetometer of MPU9250 using myRIO.
I built a labview code with reference to arduino library for MPU9250(attached library).
(can download the library here: https://learn.sparkfun.com/tutorials/mpu-9150-hookup-guide#installing-the-arduino-library)
Now, I can read a value of an acceleration and gyro of MPU9250 in real time, but value of magnetometer is measured just once, at first loop time. i can't read the value in real time.
I attached the labview code, I ask for your help. thanks
10-22-2018 03:12 PM
is is an old thread but just for the record, the magnetometer AK8963 needs you to read more than 6 bytes. I put 8 bytes to read in the last vi and it sprang to life! Apparently this is in the data sheet of the AK8963. This is a real dog of a thing to get going. See modified attached.