Closes a previously opened device.


int miraacq_CloseDevice(makernelpma, int deviceInd);


Parameters:

  • pma: A pointer to the acquisition kernel returned by miraacq_Init.
  • deviceInd: Device index to close, must have been opened with miraacq_OpenDevice before.


Return value:

MIRA_OK (0) or an error code.


Description:

miraacq_CloseDevice will close a device that has been opened previously using miraacq_OpenDevice.