08-24-2015 01:19 PM
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
08-24-2015 07:45 PM
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.