02-26-2007 12:09 AM
02-26-2007 12:48 AM
Hi Bong
Could you post it as LV8.0? I just want to have a look at it (and give advice if possible ;)).
02-26-2007 01:13 AM
02-26-2007 01:23 AM
02-26-2007 01:33 AM
02-26-2007 01:38 AM
Ok - but I also assume that you get the angle value (represented by the dial) from a hardware measurement (e.g. fieldpoint). Right?
What about the direction? I think you also want to see in which direction the angle changed.
02-26-2007 01:43 AM
"Ok - but I also assume that you get the angle value (represented by the dial) from a hardware measurement (e.g. fieldpoint). Right?"
- Yes. Its a Magnetic Compass.
What about the direction? I think you also want to see in which direction the angle changed.
- Yes. I showed in another vi the change in direction wherever the compass points.
02-26-2007 02:10 AM
02-26-2007 02:19 AM
02-26-2007 09:18 AM
Have a look at the attached vi - maybe this is helpful.
In general I buffer the angle-differences with the corresponding dt values. The average of these buffered values is then passed to your speed calculation.
On the left side I also check the actual and the last value whether there is a transition 360 -> 0, 0 -> 360 or none of them.
Thomas