Hi Kristi,
unfortunately, no. I can not use the high level LabView VI's, because I need the pointer to the AI double buffer. The only way to get this pointer is to define it through NIDAQ DLL calls. As I can't combine the higher level VI's (which are Task ID orientated) and low level NIDAQ-DLL calls (which are device numer orientated) I am forced to set up my entire acquisition in low level DLL calls. It's a pity that NI chose to use the LVDAQ wrapper DLL for their NIDAQ calls, otherwise a hybride approach would have been possible.
You may ask why I need the pointer to the acuisition buffer. I need to read a segment of data every N samples, but also need that data in a circular buffer which will be something like 5N in size. I
is possible to use high level VI's, but that means I would have to create, fill and maintain my own circular buffer. This would mean extra copies of data and extra processor capacity, when all I have to do now is keep track where the data is written in the acquisition buffer en read the required segment.
So, sorry, we can't work around the problem. But I assume there has to be a logical explanation why I get the -10003 error.
Walter