Return wavelength in nanometers for a specific spectral band


int miraacq_GetFrameWavelength(makernel* pma,int bandInd,double* pWavelength);


Input: 

  • Runtime environment pointer
  • bandInd - integer index of a spectral band (zero-based i.e. 0.. number of bands -1 )
  • pWavelength- pointer to a double-precision value (to output the wavelength value in nanometers)


Output: Result: MIRA_OK or error code


After the acquisition is successfully initialized by miraacq_InitializeAcquisition this function allows one to iterate over all spectral bands and retrieve the respective wavelength information.