|
Re: MPU-9150 (I2C) with Labview
Can you include your I2C Open code as well (probably stuck in the Begin.vi)?
Your config code looks messed up. Why are you re-opening so many times?
You only need to do one 'open'. The device address is stored after that.
Your config should happen before you start your while loop. Currently, you're trying to do two things at once. Use the Error block to control the order of execution.
Comment what your config code is doing at each point.
Monitor the error outputs. If it can't communicate, it will tell you.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian
Previous mentor and student from Team Fusion, FRC 364
Last edited by RyanN : 03-02-2016 at 08:11.
|