ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

irregular pulse train

In my DAQmx, I am using continuous acquisition while generating in DAC and ADC.

As a trigger signal, a counter signal sychronized with DAQ was used to control wave generator.

  

Can I make the irregular counter signal like attachment or use some concept like retriggering in generator?

I am asking about concept.

 

Labmaster.

0 Kudos
Message 1 of 2
(2,837 Views)

I can think of a couple of ways that you may be able to perform this type of operation.  First, you could use a digital pattern generation, and regenerate that pattern.  You would have to have a faster sample clock, so that each pulse would be more than one sample on the digital line.  (For example, perhaps your complete pattern could be 20 samples: 7 high, 3 low, 2 high, 8 low, and then that would repeat.) 

The other way to perform this would be using the buffered counter output functionality on X-series devices.  This allows you to pass a buffer of counter samples, with each sample consisting of a frequency and duty cycle.  If you use implicit timing, then it will output one cycle of each before moving to the next sample in the list. 

 

-Christina

0 Kudos
Message 2 of 2
(2,804 Views)