You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ifm_CanAsymmetricBinThen'Carry out for all X and Y bin values
CameraExposure("",l_i,l_j,0,0,CInt((m_CameraXSize/l_i)+1),CInt(m_CameraYSize/l_j),0.1,"X size larger than binned chip size, Bin "&l_i&"x"&l_j):IfTestStop()ThenExitSub'X size too large for binned size
CameraExposure("",l_i,l_j,0,0,CInt(m_CameraXSize/l_i),CInt((m_CameraYSize/l_j)+1),0.1,"Y size larger than binned chip size, Bin "&l_i&"x"&l_j):IfTestStop()ThenExitSub'Y size too large for binned size
CameraExposure("",l_i,l_j,0,0,CInt((m_CameraXSize/l_i)+1),CInt(m_CameraYSize/l_j),0.1,"X size larger than binned chip size, Bin "&l_i&"x"&l_j):IfTestStop()ThenExitSub'X size too large for binned size
CameraExposure("",l_i,l_j,0,0,CInt(m_CameraXSize/l_i),CInt((m_CameraYSize/l_j)+1),0.1,"Y size larger than binned chip size, Bin "&l_i&"x"&l_j):IfTestStop()ThenExitSub'Y size too large for binned size
Hi, I've been conformance testing my Camera driver and think I have found an issue with the tests.
When testing "NumX/Y" and "StartX/Y", the driver is expected to throw an error if the value is out of range.
But when testing "expected failures" the "CameraExposure" method deliberately manipulates those same properties with invalid values...
Example:
When l_i is 1 (first time thru loop) CInt((m_CameraXSize / l_i) + 1)
So it will try to set NumX to be m_CameraXSize + 1, causing an out-of-range exception.
The test never gets to calling StartExposure, and the test fails :)
Am I misunderstanding something, or is this expected to fail?
The text was updated successfully, but these errors were encountered:
Conform/Conform/Devices/CameraTester.vb
Lines 1633 to 1648 in fb671ce
Hi, I've been conformance testing my Camera driver and think I have found an issue with the tests.
When testing "NumX/Y" and "StartX/Y", the driver is expected to throw an error if the value is out of range.
But when testing "expected failures" the "CameraExposure" method deliberately manipulates those same properties with invalid values...
Example:
When
l_i
is1
(first time thru loop)CInt((m_CameraXSize / l_i) + 1)
So it will try to set
NumX
to be m_CameraXSize + 1, causing an out-of-range exception.The test never gets to calling StartExposure, and the test fails :)
Am I misunderstanding something, or is this expected to fail?
The text was updated successfully, but these errors were encountered: