Hello Ilya,
The error explains the problem "error getting spectrum
empty scan object". The error is referring to the follow bit of
code:
215 MH::BDA::IBDASpecData* MHDACWrapper::GetSpectrum
(MH::IMsdrDataReader* pMSDataReader,
216 double retentionTime,
217 MH::MSScanType scanType,
218 MH::IonPolarity ionPolarity,
219 MH::IonizationMode ionizationMode,
220 MH::IMsdrPeakFilter* filter,
221 VARIANT_BOOL* filterOnCentroid)
222 {
223 MH::BDA::IBDASpecData* specData = NULL;
224 COMCHECK(pMSDataReader->GetSpectrum_7(
225 retentionTime,
226 scanType,
227 ionPolarity,
228 ionizationMode,
229 filter,
230 *filterOnCentroid,
231 &specData),
232 "error getting spectrum");
233
234 return specData;
235 }
The failure is on a COM object call to an Agilent software library
function call. Are you sure there is actual data in the file you are
giving to trapper to convert? Have you opened this data file in an
agilent viewer? Would you mind posting your raw data to our FTP site
(instructions here
http://tools.proteomecenter.org/wiki/index.php?title=TPP:Frequently_Asked_Questions#How_do_I_upload_files_to_the_SPC_tools_team.3F)?
We can then try to reproduce your problem in a debugger to find the
cause of failure.
-David