aboutsummaryrefslogtreecommitdiff
path: root/test_rfGenLMX2487.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-09 09:05:30 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-03-09 09:05:30 -0500
commitd5f5d2abbe51212c4e6ffdb98f03dab49aabe615 (patch)
tree433ebf194aa1cbccd847be44534b72c45ce63cb0 /test_rfGenLMX2487.py
parent537967dc5a2101ae54c4b161cf8ef1abeaa499e6 (diff)
downloadqolab-d5f5d2abbe51212c4e6ffdb98f03dab49aabe615.tar.gz
qolab-d5f5d2abbe51212c4e6ffdb98f03dab49aabe615.zip
removed old files which are not part of qolab package
Diffstat (limited to 'test_rfGenLMX2487.py')
-rw-r--r--test_rfGenLMX2487.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/test_rfGenLMX2487.py b/test_rfGenLMX2487.py
deleted file mode 100644
index e87ad79..0000000
--- a/test_rfGenLMX2487.py
+++ /dev/null
@@ -1,20 +0,0 @@
-from rfGen import rfGenLMX2487
-import numpy as np
-import platform
-
-if platform.system() == 'Linux':
- rf=rfGenLMX2487(port='/dev/ttyUSB0', speed=115200, timeout=1)
-else:
- rf=rfGenLMX2487(port='COM5', speed=115200, timeout=1)
-
-freqStart = 6.830e9
-freqStop = 6.840e9
-Np = 21
-print(f'We will sweep frequency from {freqStart} to {freqStop} in {Np} points')
-for freq in np.linspace(freqStart,freqStop, num=Np, endpoint=True):
- print(f'Frequency set to {freq:.2f}')
- rf.setFreq(freq)
-
-print("Printing log")
-print(rf.log2str())
-