Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting Encoder pulses using DAQmx CntEdges instance

Hello,
The following is a brief description of my application.
Hardware- NI PCI 6251(ctr0), SCB 68, Air Flow Meter coupled with Encoder(volumetric flow rate -> pulse train)
Requirement-

For(i=0;i<2;i++)

{
   For(j=0;j<2;j++)
   {
      step1: Count encoder pulses on rising edge for 1minute (Count)
      step2: Multiply Count by 14
      step3: Save Result
   }
}
Expected Results
1.Consistent values of Count for both iterations of i (pulse train frequency remains constant for both iterations of i)
2. Consistent values of Count for various frequencies of pulse train ranging between 0 and 444.44Hz.
Please find the attachment. Will CountEdgesTest.vi meet my requirement? If not, kindly give me a solution at the earliest
Thanking you,
Yours Sincerely,
Sup Upadhya

 

0 Kudos
Message 1 of 1
(5,634 Views)