ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

Using DAQ events for processing PWM signal (VC++)

How can I process Pulse Width Modulation signal (Analog Input) with Sample Rate=100, counter Clock rate=1MHz in real-time? Simple reading is not suitable (Scan_op() work very long). I try use DAQ events to detect signal rise and down (Config_DAQ_Event_Message Event type -3/4) but at start asynchronous DAQ operation I have error DMA is not allowed.
There is my code file...HELP!!!
0 Kudos
Message 1 of 2
(6,942 Views)
See
http://exchange.ni.com/servlet/Redirect?id=8478667

Regards
Filipe A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(6,942 Views)