Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

PCI-6221 Frequency Measurement

$
0
0

Hi all,

I am currently trying to create a vb program to create a task to read a 0-5V TTL signal from my sensor and read the frequency of the signal continuously. The frequency will be dynamic so I cant just use the ctr0 to count on edge (0-250Hz max). I have tried using the examples given although they do not return any measurements. 

How should I wire this? Could somebody give me a rundown on the visual basic examples such as the LowFrequencyCtr or the one for period measurement because im not entirely sure how they work. The Countdigitalevents example was easy to understand becuase it only required a looptimer although the more complicated ones use callback functions which confuse me.

 

Thank you.

Tom.

 

 


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>