Returns the wavelength value in nanometers for a specific band.


int miraacq_GetFrameWavelength(makernelpma, int bandInd, double* pWavelength);


Parameters:

  • pma: A pointer to the acquisition kernel returned by miraacq_Init.
  • bandInd: The band index to get the wavelength value for, must be less than miraacq_GetFrameBands.
  • pWavelength: The wavelength value in nanometers for the requested band.


Return value:

MIRA_OK (0) or an error code.


Description:

miraacq_GetFrameWavelength will return the wavelength value of a specific band in nanometers, it requires that acquisition has been initialized using miraacq_InitializeAcquisition and that the camera supports retrieving wavelengths (miraacq_CanReturnWavelengths).