From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for VC++

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
(2,616 Views)
See
http://exchange.ni.com/servlet/Redirect?id=8478667

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