recently I encounter problems when using my cvi app with PCI6052E cards using the following cvi code:
Err = DAQ_Rate (MaxRate, 0, &Timebase, &Interval);
// error processing goes here
Err = DAQ_Rate (SampRate, 0, &ScanTimebase, &ScanInterval);
// error processing goes here
Err = SCAN_Start (Board, buffer, Nch * Nsamp, Timebase, Interval, ScanTimebase,
ScanInterval);
// error processing goes here
basically, this determines the parameters for the scan setup of my device based on the desired sample-rate (which is of course checked to be viable for the instrument) - this has been working well with any E series board so long - only with PCI6052E, scan_start
returns error
code 10052 even upon requesting moderate sample rates (~ 40 KHz), which is meant to be a 'warning'.
if I just ignore it and proceed, the data acquisition seems to work properly, but I'm not sure if this is ok.
anyone knows what's going on here ?
--
Once the game is over, the king and the pawn go back into the same box.