Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

acquire on a single pulse on each cycle revolution

Hi. I want to develop a data acquisition vi to acquire data on a specific pulse in a cycle for a number of cycles. I have tried acquire on the Nth pulse example but I have a problem because the divide down counter doesn't reset on the rising edge of a signal indicating the beginning of a new cycle. (Hardware used PCI-6602 and E-series)
I will appreciated it greatly if anyone can provide me with any help, since I am relatively new with LabView but I have a deadline to meet. Thanks
0 Kudos
Message 1 of 5
(3,772 Views)
Hello,

Use the Generating a Pulse Every Nth Source Edge example program to generate a trigger pulse on the counter output after X number of pulses. Use this pulse as your trigger signal with one of the Finite Analog Input Digitally Triggered shipping examples. Wire the counter output to the trigger line. Set the Analog Input up as externally clocked so you can use your pulse train as the scan clock. This should let you acquire M scans with your pulse train as the clock starting after N pulses have gone by.

I hope this helps!

Russell
Applications Engineer
National Instruments

http://www.ni.com/support
0 Kudos
Message 2 of 5
(3,772 Views)
Thank you for the answer.
I have checked the Generating a Pulse Every Nth Source Edge example. However, what i really want to do is to retrigger this counter every time a rising edge on another counter indicating the begining of a new cycle, and in this cycle which has a signal generating 2880 pulses, to trigger a single pulse on a specific pulse in every cycle (not on every Nth pulse and triggered only at the beginning of cycle 1).
I tried to change the options of this VI to retriggerable pulse generation or to generate a single pulse and then reset the counter in a separate loop - nested - but it doesn't work. Any suggestions?
Thank you for the support. It is really important to make this part to work.
0 Kudos
Message 3 of 5
(3,772 Views)
I don't want to misunderstand so I think it would be best if you could upload a timing diagram that outlines what happens when. That way I can also get an idea about how fast this all has to happen.

-Russell
0 Kudos
Message 4 of 5
(3,772 Views)
Thank for your support. I hope that the attached brief explanation makes clear what I want to achieve. I hope that you can suggest me a solution, since I have spent too much time on this, with no useful results.
0 Kudos
Message 5 of 5
(3,772 Views)