LabVIEW Interface for Arduino Discussions

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

MPU6050+Arduino+Labview

If you don't want to use LIFA or LINX then I would recommend asking on an

Arduino forum.

0 件の賞賛
メッセージ21/35
5,681件の閲覧回数

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.

0 件の賞賛
メッセージ22/35
5,681件の閲覧回数

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).

0 件の賞賛
メッセージ23/35
5,681件の閲覧回数

Sure, I have just started a new discussion.

Thanks.

0 件の賞賛
メッセージ24/35
5,681件の閲覧回数

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.

0 件の賞賛
メッセージ25/35
5,681件の閲覧回数

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).

0 件の賞賛
メッセージ26/35
5,682件の閲覧回数

Oh, I mean for the MPU 6050. This may be the wrong forum for this question.

0 件の賞賛
メッセージ27/35
5,682件の閲覧回数

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.

0 件の賞賛
メッセージ28/35
5,682件の閲覧回数

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.

0 件の賞賛
メッセージ29/35
5,682件の閲覧回数

Please excuse the spelling errors. I need spellcheck to survive.

0 件の賞賛
メッセージ30/35
5,682件の閲覧回数