Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse out for every Nth pulse in using 6024E counter?

Is it possible to get (continuously)a pulse out of the 6024E counters for every Nth pulse of an external signal going to the source pin? A VI and the description of the connections will be appreciated.appreciated
Scientia est potentia!
0 Kudos
Message 1 of 3
(2,464 Views)
What you want to create is called a "Frequency Divider". Do a seach on the Dev Zone, and you will see some results.
0 Kudos
Message 2 of 3
(2,464 Views)
Hi magvar,

Depending on your application development environment (ADE) API (LabVIEW, CVI, VC++ etc.) you will want to configure the counter for continuous pulse generation. There are two pulse specs that you have to configue. The first configures the delay in number of edges of your source and the second configures the width of your pulse. Therefore if you set pulse spec (ND_COUNT in C code) 'A' to N/2 and pulse spec 'B' to N/2 then your pulse train will output a pulse every Nth pulse on the source.

Each ADE will have a shipping example that demonstrates this configuration. These examples ship with NI-DAQ and can be found in the NI-DAQ folder of National Instruments unless it is LabVIEW or CVI in which case it should be in their respective direc
tories. Hope that helps. Have a good day.

Ron
0 Kudos
Message 3 of 3
(2,464 Views)