예제 #1
0
void GCamera::ChangeGainFactor( double newGain )
{
	if(!m_IsOpened)
		return;
	double actualUsedGain = SetGainFactor(newGain);
	if(!gEqual(actualUsedGain, m_Gain))
		m_Gain.SetParamValue(actualUsedGain, false);
}
예제 #2
0
void GPxiBasicAnalogOutput::ChangeSetPoint( double newValue )
{
	if(!gEqual(newValue, m_SetPoint)) 
		m_SetPoint = newValue;

	if(UpdatePhysicalOutput(newValue))
		emit SetPointChanged(newValue);
}
예제 #3
0
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);
}