11-28-2014 02:29 PM
If you don't want to use LIFA or LINX then I would recommend asking on an
Arduino forum.
11-28-2014 04:35 PM
Dear Nathan
I would have no information on LIFA or LINX.
do I need to install anything except the LabVIEW.
could you please let me know where is the Ardunio forum?
Thanks.
11-28-2014 05:18 PM
LIFA and LINX are LabVIEW interfaces for Arduino (LIFA = LabVIEW Inteface for Arduino; LINX = LabVIEW Interface for X). You are currently posting in the LIFA community. Simply go to the overview tab for more information about LIFA. LINX is the newer replacement for LIFA and can be cound at the LabVIEW Hacker website: http://www.labviewhacker.com/linx.
If you want to do everything manually (i.e. not use LIFA or LINX), you need to write both the sketches and the LabVIEW code to do it.
The Arduino forums can be found via the Arduino website (or Google or Bing or Yahoo, etc.).
Here is what we should do at this point. Since your questions have absolutley nothing to do with the topic of this original discussion (Title: MPU6050+Arduino+Labview), you should start your own discussion. In your new discussion, please state what your project is and what you are trying to do. Then, we will better be able to help you determine if it would be wise to use something like LIFA or LINX (this will typically save a lot of time and hassle if your requirements allow one of them to be used).
11-28-2014 06:14 PM
Sure, I have just started a new discussion.
Thanks.
11-29-2014 12:39 PM
Question, how do I do burst reads from the FIFO? I don't know how to, so now I am reading based on the interupt pin.
11-29-2014 12:47 PM
What do you mean by burst reads? Interrupt pins don't work in LIFA (I'm not sure how this is related to your issue).
11-29-2014 12:50 PM
Oh, I mean for the MPU 6050. This may be the wrong forum for this question.
11-29-2014 06:28 PM
Have you looked at the library that I created that has been previously mentioned in this discussion?
I guess I don't really understand your question. There is nothing you need to do special to do burst reading of the data via I2C. Simply read multiple bytes at a time with the I2C Read VI. That's how I do it in my library.
11-29-2014 08:23 PM
Yeah, so I am currently checking the hardware interupt pin to see when new data is in the acc, temp and gyro registers. Then I write the name of the first register to the MPU 6050 and read the 14 registers in succession. In order to do this, I have to implement code in my VI that checks the intereup pin and only reads the 6050 when new data is posted. If I understand correctly, I could instead read the FIFO as frequently as I want and it would update between pings, when the serial line is idle. This would let me remove some code from my VI so that I could run it a bit faster. Currently, I have to check the hardware interupt pin to make sure I don't read the registers between updates. If this happened, the high byte and low byte could correspond to different sampling cycles and the data wouldn't make sense.
11-29-2014 08:24 PM
Please excuse the spelling errors. I need spellcheck to survive.