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

Counter logic confirmation

$
0
0

G'day,

 

I'm coming here from this post, with the aim of confirming my understanding of counters in Labview.

 

I've tried to build stable, accurate square wave output waveforms using software timing, which isn't going to work for my application. As such, I'll be selling my PCI-6509, and replacing it with either a PCI-6601 or 6602. What I'd like to confirm is the following; can each counter task in Labview (I'm using 2014) be used for multiple digital outputs (DAQmx Write)? My understanding is the counter can be used to increment a shift register, so I can change (during runtime) the frequency of two separate DO channels by changing their respective rate of going HIGH/LOW as the shift register increments.

 

I.e. the rate of change of the shift register is static, and determined by the hardware clock on the PCI card (e.g. 100kHz). SquareWave1 might toggle HIGH/LOW every 100th increment, whereas SquareWave2 might toggle HIGH/LOW every 200th increment. These numbers (100, 200) could be controlled (during runtime) with a slider, gauge, etc.

 

Is my understanding correct? I'm trying to gauge whether I'll need the 4-counter (6601) or 8-counter (6602) card, as I'll certainly need more than 4 accurate square wave outputs. If my understanding is NOT correct, I'll opt for the 6602. If my understanding is correct and I can share a single counter with multiple DAQmx Write events, then the 4-counter card will be sufficient.

 

Thanks!


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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