开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

QtTinySA PC Application


 

I have created a Python Qt5 application to work with the TinySA Ultra that runs in Linux.





Working Features:

LNA on/off
SPUR auto/off
Theoretically unlimited points, but I have set the maximum to 15,400 for no particular reason.
RBW control
4 different colour traces, all can be turned on/off and set to average, max hold or min hold
Selectable averaging
Amateur band frequency selection
Start/stop frequency selection
4 markers. Each trace has 1 marker associated with it. Markers can be set to normal, delta, or one of the four largest peaks.
The selected marker(s) can be set to sweep start frequency with a button, or can be draggged to any desired frequency.
All standard pyqtgraph features, which are selectable by right-click on the graph display, including:
? ? Export as CSV, HDF5, Image file of various types, Matplotlib window, SVG
3D spectrum (very primitive) with measurements over time represented as a surface plot. Can be clicked/zoomed/dragged/rotated using the mouse.


 

I tried it on my Mac and it works fine. Nice work!!


 

On Tue, Jun 27, 2023 at 09:51 PM, Ian Jefferson wrote:
I have created a Python Qt5 application to work with the TinySA Ultra that runs in Linux.
Hi Ian,

Very cool program!
I've added a quick autodetection of tinySA / tinySA4 that makes your nice tool also usable for the tinySA Basic version.
Check the PR at


Who wants to test my change can go to my repo:

?
Martin


 

On Tue, Jun 27, 2023 at 07:48 PM, chri5k wrote:
I tried it on my Mac and it works fine. Nice work!!
It also runs well on Windows 10 with the following dependencies:

pyqt5 version 5.15.4 or greater
pyqtgraph
pyopengl
in site package?ptime.py, change all instances of time.clock()? to? time.time()

Thanks for the contribution.

Herb


 

Herb,
Would it be possible to build a self contained executable from the python source?
--
For more info on the tinySA go to https://tinysa.org/wiki/


 

On Wed, Jun 28, 2023 at 07:33 AM, Erik Kaashoek wrote:
Herb,
Would it be possible to build a self contained executable from the python source?
Erik,
? NanoVNA-Saver is distributed as both a repository and an executable, so yes, it is possible.? If you are asking if I have the tools installed to build a self-contained executable, then the answer is no.? I am familiar enough with Python that I have never had the need to do so.

?Additionally, Ian has not posted a release version of QtTinySA so I would be hesitant to distribute an executable file except as a proof-of-concept demonstration of QtTinySA for tinySA users who cannot get the GitHub repository working.

Herb


 

Martin,

I have merged your improvements into my code.? Thank you.? I don't have the original TinySA to test with.

Ian


 

Hi Herb & Erik,

I don't understand the significance of posting a 'release version' - I have very little experience of using Github.? I think I might have the tools to make a standalone executable, although I never thought to do that when running the programme using Python seems easy (to me).? I will consult the usual search engine and see what I can discover.

Ian


 

On Wed, Jun 28, 2023 at 01:51 PM, Ian Jefferson wrote:
Hi Herb & Erik,

I don't understand the significance of posting a 'release version' - I have very little experience of using Github.? I think I might have the tools to make a standalone executable, although I never thought to do that when running the programme using Python seems easy (to me).? I will consult the usual search engine and see what I can discover.

Ian,
? ? Generally speaking, code downloaded from GitHub located in the repository instead of the release section, means that the author considers it to be beta and not ready for primetime.? NanoVNA-Saver started that way and has evolved into almost a commercial strength application, but it took a lot of contributions and feedback from different sources to get there over the course of almost 3 years.?

? Ian put a lot of thought into the design of QtTinySA and leveraged some of the command console routines from Horo's tools for the tinySA. It looks to have the beginnings of developing into a very useful software application for the tinySA/tinySA Ultra.? Since QtTinySA?is a beta application, it is currently missing some useful features such as capturing the tinySA screen and exporting traces to CSV files.

? QtTinySA is surprising quick at retrieving and displaying trace data from the tinySA.? I wasn't expecting that to be true for a Python graphical application. I'm hoping forward QtTinySA? receives continued support from the open-source development community. Martin Horo has already forked a branch that supports either the tinySA or tinySA Ultra.? Ian's main branch currently only supports the tinySA Ultra.

Herb

? ?


 

One benefit of posting an executable is to make it easier for other people to use QtTinySA without having to download and install all the dependencies (Qt,..). ?I've never used or installed Python but that is how most executables work, they are 'self contained' other than the standard OS-installed system libraries.

I'm on a Mac and would love a MocOS executable.
?


 

开云体育

I am having an issue getting QtTinySA to run. My setup Intel machine, Debian Bookworm, Python 3.11.2. I have all the dependencies listed on the github page. When I try to run it I get:

