Get the number of spectral bands of the data returned by the sensor


int miraacq_GetFrameBands(makernel* pma);


Input: 

  • Runtime environment pointer


Output: Number of spectral bands if > 0 or an error code if < 0


After the acquisition is successfully initialized by miraacq_InitializeAcquisition this function returns the number of spectral bands returned in each acquisition step