Hello,
I do some additional tests. I use an old laptop and I found USB 2.0 on my desktop computer
A) Desktop computer (new, January 2020): W10, Ryzen 3950X, ASUS Prime X570-P with USB 3.2 and USB 2.0 (on the back of the housing)
B) Laptop (~ 2012 ?): HP EliteBook 2570p, W7 and only USB 2.0
C) Laptop (2016): Medion Erazer P7643, W10 with USB 3.0 and USB 2.0
I can confirm that all the computer with USB 2.0 give the same result for the StartPos and EndPos (+/- 20 difference).
But ... all the USB 2 are different from the USB 3 !!
It means that all the long work performed for the automatic Start/End Position (or my script) are only usable with the USB 3 connection.
Also now the big question ? =>
How many people use computer with only USB 2 connector ?
I will say ... If less than 5 people use only USB 2, then I will not start to do ~50 hours of tests and analysis.
May be can Robin find a simple solution ... I find that on my computers the USB 3 with traffic = 86 is like the USB 2 with traffic = 0.
It is may be a constant ... but what is with larger traffic with USB 2 ?
But, Robin, do you have a response on your question ? (
viewtopic.php?f=28&t=2241&start=60#p15612)
Concerning the connection origin (USB 2 or USB 3) in SC.
Concerning the question from Kai (
viewtopic.php?f=28&t=2241&start=60#p15623)
I investigate the LED calibration with the help of my script.
Means ... I use the SC automatic values as starting values for my (first) script, then my script start a more precise LED calibration (it search the mid-intensity of the LED illumination). Then with a lot of measurement, I search a new set of equations. Now the last version of my script ignores the SC starting values and uses my equations (see below).
For the "BadCalibrationReduceEndPo" problems ... do you remark the following after the LED calibration with locked status ?
- click on EndPos (for example +10 then -10)
- switch-off the LED and switch-on the LED ... result "BadCalibrationReduceEndPo"
- click on StartPos (for example +10 then -10)
- switch-off the LED and switch-on the LED ... result "Locked"
Why ?
Concerning the StartPos and EndPos calculation (for USB 3 connection):
(here the equations from Robin
viewtopic.php?f=28&t=2241&start=30#p11849)
I have the following:
For MONO8:
Limit_Time = (USB + 5.6) * (0.001067 * Height + 0.0421) [ms]
StartPos for exposure time shorter than Limit_Time:
StartPos = ((0.0000637116*Height - 0.1436327)*Height - 74917.1066)*ms+((-0.00358619*Height + 86.459717)*Height + 1607.70533)*USB +(-0.019717898*Height + 483.579932)*Height + 9199.23345
StartPos for exposure time longer than Limit_Time:
StartPos = 1120 * USB + 6276
EndPos for exposure time shorter than Limit_Time:
EndPos = ((-0.0035558*Height + 86.4002344)*Height + 1360.007826)*USB + (-0.0199132*Height + 483.84284)*Height + 7591.707861
EndPos for exposure time longer than Limit_Time:
EndPos = ((-0.0000118685*Height + 0.0201366)*Height + 74992.72194)*ms + ((0.0000136924*Height - 0.022276)*Height + 773.9233)*USB +(0.0003354606*Height - 0.5725338)*Height + 4421.8013
For MONO16:
Limit_Time = (USB + 9.76) * (0.001067 * Height + 0.0421)
StartPos for exposure time shorter than Limit_Time:
StartPos = ((0.0000390615*Height - 0.070123)*Height - 74967.66526)*ms + ((-0.0035966*Height + 86.4884205)*Height + 1635.68176)*USB +(-0.03440389*Height + 842.6668063)*Height + 16080.628624
StartPos for exposure time longer than Limit_Time:
StartPos = 1120 * USB + 10939
EndPos for exposure time shorter than Limit_Time:
EndPos = ((-0.0035558392*Height + 86.4002017)*Height + 1360.009956)*USB + (-0.0347116673*Height + 843.4836578)*Height + 13250.53035
EndPos for exposure time longer than Limit_Time:
EndPos = ((0.0000163613*Height - 0.0133432)*Height + 74999.19033)*ms + ((0.0000067656*Height - 0.01705296)*Height + 735.04566)*USB +(-0.0007104888*Height + 0.710555)*Height + 7515.87826
Where the USB = USB traffic, Height = the ROI height, ms = exposure time in millisecond.
Also a little bit more complicated as the equations from Robin (and Christian)
.
Concerning the first message from Filipe ... I do not really understand what you do.
But for some test (or practice) with the LED calibration, you do not need the GPS antenna or the GPS could be Off.
You will need a GPS antenna for later imaging for the precise timing of the images.
If you really want to understand more ... read the (pptx) presentation from this link:
viewtopic.php?f=28&t=2241&start=60#p15623 ... you will have very good detailed information (do not use the presentation mode, but read the notes in the lower window).
Filipe ... in short: you have to play with both controls (if you want to synchronize precisely the exposure time with the GPS).
In other words, the StartPos and EndPos controls the switching of the LED at the beginning or at the end of the exposure.
The electronic commanding the LED is different as the electronic for the exposure, but the timing of the LED switch on/off is known very precisely with the GPS time.
What I understand is ... you find the "third transition" (Kai wording) and the transition is at 46280.
But please, say more details (8 or 16 bit, ROI, USB traffic ... and USB 2.0 or 3.0 connection).
Best regards,
Jean-Francois