Are you using IRQ and DMA? Check to make sure DMA is used and not iqnored,
also check that IRQ is not shared. The board might be waiting for another
board to clear.
Janusz Lekki wrote in message
news:38C50045.1E5E6495@ifj.edu.pl...
> Hi all,
>
> Subject says it all. I have an old DAQ software written in MSC 7.0
> for 16 bits Windows, running reasonably fast on Win95 machine (
> AT-MIO16L9
> and AT-AO6 boards ).
> Recently I decided to upgrade my code to W32, using DAQ 6.1
> and Visual C++. Not many source code changes were needed.
>
> But to my surprise DAQ speed dropped by an order of magnitude or so !
> In the program I am mostly using simple AO_Write and AI_VRead functions,
> but the same effect is for more sophisticated ones.
>
> I wa
s suspecting the OS problem and played with setting the
> process priority to realtime, but with no success.
>
> Can anybody tell me where am I making an error ?
> Configuration utility tests say that all is OK.
>
> Thanks in advance,
> JL
>
> ------------------------------------------------------------------
> Dr. Janusz Lekki e-mail:Janusz.Lekki@ifj.edu.pl
> Inst. of Nuclear Physics, Cracow
> tel. (+48-12) 637-02-22 x.271, fax: (+48-12) 637-18-81
> ------------------------------------------------------------------