Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Wfm_from_disk

I am running the Function WFM_from_disk to generate a waveform using a PCI-6713 board ,I get the error –10881 when the file size is greater than 65536 samples. Why is this happening and how do I avoid it?

error: 10881 partialTransferCompleteError You cannot do another transfer after a successful partial transfer.
I am using Delphi and NiDaq 6.9.2

Function OutFromFile(FName : String ; NbChans: Integer ;dUpdateRate: f64 ;ulIterations: u32): Integer ;
begin
iDevice:= 1;
iNumChans:= NbChans;
ulStartPt:= 1; // Demarre au 1er octet
ulEndPt:= 0; // Jusqu'a la fin du fichier
lTimeout := -1; // Pas de timeout
iStatus := Timeout_Config(iDevice, lTimeout);
iStatus := WFM_from_Disk(iDevice, iNumChans, @piChanVect, PChar(F
Name)
, ulStartPt, ulEndPt, ulIterations, dUpdateRate);
OutFromFile:= IStatus ;
end ;
0 Kudos
Message 1 of 4
(3,275 Views)
This question doesn't involve Measurement Studio. You would get a better response for this question in the Multifunction I/O section of Developer's Exchange here.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 4
(3,275 Views)
This is a known bug in NI-DAQ. National Instruments is actively working to fix the issue. As a temporary workaround, you may try segmenting the data to avoid the upper limit. You may also use the standard waveform calls and write your own file I/O functions.

regards,

Eric Meyer
National Instruments
0 Kudos
Message 3 of 4
(3,275 Views)
Has this bug been fixed yet?
0 Kudos
Message 4 of 4
(3,275 Views)