开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Quisk Version 4.2.24 November 2023

 

Still not working. When clicking on quisk.exe it complains that it does not find hermes\quisk_hardware_hl2_oob.py file but this file exists on my didk in the hermes directory.
73 - Pierre - FK8IH


Re: Quisk Version 4.2.24 November 2023

 

I found several directories related to quisk:
- 11/23/2023 in C:\users\JC\AppData\Local\Packages\PythonSoftwareFoundation.Python311.....\LocalCache\local-packages\Python311\site-packages\quisk with many files related to quisk including quisk.py but from which nothing starts.
- 10/04/2023 in C:\users\JC\AppData\Local\Programs\Python\Python311\scripts from which directory quisk v4.2.23 actually starts.
- and some older files.
I'm cleaning all that and will return after.
73 - Pierre - FK8IH


Re: Will I have a problem if my IQ data coming in is not in sync with 48000, 96000, etc?

 

开云体育



Hi Jim,


Thanks for the expertise!??


I think I can get to 1.017253 the correct frequency if I use the standard 125 MHz Pico frequency.? It is very easy to change though.? Of course, it cannot be changed to an arbitrary frequency, but changing it can help a lot.? By changing to 86 MHz, I can get 0.9998139 correct.? There are some other frequencies that are almost as good as 86 MHz that are faster.? It sounds like adjusting a few points every so often works better in your experience.? Is that right?


Thanks & 73,


Rob

KL7NA


From: [email protected] <[email protected]> on behalf of jimahlstrom via groups.io <jahlstr@...>
Sent: Friday, November 24, 2023 5:45 PM
To: [email protected] <[email protected]>
Subject: Re: [n2adr-sdr] Will I have a problem if my IQ data coming in is not in sync with 48000, 96000, etc?
?
CAUTION: This email originated from outside the Walla Walla University email system.

I have never had success with resampling I/Q data. The balance is degraded and images appear. How close to a multiple of 48 ksps can you get?

Jim
N2ADR


Re: Quisk Version 4.2.24 November 2023

 

Hello Pierre,

Try searching your drive for another Quisk installation. Search for "quisk.py".?

If that doesn't work, uninstall Quisk, delete its "quisk" directory and re-install. Use this command:

python -m pip install --upgrade quisk

Jim
N2ADR


Re: Quisk Version 4.2.24 November 2023

 

About python quisk.py :
- if I right click on it and left click on execute with python3.11 it opens quisk v. 4.2.23
- if I go the the good directory and types python quisk.py it aborts, see the attached photo.
It's just amazing and I don't understand.
73 - Pierre - FK8IH


Re: Will I have a problem if my IQ data coming in is not in sync with 48000, 96000, etc?

 

I have never had success with resampling I/Q data. The balance is degraded and images appear. How close to a multiple of 48 ksps can you get?

Jim
N2ADR


Re: Quisk Version 4.2.24 November 2023

 

init_py shows v.4.2.23


Re: Quisk Version 4.2.24 November 2023

 

Hello Pierre,

>I checked in the Python311/Scripts directory and the quisk.exe file is still dated 10/04/2023.
This file is not Quisk. It is a startup script that runs a program like "python quisk.py" to start the real quisk located elsewhere. Search for "quisk.py", the main program. It is possible you have two of quisk.py.

I tested by installing Quisk on a Windows 10 machine and everything worked. So I am not sure what the problem is. Please start Windows Power Shell, navigate to the Quisk directory (the one with quisk.py) and try this:

cat __init__.py
There are two underscores "__". This should show the version as 4.2.24.

python quisk.py
This should start Quisk?with whatever version of Python you are using, and it should report version 4.2.24.

Let me know what happens.

Jim
N2ADR


Will I have a problem if my IQ data coming in is not in sync with 48000, 96000, etc?

 

开云体育

I'm looking at using a Raspberry Pi Pico W to collect ADC data and it appears that my clock will not be able to get an accurate 1228800 Hz clock.? I will be sending this data over UDP to quisk, and can know accurately what the sample rate is.? Will I need to resample this at the proper rate in the PC, before sending it to quisk, or does quisk have that built in?

73,

Rob
KL7NA



Re: Quisk Version 4.2.24 November 2023

 

Jim, I got the same screens as Mike and also upgraded setuptools, all others already up-todate.
73 - Pierre - FK8IH


Re: Quisk Version 4.2.24 November 2023

 

Jim, I checked my Python version and I have only 3.11 installed. I had some 3.9 and 3.10 directories remaining but they were not effective and I deleted them.
I uninstalled quisk then reinstalled it and at the end of the process I could read on the terminal quisk 4.2.24 was successfully installed.
I then ran quisk and got 4.2.23.
I checked in the Python311/Scripts directory and the quisk.exe file is still dated 10/04/2023.
Hope this will help.

73 - Pierre - FK8IH


Re: Quisk Version 4.2.24 November 2023

 

Not getting breakpoints to work in VS Code, I manually traced through the error path placing exit() at key points, mostly in the hermeslite.py file.? I ended up causing a new error about hardware config not found.? After several attempts to delete and reinstall (including force-reinstall per the linux install notes), I manually copied a new heremeslite.py file in and still no joy.? I then started up quisk v4.2.24 with -c argument pointing to quisk\hermes\quisk_hardware.py and that came up with old HL2 config but only used the sound interface.? I created a new hermes radio config and that worked.? Deleted the old config.? So 4.2.24 is now working.? ?Cannot say exactly what the problem was.


Re: Quisk Version 4.2.24 November 2023

 

开云体育

?

Here is the installation, maybe some library version issue, all says good here.

?

?

I can switch to 4.2.23 and it works OK then back to 4.2.24 and same run time error.

?

I individually tried to upgrade each dependency, all were OK except for setuptools

?

This had no effect on the problem.? I uninstalled and reinstalled quisk as well using pip.? Same results.?? Deleted 2nd radio definition I recently added, no change.

?

I am trying to run debug in VS Code but I do not seem to have the breakpoints working right yet.? Still working on that.

?

?

From: [email protected] <[email protected]> On Behalf Of jimahlstrom
Sent: Wednesday, November 22, 2023 9:43 AM
To: [email protected]
Subject: Re: [n2adr-sdr] Quisk Version 4.2.24 November 2023

?

Hello Mike,

The line:
_quisk.error: Bytearray size must be 5.
is correct. Version 4.2.24 changed the size from 20 to 5. So your new _quisk.pyd is correct but you are somehow using the old Python files quisk.py etc.

How did you install on Windows?

Do any others see this error on Windows?

Jim
N2ADR


Re: Quisk Version 4.2.24 November 2023

 

Hello Mike,

The line:
_quisk.error: Bytearray size must be 5.
is correct. Version 4.2.24 changed the size from 20 to 5. So your new _quisk.pyd is correct but you are somehow using the old Python files quisk.py etc.

How did you install on Windows?

Do any others see this error on Windows?

Jim
N2ADR


Re: Quisk Version 4.2.24 November 2023

 

Hello Pierre,

This can happen if you have two versions of Python installed. If you run pip and pip is for Python version 3.10, then it will upgrade 3.10 and not 3.11. Try "pip -V" to check the version. To run pip for a specific version of Python, use "py -3.11 -m pip install --upgrade quisk".

If you have only one Python installed, I will need to check further.

Jim
N2ADR


Re: Protocol Suggestions for Sending Quisk Control and IQ Signals via UDP/TCP for a Simple QSD Transceiver

 

The protocol I'm familiar with is HPSDR protocol 1, used by a?number of SDRs. It's documented??and .?One advantage is that it's well-supported by SDR software packages, so you could concentrate on the transceiver side implementation.

Jim
N1ADJ

On Tue, Nov 21, 2023 at 6:41?PM w9ran <ranickels@...> wrote:
On 11/21/2023 4:21 PM, Rob Frohne (KL7NA) wrote:
> should I just roll my own protocol for the control and for the IQ
> data, or is there one that is already defined that I should use
> instead of adding to the problem of multiple SDR radio protocols
> already there.? Advice?

Hi Rob,

The RTL-2832 is really a one of a kind - a very low-cost IC designed as
a COFDM demodulator of digital TV that happens to have the ability to
send raw ADC samples which enable it to function as an SDR.?? Its USB
interface includes commands to control a silicon tuner IC? via an
internal I2C repeater.

Quisk and other SDR software uses the libraries created by Osmocom many
years ago: ??? These are
specific to the RTL-2832 and wouldn't do you any good I'm afraid.?? The
rest of the project you linked should be useful as a basis for the
digital mode transmit side, I'd think, but I'm not familiar with them.

73, Bob W9RAN







Re: Protocol Suggestions for Sending Quisk Control and IQ Signals via UDP/TCP for a Simple QSD Transceiver

 

On 11/21/2023 4:21 PM, Rob Frohne (KL7NA) wrote:
should I just roll my own protocol for the control and for the IQ data, or is there one that is already defined that I should use instead of adding to the problem of multiple SDR radio protocols already there.? Advice?
Hi Rob,

The RTL-2832 is really a one of a kind - a very low-cost IC designed as a COFDM demodulator of digital TV that happens to have the ability to send raw ADC samples which enable it to function as an SDR.?? Its USB interface includes commands to control a silicon tuner IC? via an internal I2C repeater.

Quisk and other SDR software uses the libraries created by Osmocom many years ago: These are specific to the RTL-2832 and wouldn't do you any good I'm afraid.?? The rest of the project you linked should be useful as a basis for the digital mode transmit side, I'd think, but I'm not familiar with them.

73, Bob W9RAN


Re: Protocol Suggestions for Sending Quisk Control and IQ Signals via UDP/TCP for a Simple QSD Transceiver

 

开云体育

Maybe cheat avoiding the dev work and use a USB to Wifi extender.? Might depend on how remote you are talking about.


Protocol Suggestions for Sending Quisk Control and IQ Signals via UDP/TCP for a Simple QSD Transceiver

 

开云体育

Greetings Friends,

I am planning a little SDR using a quadrature sampling detector for receiving and a Si5351 for the LO and the transmitter (for sending digital signals).? In the past I have used a sound card for getting the IQ data to quisk.? This time I have decided to include the ADC on the board? and send all the data over WIFI so I can install the radio in a remote location to the computer running quisk, WSJT-X, etc.? There is a similar design here called that sends data over USB serial port, and uses an RTLSDR instead of the QSD one.? The question I am pondering and seeking advice on is should I just roll my own protocol for the control and for the IQ data, or is there one that is already defined that I should use instead of adding to the problem of multiple SDR radio protocols already there.? Advice?

Tnx & 73,
Rob
KL7NA




Re: Quisk Version 4.2.24 November 2023

 

开云体育

?

Hi Jim,

?

I updated my Linux Mint, Pi, and Windows machines to 4.2.24.? Ran into a problem on Windows where it crashes on startup.? Works in 4.2.23.??? 4.2.24 runs OK in Linux/Pi.

?

Here is my output below. On 4.2.23 the next good line afer Change LNA would be

Change tx_buffer_latency 10, PTT_hang_time 4.?

?

?

?

Successfully installed quisk-4.2.24

?

C:\Users\k7mdl>python -m quisk

broadcast_addrs ['192.168.2.241']

SetControlByte C0_index 0x1 byte_index 2 to 0x6B

SetControlByte C0_index 0x2 byte_index 2 to 0x6B

SetControlByte C0_index 0x3 byte_index 2 to 0x6B

SetControlByte C0_index 0x4 byte_index 2 to 0x6B

SetControlByte C0_index 0x5 byte_index 2 to 0x6B

SetControlByte C0_index 0x6 byte_index 2 to 0x6B

SetControlByte C0_index 0x7 byte_index 2 to 0x6B

SetControlByte C0_index 0x8 byte_index 2 to 0x6B

Change Tx LNA to 192

Change sample rate to 384000

Send discover

discover_request ('192.168.2.241', 1024)

recvfrom ('192.168.2.241', 1024) length 60 type <class 'bytes'>

data bytearray(b'\xef\xfe\x02\x00\x1c\xc0\xa2\x13\xdeI\x06`\x00\xc0\xa8\x02\xf1\x13\xde\x04E\x03\x00\xd8\xb0\x01\x00\x00\x04&\x00\x01\x00\x01\x00\x00\x80\xf5\n\xf4D\xc0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')

Capture from Hermes: Mac? 0:1c:c0:a2:13:de, Code version 73.3, Rx 4, ID 6

Change LNA to 78

Change LNA to 111

Traceback (most recent call last):

? File "C:\Users\k7mdl\AppData\Local\Programs\Python\Python310\lib\site-packages\quisk\quisk.py", line 3931, in OnInit

??? self.OpenHardware()

? File "C:\Users\k7mdl\AppData\Local\Programs\Python\Python310\lib\site-packages\quisk\quisk.py", line 4074, in OpenHardware

??? self.config_text = Hardware.open()

? File "C:\Users\k7mdl\AppData\Local\Programs\Python\Python310\Scripts\hermeslite.py", line 266, in open

??? self.ImmediateChange(name)

? File "C:\Users\k7mdl\AppData\Local\Programs\Python\Python310\Scripts\hermeslite.py", line 664, in ImmediateChange

??? self.WriteQueue(1)

? File "C:\Users\k7mdl\AppData\Local\Programs\Python\Python310\Scripts\hermeslite.py", line 793, in WriteQueue

??? QS.pc_to_hermeslite_writequeue(self.pc2hermeslitewritequeue)

_quisk.error: Bytearray size must be 5.

OnInit returned false, exiting...

?

?

?

  • Mike K7MDL

?