improved logging
This commit is contained in:
@@ -83,6 +83,10 @@ class MultiDeviceLibreVnaService:
|
||||
slave_serial_numbers=self.slave_serials,
|
||||
force_external_reference=self.force_external_reference,
|
||||
)
|
||||
logger.info(
|
||||
"Multi-device controller opened (master=%s, slaves=%s)",
|
||||
self.master_serial, self.slave_serials,
|
||||
)
|
||||
except Exception as exc:
|
||||
# Never silently latch to synthetic data: a deployed appliance must wait
|
||||
# for the real device, not record fakes. Synthetic data requires an
|
||||
@@ -180,6 +184,14 @@ class MultiDeviceLibreVnaService:
|
||||
if_bandwidth=int(round(float(sweep.if_bandwidth_hz))),
|
||||
power_dbm=float(sweep.power_dbm),
|
||||
)
|
||||
logger.debug(
|
||||
"Multi-device configured: %s-%s Hz, %s points, IFBW=%s Hz, %s dBm",
|
||||
self._sweep_configuration.start_hz,
|
||||
self._sweep_configuration.stop_hz,
|
||||
self._sweep_configuration.points,
|
||||
self._sweep_configuration.if_bandwidth,
|
||||
self._sweep_configuration.power_dbm,
|
||||
)
|
||||
|
||||
def acquire_collection(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user