How to generate high frequency TTL pulse with NI usb-6501
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello, i try to generate TTL pulse around 10 MHz with a Nuclear Instrument usb-6501. Actually,I tried with:
s = daq.createSession('ni');
s.addDigitalChannel('Dev1','port2/line7','OutputOnly');
for i = 1:10
outputSingleScan(s,[1])
pause(0.0000001)
outputSingleScan(s,[0])
pause(0.0000005);
end
But the output frequency is about 10 Hz. I look for the counter functionality in the Matlab drivers, but i don't find them. Could someone help me?
Thank you in advance,
Paul
1 Commento
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!