Hello,
First of all I have to say that I'm more or less a noob in VC++ programming with the MFC as well in using the DAQ Multifunction card...

I started from the ANSI C++ example: VC_VoltUpdate.dsw and created a single read and write operation and a speed test loop (speed_kurztest_einzelne_samples.dsw).
The result of around 13 microseconds is in the axceptable range from 10 up to 20 microseconds...
now I wrote a GUI-version in which a thread does exactly the same code but is much slower then I excpected, around 3ms, but it should be in the same range (test.dsw).
In the attached zip-file are the two examples.
I also wrote a GUI-version without any thread, but it didn't change any thing.
The test.dsw example thread loop without any read/write operations is much faster(around 2 microseconds)...
so I think it's something wrong with including the NIDAQmx??????
If you have any idea what I'm doing wrong, please let me know!
Regards,
Tonio
Message Edited by TGsell on 10-19-2005 07:38 AM
Message Edited by TGsell on 10-19-2005 07:42 AM