src/GamIO/XWinAcqPar.cc
/* These functions take care of any errors encountered when reading, writing,
   and setting parameters in Bruker acquisition parameter files.

        Input		eidx    : Error index
        		pname   : Additional error message
        		noret	: Flag for linefeed (0=linefeed)
        Output		void    : An error message is output                 */
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition parameter files.

Input           eidx    : Error index
pname   : Additional error message
noret   : Flag for linefeed (0=linefeed)
Output          void    : An error message is output
These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition parameter files . Input eidx : Error index pname : Additional error message noret : Flag for linefeed ( 0 = linefeed ) Output void : An error message is output
void XWinAcqPar::XWinAcqParerror(int eidx, int noret) const
  {
  string hdr("XWinNMR AcqPar Parameter File");
  switch (eidx)
    {
    case 19: GAMMAerror(hdr,"Cannot Get Acquisition Params", noret); break; 
    case 20: GAMMAerror(hdr,"Cannot Parse Bruker Parameters",noret); break; 
    case 21: GAMMAerror(hdr,"Cannot Determine 1D Data Size",noret);  break; 
    case 23: GAMMAerror(hdr,"Cannot Find Spectrometer Freq.",noret); break; 
    case 24: GAMMAerror(hdr,"Cannot Determine Spectral Width",noret);break; 
    case 25: GAMMAerror(hdr,"Cannot Write Parameters To File",noret);break; 
    case 26: GAMMAerror(hdr,"Delay Time Index Must Be [0,31]",noret);break; 
    case 27: GAMMAerror(hdr,"Cannot Have Negative Delay Time",noret);break; 
    case 28: GAMMAerror(hdr,"Pulse Length Index Outside [0,31]",noret);break;
    case 29: GAMMAerror(hdr,"Cannot Have Negative Pulse Length",noret);break;
    case 30: GAMMAerror(hdr,"Channels Must Be Labeled [1,8]", noret);break; 
    case 31: GAMMAerror(hdr,"No Spectrometer Field Specified",noret);break; 
    case 32: GAMMAerror(hdr,"Set Spectrometer Field Using B0",noret);break; 
    default: GAMMAerror(hdr, eidx, noret); break;
    }
  }
void XWinAcqPar :: XWinAcqParerror ( int eidx , int noret ) const { string hdr ( " " ) ; switch ( eidx ) { case 19 : GAMMAerror ( hdr , " " , noret ) ; break ; case 20 : GAMMAerror ( hdr , " " , noret ) ; break ; case 21 : GAMMAerror ( hdr , " " , noret ) ; break ; case 23 : GAMMAerror ( hdr , " " , noret ) ; break ; case 24 : GAMMAerror ( hdr , " " , noret ) ; break ; case 25 : GAMMAerror ( hdr , " " , noret ) ; break ; case 26 : GAMMAerror ( hdr , " " , noret ) ; break ; case 27 : GAMMAerror ( hdr , " " , noret ) ; break ; case 28 : GAMMAerror ( hdr , " " , noret ) ; break ; case 29 : GAMMAerror ( hdr , " " , noret ) ; break ; case 30 : GAMMAerror ( hdr , " " , noret ) ; break ; case 31 : GAMMAerror ( hdr , " " , noret ) ; break ; case 32 : GAMMAerror ( hdr , " " , noret ) ; break ; default : GAMMAerror ( hdr , eidx , noret ) ; break ; } }
These functions take care of any errors encountered when reading, writing,
and setting parameters in Bruker acquisition parameter files.
These functions take care of any errors encountered when reading writing and setting parameters in Bruker acquisition parameter files .
// (19) // (20) // (21) // (23) // (24) // (25) // (26) // (27) //(28) //(29) // (30) // (31) // (32) // Usually Unknown Error  (-1)