LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

retrigger counters

Hello,

I want to use a 1pps signal to retrigger two counters used to generate 1KHz and 100KHz signal. The 100KHz signal will be used externally and as the sampling rate for acquiring analog voltages.

I want to use PCI 6036E acquisition card from NI.

Is it possible to do the 2 signals generation and the acquisition of voltages at the same time?

How can I retrigger the counters?

Is it simpler to use the 100KHz signal for voltage acquisition internally or to connect the counter output to an analog input of the card?

Thanks for your time.
0 Kudos
Message 1 of 3
(2,841 Views)
Hi,

There will be no conflict ressources if you generate continuous pulse train on 2 counters and operate an analog acquisition on other channels. But remember that "This is a question linked to the internal circuitry on the board. You are not allowed to have more than one task running (simultaneously) of the same type (like Analog input) because the internal circuitry is already reserved. The only way you will be able to do this is to add both channels you need to the one Analog Input task and read/write to the channel of interest at that point in the code. As you found out, digital is not in the same circuity, so it is allowed to be in a different task running simultaneously".

Besides, do not try to generate FINITE pulse train on 2 counters because you will get a ressources conflict : I mean, finite pulse train already uses 2 counters (one to generate and the other as a gate).

To help you about retrigger, look at the "Gen dig pulse-retriggerable.vi" located in Help/Hardware Input&Output/DAQmx/Generating digital pulse.
Finally, it is easier to use internal clock whereas signal coming from a counter as a clock.

Regards

David D.
AE - NI France
0 Kudos
Message 2 of 3
(2,822 Views)
Thanks a lot for your answer David
0 Kudos
Message 3 of 3
(2,816 Views)