void GCamera::ChangeGainFactor( double newGain ) { if(!m_IsOpened) return; double actualUsedGain = SetGainFactor(newGain); if(!gEqual(actualUsedGain, m_Gain)) m_Gain.SetParamValue(actualUsedGain, false); }
void GPxiBasicAnalogOutput::ChangeSetPoint( double newValue ) { if(!gEqual(newValue, m_SetPoint)) m_SetPoint = newValue; if(UpdatePhysicalOutput(newValue)) emit SetPointChanged(newValue); }
void GCamera::ChangeExposureTime( double newExpo ) { if(!m_IsOpened) return; double actualUsedExpo = SetExposureTime(newExpo); if(!gEqual(actualUsedExpo, m_Expo_ms)) m_Expo_ms.SetParamValue(actualUsedExpo, false); }