01-25-2007 04:50 PM
01-26-2007 01:49 PM - edited 01-26-2007 01:49 PM
Hi,
Thank you for posting to the NI forums. You should be able to output on two counters with separate timing sources. I’ve done just this using an M Series DAQ device and the DAQ Assistant’s auto-generated LabVIEW code. The screenshot to this VI is attached below.
I hope this helps. Please post back if you have further questions.
Ed W.
Applications Engineer
National Instruments
Message Edited by Ed W on 01-26-2007 01:50 PM
Message Edited by Ed W on 01-26-2007 01:50 PM
Message Edited by Ed W on 01-26-2007 01:51 PM
01-26-2007 02:02 PM
01-29-2007 11:15 AM
Hi,
Which DAQ device are you using? If your device only has two counters, then you’ll have to use continuous generation on both of the counters – finite generation requires two counters. This information can be found in the DAQmx Help under Key Concepts >> Counters >> Paired Counters.
Ed W.
Applications Engineer
National Instruments
01-29-2007 06:05 PM
01-30-2007 09:45 PM
Hi,
Your M Series device will work for this type of application. There is an excellent tutorial online with screenshots of sample code that demonstrates just this. Check out the following Developer Zone document, and post back if you still have problems generating a PWM after using the example LabVIEW code shown in the tutorial.
Pulse Width Modulation (PWM) Using NI-DAQmx and LabVIEW
I hope this helps!
Ed W.
Applications Engineer
National Instruments