LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital input/output on same counter

Hi,

 

I need to measure the frequencies of 8 incoming digital signals and I need to generate 4 digital signals as well. Either way the highest frequency is 250-300 kHz, the lowest is at approximately 3.9 kHz - 3kHz.

 

I have two PXIe-6358 cards and I would like to do it with their eight 32-bit counters. As far as I'm concerned I can measure the digital signal frequency if I connect the incoming signals to the source terminals of the counters. And I can generate signals if I use the output terminals of the counters.

 

Say I have a 250kHz incoming signal and I have to generate 3.9 kHz and I would like to do it on the same counter. For the measurement I need then 18 bits and for the generation I have 14 bits left on the counter.

 

I'd like to know if it is possible to measure the frequency of an "incoming" digital signal and to generate an "outgoing" digital signal at the same time.

 

Thanks.

0 Kudos
Message 1 of 3
(2,768 Views)

Don't understand at all your comment about the bits but if you configure a counter channel to measure frequency, you can only do that until you stop that task and reconfigure. You have dedicated digital lines to output a timed pattern, you have timed analog output lines, and you have have analog input channels that you can use to measure frequency.

Message 2 of 3
(2,755 Views)

True. If I use the analog outputs it actually solves all my problems. I measure the frequencies on the counters and generate the signals on the analog outputs. Thanks for the suggestion!

0 Kudos
Message 3 of 3
(2,743 Views)