This example can perform frequency measurements and triggering.
Counting pulses/edges per time with this example can be used to e.g. determine windspeed from an anemometer or as an alternative for PFI.
In the following, the block diagram of the variable sample time measurements is described.
DIAdem Base 2012 SP2 with DAC Kit (or compatible)
Decide wether a variable or a constant sample time better suits your application and download your chosen option:
I prefer the variable sample time, as this returns instant frequency measurements everytime a new pulse has been detected.
So now you are ready to grab some nasty measurements!
My example is also compatible to:
www.davisnet.com/product_documents/weather/manuals/07395-240_IM_06312.pdf
http://www.davisnet.com/product_documents/weather/manuals/07395-240_IM_06312.pdf
My example can also substitute the PFI functionality:
PFI Lines - NI Signal Generators Help - National Instruments
http://zone.ni.com/reference/en-XX/help/370524P-01/siggenhelp/integration_pfi_lines/
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Hi Eric,
thank you for the example. What do I do with your .DAC files? My LabView doesn't seem to read them.
Thanks.
Ivan