Hi there,
I'm sorry for my poor English, but it avoid me to correctly understand
the way the SCAN_Start function works.
I would like to draw some acquired signals from a 6023E
analogic/numeric card as soon as the values have been read
(each group of point have to be drawned at once).
I have 5000 points to acquire, at a scanning frequency of 1KHz. To
realize this, I currently use the following functions:
iStatus = DAQ_Rate(1000, 0, &iSampTB, &uSampInt);
iStatus = DAQ_Rate(10, 0, &iScanTB, &uScanInt);
iStatus = SCAN_Setup(g_Param.iPCI_6023E,g_shNbChannels,shChannelList,
shGainList);
iStatus = SCAN_Start(g_Param.iPCI_6023E, shData, 5000*g_shNbChannels,
iSampTB, uSampInt,iScanTB, uScanInt);
while ((usDAQStopped != 1) && (iStatus == 0))
{
iStatus = DAQ_Check(g_Param.iPCI_6023E, &usDAQStopped, &ulNbEchant);
/*Here, I just convert the values into Votages ...*/
}
I wonder if someone could explain me how to correctly use these
functions, so as I can realize a "real time display" of
these signals ...
My big problem is that I'm unable to configure the 6023E card so as it
scans my signals at the correct scanning frequancy.
Thanks a lot for your sooner help.
MANU