06-13-2011 12:40 AM
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
Solved! Go to Solution.
06-13-2011 01:25 AM
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
06-13-2011 10:13 PM
Thank you!
02-17-2012 09:59 AM
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?
03-29-2012 05:22 AM
I have one query regarding labview programming. Where i ll tag my question