Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Multiple Channel Pulse Generation

$
0
0

I need to generate a single pulse on two channels with precise timing to trigger lab equipment. Please see image below. I haven't found any examples with multiple channel pulse generation. 

 

Hardware: 

We are currently using a myDAQ. We also have a NI-9401 digital IO module but supervisor would prefer to use myDAQ if possible.

 

Work so far:

(Please see LabVIEW attached)

I've tried writing a LabVIEW program using two "ctr" (so it wouldn't run on myDAQ). Channel 2 triggers off channel 1. One issue already is that initalDelay2 must be greater than initialDelay1. I haven't been able to test it but I do have an error with simulated hardware (ERROR: "Lines 0 through 3 of this port are configured for input. Cannot configure these lines for output at this time.")

 

Questions:

1. Can myDAQ be used? Or do we need multiple "ctr" (e.g. NI-9401)

2. Am I on the right track? (considering adding analog input and other control later)

 

Thanks!

Pulse Diagram
Pulse_Generationd.png


Viewing all articles
Browse latest Browse all 1271

Trending Articles



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