Help me with this Peak detector.

Hi vicky4989,

Are you using the Run Continuously button by chance? 

Also, when is it automatically resetting to initial count?  Is "# found" and "count" both resetting?  Try using highlight execution (the light bulb button) to see if you can get any more information about when it is occuring.  I'm on a Mac, so I don't have DAQmx installed and can't run your VI. 

Nothing obvious jumped out at my as far as coding goes as to why it would reset. 


0 Kudos