kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
Assume every current H4 can do 201 datapoints
rodzic
9f5f4b5870
commit
323db84ef6
|
@ -27,6 +27,7 @@ class NanoVNA_H4(NanoVNA_H):
|
|||
name = "NanoVNA-H4"
|
||||
screenwidth = 480
|
||||
screenheight = 320
|
||||
valid_datapoints = (101, 11, 51, 201)
|
||||
|
||||
def __init__(self, iface: Interface):
|
||||
super().__init__(iface)
|
||||
|
@ -34,10 +35,10 @@ class NanoVNA_H4(NanoVNA_H):
|
|||
if "Scan mask command" in self.features:
|
||||
self.sweep_method = "scan_mask"
|
||||
|
||||
def read_features(self):
|
||||
logger.debug("read_features")
|
||||
super().read_features()
|
||||
if self.readFirmware().find("DiSlord") > 0:
|
||||
self.features.add("Customizable data points")
|
||||
logger.info("VNA has 201 datapoints capability")
|
||||
self.valid_datapoints = (201, 11, 51,101)
|
||||
# def read_features(self):
|
||||
# logger.debug("read_features")
|
||||
# super().read_features()
|
||||
# if self.readFirmware().find("DiSlord") > 0:
|
||||
# self.features.add("Customizable data points")
|
||||
# logger.info("VNA has 201 datapoints capability")
|
||||
# self.valid_datapoints = (201, 11, 51,101)
|
||||
|
|
Ładowanie…
Reference in New Issue