kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
more -H/-H4 tests
rodzic
675512d1b7
commit
97f5083130
|
@ -17,7 +17,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
VERSION = "0.3.6-rc1"
|
||||
VERSION = "0.3.6-rc2"
|
||||
VERSION_URL = (
|
||||
"https://raw.githubusercontent.com/"
|
||||
"NanoVNA-Saver/nanovna-saver/master/NanoVNASaver/About.py")
|
||||
|
|
|
@ -25,11 +25,3 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
class NanoVNA_H(NanoVNA):
|
||||
name = "NanoVNA-H"
|
||||
|
||||
def read_features(self):
|
||||
logger.debug("read_features")
|
||||
if self.readFirmware().find("sweep_points 201") > 0:
|
||||
logger.info("VNA has 201 datapoints capability")
|
||||
self.valid_datapoints = (201, 101)
|
||||
self.datapoints = 201
|
||||
self.features.add("Screenshot")
|
|
@ -36,10 +36,9 @@ class NanoVNA_H4(NanoVNA_H):
|
|||
|
||||
def read_features(self):
|
||||
logger.debug("read_features")
|
||||
self.features.add("Screenshots")
|
||||
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, 101)
|
||||
self.datapoints = 201
|
||||
self.features.add("Scan mask command")
|
||||
|
|
Ładowanie…
Reference in New Issue