© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
293
INT nRet = is_IO(m_hCam, IS_IO_CMD_FLASH_GET_GLOBAL_PARAMS,
(void*)&flashParams, sizeof(flashParams));
if (nRet == IS_SUCCESS)
{
INT nDelay = flashParams.s32Delay;
UINT nDuration = flashParams.u32Duration;
}
// Read the global flash params and set the flash params to these values
INT nRet = is_IO(m_hCam, IS_IO_CMD_FLASH_APPLY_GLOBAL_PARAMS, NULL, 0);