Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform generation does not work continuously

Hello!
I tried to use component CWAO (Measurement Studio) for continuous waveform generation. It worked correctly, but It did not work continuously. Time to interrupt is variable.

I didn't find cause, therefor I used API functions for Delphi according to example for Borland C. Generation of signal is stoped too. Function WFM_ Check returns -10843 after that. It means UnderFlowError and I don't uderstand why.

We use CWAI with Delphi long time and It woks properly.

Could you give me any advice? I enclose setting of CWAO and parameters of APIs.

Thank You in advance.

Pavel

NI DAQCard-6024E
driver NI-DAQ 6.9.3
Delphi 6
Windows XP, 98
0 Kudos
Message 1 of 3
(2,761 Views)
Hi Palo,

The error you're encountering is a result of the computer bus not being able to update the output buffer with new data to keep up with the update frequency. Try reducing the update rate to see if the problem still occurs. You can find further details from the article below:

Error -10843 When Doing Analog Output Using My PCI E-Series Board

Thanks,
Lesley Y.
0 Kudos
Message 2 of 3
(2,750 Views)
Hi Lesley.
You are right. The problem is propably with PC service of PCMCIA bus.
I found out, that our DAQCard 6024E does not have a FIFO for analog output :o(
Furthermore DAQCard 6024E does not support DMA operations :o(

Therefore analog output of DAQCard 6024E for waveform generation is almost unusanle!

Thank you a lot.

Palo
0 Kudos
Message 3 of 3
(2,727 Views)