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

PXIe-6612 Counter Card Example Code

$
0
0

Hi All,

 

I have just taken delivery of a couple of 6612 Counter Cards and am having some problems getting them to work from my C code.

 

Has anybody got an example C code that covers setting up a task, clock, edges, etc then getting a count value out of a specific counter?

 

I believe that I am calling all the right functions to setup the above, each one returns 0 (no error) but when I try to start the task, I get an error code suggesting that the task is incorrectly configure.  I must be missing some important step?

 

Any code/advice/pearls of wisdom for these cards would be most welcome.

 

Cheers,

 

Adrian


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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