Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

VI's for counters and timers.

Solved!
Go to solution

Can you please tell me how to use counters and timers in LabVIEW NI-DAQmx? I am new to this software and I want to know what VI performs the counter/timer task. In traditional DAQ VI's, I have seen a couple of counter and advanced counter VI's but they don't work. Please suggest me the appropriate VI's in NI-DAQmx.

 

Also, can you please advise me how to use timers and counters to calculate frequency of a square pulse? 

 

Thanks Smiley Happy

Dheeraj Bharadwaj
IIT-Madras
0 Kudos
Message 1 of 5
(6,681 Views)
Solution
Accepted by topic author dheeraj2102

Be sure you have DAQmx drivers installed. Then you can find many prepared examples in Help -> Find Examples, where you can browse to Hardware Input and Output -> DAQmx -> Counter Measurements. Here you can find many examples - you just need to specify the board you use, and connect signals properly to terminal block.

 

If you are looking for how the frequency measuremen is made, then I recommend you to see M Series User Manual (or E or X Series), Chapter 7 - Counters, section Counter Input Applications, part Frequency Measurement.

 

if anything doesn't work, it would be useful to specify what board do you use, what drivers you have installed and what you try to implement.

 

regards,

stefo

Certified-LabVIEW-Developer_rgb.jpg

0 Kudos
Message 2 of 5
(6,678 Views)

Thank you!

Dheeraj Bharadwaj
IIT-Madras
0 Kudos
Message 3 of 5
(6,666 Views)

i have a dude. I need to make a program, that when 10 minutes are pass I get a true, after 10 more I get false and then again true and then after 10 minutes more I get false. I don't know properly how to use labview I was trying to do it with timers (wait untill next ms multiple), comparison and numerical operation, but it is very duft I think that there is a comand for this task but I can find it, can you help me?

0 Kudos
Message 4 of 5
(6,512 Views)

I have one query regarding labview programming. Where i ll tag my question

0 Kudos
Message 5 of 5
(6,441 Views)