aboutsummaryrefslogtreecommitdiff
path: root/rfGen.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-12 14:25:07 -0400
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-06-12 14:25:07 -0400
commit0d88defb2469ab4f696880ffa41f153265acd307 (patch)
treee75130cb45f8a6f686ed51a079606f9c0de1f9ea /rfGen.py
parent4ce9600f5c0c1e2bd5a19a496af0b3401938b80d (diff)
downloadpyExpControl-0d88defb2469ab4f696880ffa41f153265acd307.tar.gz
pyExpControl-0d88defb2469ab4f696880ffa41f153265acd307.zip
added rfGenLMX2487Dummy dummy RF generator
Diffstat (limited to 'rfGen.py')
-rw-r--r--rfGen.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/rfGen.py b/rfGen.py
index 19ae017..5100362 100644
--- a/rfGen.py
+++ b/rfGen.py
@@ -40,3 +40,9 @@ class rfGenLMX2487:
cmd_str=f'setFreq({freq:.2f})'
self.sendSerialCmd(cmd_str)
+class rfGenLMX2487Dummy:
+ def __init__(self, port='/dev/ttyUSB0', speed=115200, timeout=1):
+ return
+
+ def setFreq(self,freq):
+ return