PET-7H16M Quick Use Manual P24
}
}
else
{
if(CHECK_BIT(triggerStatus,4) && HECK_BIT(triggerStatus,5) )
// An error occurred during the data recording process
{
break;
// break the loop
}
else
{
….
//Continued in the loop
}
}
}
}
}
HS_StopLogger(hHS);
//
Stop data logging
HS_Device_Release(hHS);
// Release the device from system
/*
Use the Data logger API function to read data log files */
HANDLE hlf;
TCHAR tcgetfulfilelPath[MAX_PATH]={0};
int ind=HS_GetAllLogFiles(NULL,1);
if(ind>0)
{
for(int i=0;i<ind;i++)
{
hlf=HS_LogFile_Open_byIndex(i,tcgetfulfilelPath);
DWORD samplecount;
char startdate[32],starttime[32];
HS_GetLogFile_AIScanSampleInfo(hlf,&samplecount,startdate,sta