Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- N2adr-Sdr
- Messages
Search
Re: Quisk GUI Questions
开云体育
Thanks so much to Nick for the very helpful pictures and link to the documentation.? I think your photos should be added to the documentation.? I found the conf files and thought the comment lines were just explanation for what was hardcoded in Quisk, but I
could not find where it was hard coded in.? This is very nice just being able to edit a data file.? I haven't figured out how to get the value of the variables I can set now in my hardware file, but sooner or later I will figure it out.? ?? Thanks for the
very helpful tips.? I'm finally figuring out how to do what I wanted and it is far easier than I thought it would be.
73,
Rob
KL7NA
From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Wednesday, May 29, 2024 9:31 AM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
Hello Rob,
Here is another directory sdrtrxpkg/ that includes the file quisk_hardware.py and incorporates the hardware file that you sent. I can not test this because I lack some of your imports. Put the sdrtrxpkg/ directory in the same directory as quisk.py.? Your radio should show up on the list of available radios. Please test. It would be good to include your sdrtrxpkg directory in your github so I can look at it. I am looking at how to do the I/Q balance adjustment. Jim N2ADR |
||||
Re: Quisk GUI Questions
Hello Rob,
Here is another directory sdrtrxpkg/ that includes the file quisk_hardware.py and incorporates the hardware file that you sent. I can not test this because I lack some of your imports. Put the sdrtrxpkg/ directory in the same directory as quisk.py.? Your radio should show up on the list of available radios. Please test. It would be good to include your sdrtrxpkg directory in your github so I can look at it. I am looking at how to do the I/Q balance adjustment. Jim N2ADR |
||||
Re: Quisk GUI Questions
You should read the paragraph "Adding Custom Hardware to the Config/Radius Screen" at the link https://james.ahlstrom.name/quisk/docs.html .
Jim has already made a folder for you. You should put this folder in the root folder of Quisk. You will find your SdrTrx radio in the list of supported radios. Later you will edit the functions according to your radio. Next, you should add to the quisk_conf_default.py description of your widgets instead of SoftRock (variables, text of variable input windows, variable values) for your radio and the path to the file 'sdrtrxpkg/quisk_hardware.py'. In quisk_conf_default.py there are many examples. The widgets will be displayed in Config > SdrTrx > Hardware screen. |
||||
Re: Quisk GUI Questions
开云体育
Thanks Jim,
I'm using Ubuntu Linux and have been having this issue multiple times on multiple computers.? I usually use laptops.? It doesn't seem to be a function of the monitor or screen.? It may be an old config file I have kicking around on my computer or something.?
I've been playing with Quisk for years.? It isn't noticable on all the config screens, but it does show up on "Radios".? Some computers I have it is worse than others, so maybe there is something about the hardware.? Each radio allows me to select the font
sizes, but not the Config radio.
Sorry, I had been following the OpenRadio example, and was calling the hardware files config files.? I fixed that now.? I did see the dummy hardware file in your zip attached.? I also did a pull on your repository, and I think it added some things that you
added for someone else earlier.? I'm still confused about how I get a new radio type.? I have been using the Softrock fixed as the base radio.? I'm enclosing my hardware file, but I'm not sure it will be what you need to see.? It seems to be working fine.?
It was just the GUI I was trying to customize for it.
Thanks for looking?into this for me!
73,
Rob
KL7NA
From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Tuesday, May 28, 2024 10:02 AM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
Hello Rob,
I have attached the directory sdrtrxpkg/. Create this directory in the same directory as quisk.py. It is an example file that will add a new radio "SdrTrx" to the menu and enable you to control what is on the Hardware screen for your radio. The actual hardware file for your radio is a dummy, and you need to add it to sdrtrxpkg/quisk_hardware.py. I looked at your github site but I don't recognize a Quisk hardware file. Perhaps you could add sdrtrxpkg to your github. I see the half-letters on your screen but this does not happen on my computer. Also, your screen seems small. What is your hardware? The font size for ConfigFileRadio is in your config file, or else a default is used. The config file in use is shown on the Status screen. But config files are obsolete, so why would you want one? Jim N2ADR |
||||
Re: Quisk GUI Questions
Hello Rob,
I have attached the directory sdrtrxpkg/. Create this directory in the same directory as quisk.py. It is an example file that will add a new radio "SdrTrx" to the menu and enable you to control what is on the Hardware screen for your radio. The actual hardware file for your radio is a dummy, and you need to add it to sdrtrxpkg/quisk_hardware.py. I looked at your github site but I don't recognize a Quisk hardware file. Perhaps you could add sdrtrxpkg to your github. I see the half-letters on your screen but this does not happen on my computer. Also, your screen seems small. What is your hardware? The font size for ConfigFileRadio is in your config file, or else a default is used. The config file in use is shown on the Status screen. But config files are obsolete, so why would you want one? Jim N2ADR |
||||
Quisk Version 4.2.34 May 2024
For the Hermes-Lite2 the inhibit Tx function (CN8) now releases the Spot button.
Quisk displays the band plan below the X-axis as colored bars, and there are eighteen possible colors. If you hover the mouse over a bar, Quisk now displays the name of the mode. Recall that there is a dialog box so you can set the band plan to what you want. Jim N2ADR |
||||
Re: Quisk GUI Questions
开云体育
Hi Jim,
I have added my radio and it is working just fine with the base radio as "Fixed Softrock" (on the Radios tab, where it is labeled "Add a new radio with the" and I select Softrock), but my radio is not really a fixed SoftRock, and so the Config window has a
lot of options that do not make sense for my hardware.? I could use a SoftRock USB as a base radio too, but I still have the same problem.? ? I wanted to make the Config GUI more appropriate to my hardware.? At first I thought I could add a widgets file and
do that, but I could not figure out how to change widgets on the Config window.? Maybe, what I'm asking is more like, what would be the best way to add a new radio to the list you can select it as a base radio and customize the settings for it.? Do you have
any instructions on how to modify the GUI so it is appropriate to my hardware?? It may not be worth the effort now, but the customizable widgets file made me hope I could do it fairly easily like the hardware, but the examples were not so plentiful and helpful.
I looked over Warren Pratt's WDSP and unfortunately, it seems to be optimized for the HPSDR radios, and I can't so far find any way to modify the filter coefficients in his bandpass/notch filter which looks like the closest thing to what I need.? It might require
writing a new block.? He does have a well-optimized setup for DDC/DUC hardware, but unfortunately not quite so nice for NZIF or ZIF hardware like the SoftRock.? I see why you must have put the I-Q correction in your own code.? Even though John Melton modified
the WDSP code for Linux, it appears Warren has only been updating the Windows version of WDSP.? I would like to be wrong on this, but I couldn't find any evidence otherwise.? If it isn't too much looking, it would be nice to have a pointer to what you did.?
Even though I'm sending the data over UDP, my ADC is essentially like the sound card it replaced.? For the I-Q balance in Quisk, I'm beginning to suspect you must be using software features only available if the data came from a sound card.? Is that correct??
I thought about trying to make my UDP stream appear to Linux as if it was a sound card, but discarded that as more difficult.
Another small thing.? I would like to change the default font size for ConfigFileRadio because I can only see half the letters on labels, etc.? I can change it for my radio, but when I choose to start with ConfigFileRadio, I cannot change? it.? Is there an
easy way to do that??
Thanks,
Rob
From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Thursday, May 23, 2024 7:05 AM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
The widgets file for a given radio only controls what is shown in the last line on the screen. To control the Config/radio/Hardware screen you need to add another radio to quisk_conf_defaults.py and then select that radio. There are multiple radios in
quisk_conf_defaults.py to use as examples.
Or, if I don't understand your question, please ask with more details. Jim N2ADR |
||||
Re: Quisk GUI Questions
The widgets file for a given radio only controls what is shown in the last line on the screen. To control the Config/radio/Hardware screen you need to add another radio to quisk_conf_defaults.py and then select that radio. There are multiple radios in quisk_conf_defaults.py to use as examples.
Or, if I don't understand your question, please ask with more details. Jim N2ADR |
||||
Re: Quisk GUI Questions
开云体育
Hi Jim, et. al.,
After thinking about doing this math in my routine, the only nice thing about doing it that way that makes sense to me is I don't have to go read the code and figure out where the DSP is done.? The process is essentially changing the filter used is SSB demodulation
so it undoes the filtering that happened to mess up the I-Q data in the first place.? Doing this should involve changing only filter coefficient data, not even code that is already in Quisk, probably in WDSP.? Unfortunately for me, reading the code I did not
write is one of the more difficult parts of this process, but it is the price you pay to re-use someone else's code and that is big.? Thanks so much, Jim for maintaining Quisk.? It is a big and often thankless job, but it is important to all of us who use
it.??
Again, thanks!
Rob
KL7NA From: [email protected] <[email protected]> on behalf of Rob Frohne (KL7NA) via groups.io <rob.frohne@...>
Sent: Wednesday, May 22, 2024 5:24 PM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
Thanks, Jim,
Would it be better to make my own correction in the Python hardware file assuming I can make it fast enough?? The paper I cited in my other question shows how if you assume it is a linear error, you can calibrate it out once for the IF spectrum (48 kHz in my
case).? With my transceiver, I can envision running a calibration routine where the transmitter spins over the IF range, and the receiver adjusts for the lowest image, to come up with the 2x2 correction matrix needed.? I could calibrate the IF so it is "flat"
across the 48 kHz too while I was reducing the images.? It seems to me at the moment that doing this all in software is superior to trying to make the hardware perfect.? Maybe doing both is best, but one of the goals of my project is to make it cheap (about
$25), and using 1% components runs up the cost for producing a small number of boards at JLCPCB because?there is a $3 charge for each extended component value.? The issue I see with doing my own thing in the software for I-Q correction is that there will be
two I-Q routines in Quisk, which makes it more convoluted.? ?Maybe I can make the other method invisible in the Config GUI or reuse the button.??
I still don't understand where to modify the Config window.? I thought you could just sub-class it in your own widgets file, but haven't figured out how to modify anything but the main window.? Could you point me to an example that does something with the Config
or Radio sub-window?
Thanks & 73,
Rob
KL7NA
From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Wednesday, May 22, 2024 2:00 PM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
Hello Rob,
By GUI I guess you mean the Config/radio/Hardware screen. You can change this to anything you want by creating another "Radio" in the file quisk_conf_defaults.py. There are many radios there to serve as examples. But then you must connect the GUI values to the Quisk engine to use them. The phase and amplitude balance buttons are grayed out because you are not using a soundcard. Even if they were active, you still need to insert the corrections into the data stream. Jim N2ADR |
||||
Re: Quisk GUI Questions
开云体育
Thanks, Jim,
Would it be better to make my own correction in the Python hardware file assuming I can make it fast enough?? The paper I cited in my other question shows how if you assume it is a linear error, you can calibrate it out once for the IF spectrum (48 kHz in my
case).? With my transceiver, I can envision running a calibration routine where the transmitter spins over the IF range, and the receiver adjusts for the lowest image, to come up with the 2x2 correction matrix needed.? I could calibrate the IF so it is "flat"
across the 48 kHz too while I was reducing the images.? It seems to me at the moment that doing this all in software is superior to trying to make the hardware perfect.? Maybe doing both is best, but one of the goals of my project is to make it cheap (about
$25), and using 1% components runs up the cost for producing a small number of boards at JLCPCB because?there is a $3 charge for each extended component value.? The issue I see with doing my own thing in the software for I-Q correction is that there will be
two I-Q routines in Quisk, which makes it more convoluted.? ?Maybe I can make the other method invisible in the Config GUI or reuse the button.??
I still don't understand where to modify the Config window.? I thought you could just sub-class it in your own widgets file, but haven't figured out how to modify anything but the main window.? Could you point me to an example that does something with the Config
or Radio sub-window?
Thanks & 73,
Rob
KL7NA
From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Wednesday, May 22, 2024 2:00 PM To: [email protected] <[email protected]> Subject: Re: [n2adr-sdr] Quisk GUI Questions ?
CAUTION: This email originated from outside the Walla Walla University email system.
Hello Rob,
By GUI I guess you mean the Config/radio/Hardware screen. You can change this to anything you want by creating another "Radio" in the file quisk_conf_defaults.py. There are many radios there to serve as examples. But then you must connect the GUI values to the Quisk engine to use them. The phase and amplitude balance buttons are grayed out because you are not using a soundcard. Even if they were active, you still need to insert the corrections into the data stream. Jim N2ADR |
||||
Re: Quisk GUI Questions
Hello Rob,
By GUI I guess you mean the Config/radio/Hardware screen. You can change this to anything you want by creating another "Radio" in the file quisk_conf_defaults.py. There are many radios there to serve as examples. But then you must connect the GUI values to the Quisk engine to use them. The phase and amplitude balance buttons are grayed out because you are not using a soundcard. Even if they were active, you still need to insert the corrections into the data stream. Jim N2ADR |
||||
Re: I-Q Rebalance
If you're using the 'soundcard' route for capturing an I/Q stream from your SDR, consider using the Pan in your OS' mixer for that input if available, or adjust L/R on that input independently if to balance the I/Q stream if available. On Wed, May 22, 2024 at 10:59?AM Rob Frohne (KL7NA) via <rob.frohne=[email protected]> wrote:
|
||||
Re: I-Q Rebalance
Hello Rob,
A dependency on RF frequency can come about from an imbalance in the power splitter from the antenna or in the two mixers operating at RF. Please see the documentation under "SoftRock" and the paper . Quisk collects phase corrections at points (RF frequency, AF frequency) and does a two-dimensional interpolation. If the RF frequency doesn't matter, just use the band center. If it does matter, use several RF frequencies with the same table of AF frequencies. Jim N2ADR |
||||
Re: I-Q Rebalance
Quisk realy does need an auto image scheme based on a user defined frequency span from previously resolved I-Q balance.? On Wed, May 22, 2024, 7:59 AM Rob Frohne (KL7NA) via <rob.frohne=[email protected]> wrote:
|
||||
I-Q Rebalance
开云体育
Hi All,
I am having problems with images in my near-zero IF (SoftRock) type receiver.? I am still pursuing the hardware problem that is causing the imbalance and consequential poor image rejection, but after thinking about it, I decided the software solution might
be better overall, because then you would not have to be so careful that your ADC, an all the I and Q components matched perfectly and it would enable a cheaper SDR receiver.? So, I have been looking at Quisk and its implementation of this rebalancing.? As
I think about it, I don't see a mechanism for how the I-Q balance would be a function of the RF frequency, only the IF frequency.? If this is the case, you would have a whole lot less calibration to do to get good image rejection.? This paper
?from 2002 seems to indicate that as well.? I am a little leery to just conclude that though, because the implementation in Quisk seems to indicate experimental evidence that the
RF frequency matters too.? Can any of you shed light on this?
TNX & 73, Rob KL7NA |
||||
Quisk GUI Questions
开云体育
Hi Jim,
I am fiddling around trying to make Quisk?I am playing with.?
This transceiver is similar to a SoftRock, but uses its onboard ADC, sending the I and Q data over UDP instead of USB.? This morning I went to make a widgets file, expecting to be able to customize Quisk widgets like I see it customized using the hardware.py
files, which is fantastic, but the example files are not as many, and grepping for phrases like Si570 crystal frequency, which I see in the Config screen for SofRrock type radios doesn't seem to lead me to code to modify or emulate.? ?? ?For example, I would
like to allow this radio to use the Rx Phase option, but it is always grayed out, probably because I'm not using a classical soundcard.? There are options for the SoftRock that are not quite appropriate for my radio, for example, the Si570 options.? My radio
is using the Si5351a instead of an Si570, and I have been making it a child of the fixed SoftRock, but it doesn't need a fixed crystal frequency either.? The areas of the GUI I want to mess with most are the Config ones at present anyway, but the examples
show how to add buttons and a few other controls to the main GUI.? ?There are still plenty of things I am working on, but it is sending and receiving FT8.? ?I
?to put my Quisk files in because putting them in the main repo makes it easier for me to remember how to set Quisk up for this rig.? Any suggestions on modifying the GUI?
73,
Rob
KL7NA
|
||||
Quisk Version 4.2.33 May 2024
I added the get_level Hamlib command "l STRENGTH". It returns the S-meter reading. I finally found some Hamlib documentation, often not an easy task. ?The return value of STRENGTH is in dB with zero dB equal to S9. There are 6 dB per S-unit. So a STRENGTH of 4 is 4dB over S9, and -6, -12, -18 is S8, S7, S6. I also added the corresponding FlexRadio command ZZSM.
Jim N2ADR |
to navigate to use esc to dismiss