Hi,
i'm trying to develop an application that acquires 8 digital signals
using a daqcard 6533 pcmcia. I'm using winxp, visual studio .net, and
traditional NIDAQ, since apparently this card is not supported under
nidaqmx (is that correct?).
Acquisition is software-triggered via a gui event, and is performed
continuosly at a sampling rate of 10Khz. Stop occurs after user input.
I'm using the example program DIdoubleBufPatternGen653x.c as a template, but i would need a few clarifications:
1) Why the circular acquisition buffer is declared within the program
(i.e., in main computer memory). It should not be a card buffer? Also,
is it correct that the "useful" data are only contained in the half
buffer returned by DIG_DB_Transfer function? In other words, this is
the only buffer of my concern, right?
2) I'm using a group of size 1 (1 port, grp 1). I would expect
that the half buffer need to be half the size of the circular
buffer. However, after every DIG_DB_Transfer operation, at most a
buffer of size 1/4 of the circular buffer is filled with "useful"
data..the rest is 0. What am i missing?
Thanks for any help or suggestion, and please forgive me if used
inappropriate language, since i'm not expert in data acquisition
problems.
walter