LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Frequency of a pulse output sensor

Hi Guys,

 

I have a sensor that puts out pulses depending on the amount of flow (it's a flow meter). I hooked up an oscilloscope and it looks like the frequency is always around 30 Hz. I have a break out box (SCC-68) that does not have a counter input, just analog and digital. Is it best to use the digital input or analog input to measure the frequency of the signal in Labview which in turn translates into some flow units? Thanks! 

0 Kudos
Message 1 of 7
(4,617 Views)

Frequency of the signal is 30Hz and hence you should be able to use the digital input and can create a software counter. Take care that the clock of the DI is comfortably a low value compare to the freq signal  you are measuring (e.g period of your signal is 33ms and the DI period should be atleast 500 us).  If the signal frequency is too close to the clock value of DI input then you there is a possiblity to miss the counts.

 

After getting the counts scale the counts to flow as per the specifications of the manufacturer.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
0 Kudos
Message 2 of 7
(4,605 Views)

 I have a break out box (SCC-68) that does not have a counter input, just analog and digital.


If your DAQ unit has counter functions they will be available at screw terminals. Which device do use?



Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 3 of 7
(4,587 Views)

Thanks for the replies guys. I'll try to implement a software counter on a digital input.

 

t06afre, I am using an SCC-68 screw terminal and unfortunately, it is the series without a counter input. It has digital and analog inputs only. 

0 Kudos
Message 4 of 7
(4,576 Views)
Are there any examples on how to do the software counter? I can't seem to find any.
0 Kudos
Message 5 of 7
(4,547 Views)
Please tell us which DAQ bord you use.


Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)
0 Kudos
Message 6 of 7
(4,527 Views)

Hi,

Just connect the digital waveform to the digital input of the daq board->create a digital task for that DI->monitor when the pulses turn true->increment when there is a high on that line.  Add a reset button to reset the the pulse cout.  Just a simple programming but with strict timing implementation would serve the purpose.

With regards,
JK
(Certified LabVIEW Developer)
Give Kudos for Good Answers, and Mark it a solution if your problem is solved.
Message 7 of 7
(4,518 Views)