$ python3 ./QtTinySA.py
Traceback (most recent call last):
? File "/home/rgs/Desktop/QtTinySA/QtTinySA-main/./QtTinySA.py", line 481, in <module>
??? tinySA = analyser(getport())
????????????????????? ^^^^^^^^^
? File "/home/rgs/Desktop/QtTinySA/QtTinySA-main/./QtTinySA.py", line 311, in getport
??? raise OSError("TinySA not found")
OSError: TinySA not found

I must be missing something. Any help appreciated.

Bob S.


On 6/27/23 12:51, Ian Jefferson via groups.io wrote:

I have created a Python Qt5 application to work with the TinySA Ultra that runs in Linux.





Working Features:

LNA on/off
SPUR auto/off
Theoretically unlimited points, but I have set the maximum to 15,400 for no particular reason.
RBW control
4 different colour traces, all can be turned on/off and set to average, max hold or min hold
Selectable averaging
Amateur band frequency selection
Start/stop frequency selection
4 markers. Each trace has 1 marker associated with it. Markers can be set to normal, delta, or one of the four largest peaks.
The selected marker(s) can be set to sweep start frequency with a button, or can be draggged to any desired frequency.
All standard pyqtgraph features, which are selectable by right-click on the graph display, including:
? ? Export as CSV, HDF5, Image file of various types, Matplotlib window, SVG
3D spectrum (very primitive) with measurements over time represented as a surface plot. Can be clicked/zoomed/dragged/rotated using the mouse.



 

Plug in the tinySA before starting the program. I got the same error.


 

On Wed, Jun 28, 2023 at 01:51 PM, Ian Jefferson wrote:
Hi Herb & Erik,

I don't understand the significance of posting a 'release version' - I have very little experience of using Github.? I think I might have the tools to make a standalone executable, although I never thought to do that when running the programme using Python seems easy (to me).? I will consult the usual search engine and see what I can discover.

Ian,

Lots of users don't have Python installed and don't want to learn how to do it.? I have built stand-alone versions of Saver for WIN 7 and WIN 8.1 after these OS's were not supported anymore by the latest versions.? I just patched the Python code and then used "pyinstaller" to make a stand-alone exe.? I got the instructios on how to do it from EU1KY and have attached them to this post.

Roger


 

Picture was too small in last post.? Hope this works.



Roger


 

开云体育

Ah, that was it. Thanks. I was trying to get a head start - my Ultra arrives tomorrow. Tried it with my non-Ultra and it comes up fine.

Bob S.

On 6/28/23 18:18, chri5k via groups.io wrote:

Plug in the tinySA before starting the program. I got the same error.


 

Mark,

Python is a scripting language so any Python application is actually a script that Python interprets, so apps are cross-platform, and the same app would run on a Mac, on Windows, or in my case on Linux.? I'm not familiar with the latest OS X, but early versions of OS X included Python, so it may already be installed.? As a previous poster in this thread said, he installed the app on a Mac and it worked fine.

Larry - AC8YE
Retired professional Linux kernel hacker.

Sent with secure email.

------- Original Message -------
On Wednesday, June 28th, 2023 at 6:47 PM, Mark McFarlane <markamcfarlane@...> wrote:

One benefit of posting an executable is to make it easier for other people to use QtTinySA without having to download and install all the dependencies (Qt,..). ?I've never used or installed Python but that is how most executables work, they are 'self contained' other than the standard OS-installed system libraries.

I'm on a Mac and would love a MocOS executable.
?


 

Generally speaking, code downloaded from GitHub located in the repository instead of the release section, means that the author considers it to be beta and not ready for primetime

Never knew there was a "release" section on git hub, I always found all those files to be utterly confusing. Am 70 years old, if it isn't a ready executable application for windows it doesn't exist for me.

John


 

I have now built a Linux and Windows executable and put them in the 'release' section under

I have very briefly tested the Windows executable on Win-10 and Win-11 and it appears to work but fails to draw the scan properly above 2148MHz, giving a Numpy error.? Possibly related to the Python version I installed in Windows 11.? I will eventually look to see if I can fix it.

Ian - G4IXT


 

Ian
I just tried to load your program on a Win 7 machine and got the following error




Rob VK5TRM


 

Hi Rob,

I built it on a Win 11 machine using the latest?Python?3.12.0, which cannot be used on?Windows 7?or earlier.? Next time I build one, I will downgrade Python on my Windows machine to 3.9 which is the version I use in Linux.? But I have no way to test it on Windows 7 so I wouldn't know if it made a difference.? My main aim would be to see if that fixes the numpy error for scans above 2148MHz.

Regards

Ian