View Single Post
  #4   Spotlight this post!  
Unread 01-03-2009, 20:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Help with Personal labview project

With counts and millisecs, you can get cpm by taking count * the number of millisecs in a minute divided by the millisecs you have. Or count * 60,000 / millisecs. Put that expression in the loop.

If you want an instantaneous reading, think about how often you want it to update, then look at keeping an array of values in an accumulator, sum the array, rotate and replace. I'll explain in more detail if you decide you want to do it, but I'll give you a chance to do it first.

Greg McKaskle
Reply With Quote