<Fix>: Correct GCI streaming port ownership for preadjustment, increase revision to 3.9.3146.104

Cause:

- GenesisRegReader configured the GCI streaming port as NA.
- GCI Bridge therefore received no calibration streaming data during the Amplitude Test.
- The request port remained functional, so register writes succeeded while TOF data collection failed.

Solution:

1. Corrected streaming port ownership
   - Pass the configured Genesis opto COM port to GCI Bridge as the UART streaming port.
   - Stop GenesisRegReader streaming before handing the port over to GCI Bridge.
   - Validate request and streaming ports during preadjustment detection.
   - Release the GCI connection after preadjustment so the port can be reused by subsequent tests.

2. Increased revision
   - Updated revision to 3.9.3146.104.
This commit is contained in:
2026-09-11 02:49:09 +02:00
parent 83afddc918
commit db34c579d0
3 changed files with 20 additions and 9 deletions
@@ -1665,16 +1665,22 @@ namespace GenesisCordonelInterface.API
SetUnknownStatus(allMeterControls);
CheckNormalMeters(_meterControls, token);
CheckTemperatureMeters(_progressProcess.Setting, _tempMeterControls, token);
CheckTemperatureMeters(
_progressProcess.Setting,
_tempMeterControls,
token);
List<MeterStateControl> failedMeters = _meterControls.Where(m => m.IsEnabled && !m.Ok).ToList();
return new PreadjustmentDetectResult
{
Success = true,
DetectedMeterCount = _meterControls.Count(m => m.IsEnabled),
DetectedThermometerCount = _tempMeterControls.Count(t => t.IsEnabled)
Success = failedMeters.Count == 0,
DetectedMeterCount = _meterControls.Count(m => m.IsEnabled && m.Ok),
DetectedThermometerCount = _tempMeterControls.Count(t => t.IsEnabled && t.Ok),
ErrorMessage = failedMeters.Count == 0 ? null : $"Request or streaming port check failed for slots: {string.Join(",", failedMeters.Select(m => m.Slot))}."
};
}
catch (Exception ex)