Quantcast
Viewing all articles
Browse latest Browse all 2182

Pulse train generation using NI 9403

Hi all,

 

I have to generate pulse trains using cDAQ 9178 and NI 9403 DIO module. I want to out pulse train on two lines (line 0 and line 1) after selecting lines on Front panel ( a boolean switch maybe). So far I have written a program to generate pulse train on single line. I am not able to reduce the period below 2 ms.

(1) How to output pulse trains on two lines (one at a time)? The line selection should be done on front panel. I used case structure but then even single channel won't output.

(2) Why do the cycle period limits at 2 ms? Is there some mistake in my code? I tried using wait(ms) function but same result.

 

 


Viewing all articles
Browse latest Browse all 2182

Trending Articles



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