Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

? the Best way to test and calibrate a flow meter using a PCI 6602?

Solved!
Go to solution

I cannot think.  I want to take readings from an E + H Promag 53 flow meter to a 6602 after a steady flow is reached.  store about 4 values in registers one minute apart.  compare to the DUT and obtain correction factor.

So for, I can read flow and/or counts pulses. 

 

0 Kudos
Message 1 of 6
(4,943 Views)

Hey

Can you provide more information on what you want to do?

 

-lab

0 Kudos
Message 2 of 6
(4,921 Views)
I am subtracting the previous value of pulses(volume) from the new volume.  but 1st time thru the loop i get a high number because i am subtacting zero.  how do i ignore the 1st run or initialize the shift register to the correct volume(the period before the first loop run? thx a 1*10^6 !
0 Kudos
Message 3 of 6
(4,904 Views)
0 Kudos
Message 4 of 6
(4,897 Views)

Hey,

You can use a Case structure where if i==0 you initialize the shift register with the first reading 'elseif' conti what you are doing. Let me know if that make sense or else I can post a quick example.


Cheers

Lab

0 Kudos
Message 5 of 6
(4,884 Views)
Solution
Accepted by topic author nerd

Anyways, I thought example would make much more sense hence i modified your code little bit. have a look at it.

 

0 Kudos
Message 6 of 6
(4,883 Views)