03-13-2012 07:20 AM
Looking for example c code to genrate a single pulse from an external rising edge trigger with the 6610.
Want to be able to control the pulse width, no delay.
Thanks.
Solved! Go to Solution.
03-14-2012 05:04 PM
Hi Doug^2,
There are lots of great examples installed on your computer with your NI software. If you go to your Windows Start Menu > All programs > National Instruments > NI-DAQ > Text-Based Code Support > ANSI-C Examples. From here it sounds like you want to go to Counter > Digital Pulse and find your appropriate example.
Best of luck!
03-14-2012 05:09 PM
Perfect.
Thank you!
03-14-2012 05:17 PM
On further inspection, the example does not use an external trigger.
Suggestions?
03-15-2012 10:15 AM
Doug^2,
Based on what you're trying to accomplish, it's tough to give you the exact code you need, but I did fine this example which may get you started. http://zone.ni.com/devzone/cda/epd/p/id/908
Also, there are a lot of other examples in that directories I navigated you to before that may be helpful. Check the Analog Input directory.
Best,