LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Count Pulses in Labview without a counter function

Hi All

 

Is it possible to count input pulses without a counter function?

I am using a Mydaq which only has one counter and it only counts up

 

If I can count without a counter function, I can achieve all I need to achieve.

I would need to be able to count up and down do

 

Please advise if this is possible and if so, how.....

 

Regards

Greg

0 Kudos
Message 1 of 7
(2,868 Views)

Got it Sorted...

0 Kudos
Message 2 of 7
(2,853 Views)

How? Can you please explain or help.

0 Kudos
Message 3 of 7
(2,261 Views)

I assume he found myDAQ's counter an count in both directions. Here is some more information about it: How Do I Use the NI myDAQ Counter?

Does this answer your question?


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
Message 4 of 7
(2,245 Views)

Thank you for the reply but my query was if i can use other digital inputs as counters... As my daq has only one counter and i need to count pulses for 5 different inputs...

 

I am looking for solution in LabVIEW...

 

 

0 Kudos
Message 5 of 7
(2,242 Views)

Hi rishavpreet,

 

can myDAQ read DI signals with hardware timing?

Then set a sample rate large enough for your pulse signals, read those DI signals and count the pulses on your own from those digital waveforms…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 7
(2,231 Views)

Hi GerdW

 

Thank you,

Solved it using Boolean PtbyPt block.😊

 

Regards

Rishav Preet

Message 7 of 7
(2,228 Views)