Do you think I can write a function to do frequency reading using UltimateSerrial and VS2008? I tested my code this weekend and it worked OK at low RPM's. Should I use a timer or events?
----------------------------------------------------------------------------
Yes you can write a program to measure frequency. The limitation is the DI sampling rate, and whether all the buried UltimaSerial code can be completed within the sampling period. This is of course not known, so you have to try different counting algorithms and test their results against an input signal from a known audio signal generator. Both the input frequency and input signal level will affect the the limit on the measurement. At low signal levels, inherent A/D device noise will cause errors.
Is VS2008 a form of Visual Basic?
David Heiser
__________________________________
utimaserial wrote:
Sorry, but ultimaserial doesn't have frequency reading
--- In
ultimaserial_ group@yahoogroup s.com, "theomccormick"
<theo@...> wrote:
>
> Hello everyone,
>
> I'm trying to use the 158U to add computer automation to an engine dyno and I have a couple questions.
>
> First let me say that the ultimate serial has been wonderful to work with. I was able to quickly review the samples and get my VS2008 project up and working.
>
> Does the ultimate serial have any sample frequency limits like windaq lite?
>
> Should I poll with a timer or use events to
retrieve samples?
>
> I need to get engine RPM. I built a little hall sensor circuit and have tested it at my desk. Do you think I will be able to read RPM up to 7000-8000 Rpm using ultimate serial?
>
> I'm a programmer by trade but I'm a little rusty on my electronics.
>
> Thanks for any help with this project.
>