07-11-2008 06:54 AM
07-11-2008
09:01 AM
- last edited on
03-06-2025
08:59 AM
by
Content Cleaner
Offhand, I'd think the PCI-6602 might be just the ticket. It's got 8 counters and you can control your PWM freqs and duty cycles independently and update them on-the-fly without stopping.
You can check the shipping examples for "generating digital pulses" or search the site for stuff like this or this.
-Kevin P.
07-11-2008 09:06 AM
07-14-2008
03:53 PM
- last edited on
03-06-2025
09:00 AM
by
Content Cleaner
Hi Marek,
Are you going to generate continuous pulses or were you planning on generating a finite pulse train? The finite pulse train requires 2 counters for each pulse train but a continuous pulse train can be done with 1 counter per pulse train. I would recommend that you look at the ANSI C examples as a guide for programming the device in C++. I have also included a link to a KnowledgeBase that discusses the location of the examples. I would also recommend that you reference the NI-DAQmx C Reference Help that can be found by going to Start>>Programs>>National Instruments>>NI-DAQ>>NI-DAQmx C Reference Help. This is a very useful guide for programming your DAQ device in a C language.
Location of ANSI C NI-DAQmx Shipping Examples and DAQmx Library File for Windows
https://www.ni.com/en/support/documentation/supplemental/18/location-of-ansi-c-ni-daqmx-shipping-exa...
07-14-2008 04:27 PM
I would like to generate a continous pulse train that I can vary the frequency of while it is running.
07-15-2008 12:58 PM
Can't help with any C programming syntax, but can verify that the 6602 board and the free DAQmx driver definitely *do* provide you the ability to generate 8 independent continuous TTL PWM signals, and you can vary the freq / duty cycle on the fly without stopping.
-Kevin P.