PET-7H16M Quick Use Manual P21
}
if(ulleng==targetCnt)
//The total sample of data in the buffer
reaches the target count
{
unsigned long size=targetCnt;
readsize=HS_GetAIBufferHex(hHS,(WORD *)dataBuffer,size);
// Read the N sample of data from the buffer
}
}
HS_StopAIScan (hHS);
// Stop data acquisition
HS_Device_Release (hHS);
// Release the device from system