Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQPad 6015 and Visual C++

Hello all, I need some help about a problem with a C++ program that must acquire 2 Analog inputs of my DAQPad 6015.
I have written the code that works perfectely when in Debug mode.
When I try to run the program in Release mode only the first channel is read correctely while the second seem
to produce a signal the resemble the correct one but is not the true one.
I Use the same hardware configuration so the problem is not in the signal connection.
The program is written using Visual Studio 2003 and I have installed th DAQmx version 8.7.1f3
Is there anyone able to help me?
 
Thanks in advance
Gabriele Salvato
0 Kudos
Message 1 of 2
(2,751 Views)

Hello All,

Solved !

memcpy() for overlapping memory transfer acts differently in Debug and Release Mode.

Changed in memmove() and things are now well behaving.

Bye

0 Kudos
Message 2 of 2
(2,740 Views)