03-14-2016 07:13 PM
I want to output a digital pulse on my USB 6501. Since this hardware doesn't have a counter/timer built in, I have to use a software based apporach to generate pulses. How can I generate a digital pulse to a specific digital line given N samples, and a specific amount of high and low time (ex: 50ms).
Until now I have been using the Express VI / DAQ Assist to communicate with USB 6501. Express VI / DAQ Assist doesn't give me an option to gerenate pulses to a specic line using software timer.
Attached is my apporached to create software pulses. However, I am pretty sure my method inefficent. It would be great if someone can show me on to improve my code.
03-15-2016 12:44 AM
03-15-2016 08:43 AM
Yes I looked through examples, however, I don't think I was able to find somehting
03-15-2016 09:39 AM
03-15-2016 10:15 AM
I didn't find an example for software timed pulses at digital output. However, I modifed the example for "Digital- SW-Timed Output.vi". I modified this VI to create my own software timed pulses. It works. However, it would be great if someone can confirm if I am using the correct efficent apporach generate the software timed pulses.
See attached.