Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2194

Trigger an output pulse every N input pulses

$
0
0

Hello. I am new to LabVIEW and DAQs; the examples and this forum are very helpful.

I am using a USB-6341 DAQ.

 

I have a digital input signal that I would like to use to trigger a digital output. I can use the Counter - Single Pulse Output example vi from the Help menu and it works as expected.

 

However, what I would like to achieve is to trigger the digital output only every N input pulses. eg only on odd input pulses, or only every 5th input pulse.

 

To achieve this I think I should count the input pulses. I can use the Counter - Count Edges example vi, which works as expected to count the imput pulses.

 

What I am not sure about: how can I wire the number of edges from the count edges such that it becomes a 'trigger' for a single pulse output?

 

If you have any suggestions, or relevant links to help me with my problem I would be very greatful.


Viewing all articles
Browse latest Browse all 2194


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>