LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview chipkitUNO32

Hi,

Im using labview to read my accelerometer and encoder data from ChipkitUno32.

I would love to know is it possible that i can get data from graph every seconds or ms ? Currently, the data gives uncertainty eg( 3 data per seconds and then 4 data per sec) as shown below.The graph i plot I am gonna used the data excel to get vibration graph.

Attached is my VI for serial read from ChipkitUno32

Thanks

photo1.PNG

0 Kudos
Message 1 of 2
(3,418 Views)

How fast you sample the data is determined by the code you have on the chipKIT.  Also, you have no method of syncronization.  That means that you are likely getting the wrong data into the wrong place.  E.g. you are getting voltage data and using it as encoder data or you are getting time data and using it as voltage.

Also, I'd recommend looking into some LabVIEW basics and try to clean up your code a bit so that it is easier to understand.  You should avoid using local variables and simply use a wire from the original data instead.

0 Kudos
Message 2 of 2
(3,010 Views)