Legacy Hardware and Apps
Calculate pulses per minute

I have a flow meter that uses a magnetic pickup that generates 2900 pulses per gallon. I need to calculate Gallons per minute.

I am using 7C(+=1CV,R) to get pulses and I can calculate gallons but I can't seem to figure out how to calculate GPM.

I have a flow meter that uses a magnetic pickup that generates 2900 pulses per gallon. I need to calculate Gallons per minute. I am using 7C(+=1CV,R) to get pulses and I can calculate gallons but I can't seem to figure out how to calculate GPM.

Good morning Jesse,

It will depend on how fast you are reading the counter. If you are reading the counter every minute and you have 2900 pulses then you have one Gallon per minute. So

BEGIN
S1=0,1,0,2900
RA1M
7C(+=1CV,R,S1)
1CV("Total")
END

If you are sampling at a different rate then you will need adjust the rate. For example if you are sampling every second then you will need to multiply the count by 60 to get Gallons per minute

Cheers,
Roger

Good morning Jesse, It will depend on how fast you are reading the counter. If you are reading the counter every minute and you have 2900 pulses then you have one Gallon per minute. So ```` BEGIN S1=0,1,0,2900 RA1M 7C(+=1CV,R,S1) 1CV("Total") END ```` If you are sampling at a different rate then you will need adjust the rate. For example if you are sampling every second then you will need to multiply the count by 60 to get Gallons per minute Cheers, Roger

Thank You Roger, I figured it was not too difficult, but now I am having trouble consistently reading the magnetic pickup. If the pulses are slow then it will sense them, but as the flow rate increases it stops reading.

I suspect the amplitude of the pulse is not enough to trigger the input even on low threshold setting. Any ideas? it is a single ended magnetic pickup with two wires, one wired to ground and the other to digital input 7.

Thank You
Jesse

Thank You Roger, I figured it was not too difficult, but now I am having trouble consistently reading the magnetic pickup. If the pulses are slow then it will sense them, but as the flow rate increases it stops reading. I suspect the amplitude of the pulse is not enough to trigger the input even on low threshold setting. Any ideas? it is a single ended magnetic pickup with two wires, one wired to ground and the other to digital input 7. Thank You Jesse

Never mind, it does not work if the ground is not connected to the logger.

Thank you for all your help

Never mind, it does not work if the ground is not connected to the logger. Thank you for all your help
28
3
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft