Use riglib to interact with rigs #21
Reference in New Issue
Block a user
Delete Branch "riglib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #19.
The S-meter values coming out are much lower (-80) and allegedly dBm. But if I use the function to convert them to S-units, they seem much greater than I hear through the headphones on the QMX. With no antenna!
From my own code I was getting back positive numbers 000 to ~040 from the QMX with no antenna. Similar to what I get from
qmx-cat with
python3 qmx-cat -p /dev/tty.usbmodem1101 cat SM.In which case I'm not sure if I modified riglib right, or am interpreting the QMX numbers right. In the manual it just says "Returns the S-meter value in dB."
From QMX manual:
From translation of https://github.com/SQK-014/QMX-Signal-Monitor:
riglib says
I changed something that stopped me from getting -80 numbers and now getting -5 numbers, but the QMX screen tells me it should be S1 or so.
EDIT: and now it's back. Weird. But the values are too high.
Possible that QMX is supposed to report dB relative to S0. So S1 is 6, S2 is 12, S3 is 18...
With qmx-cat that looks like what I get. S7 on the screen is 042. (42 / 6 = 7).
The "smart" way to do this--until QMX is added to riglib--is to use my own protocol for QMX and riglib for other rigs. Easier said than done.
Setting this aside for the moment.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.