External PTT Relay Control
External PTT Relay Control
Hi all,
I've put together an SDR transceiver based on the Pluto+ and am using a T/R switch which requires an external relay to trigger it. I purchased the USB relay board below which is compatible with SDR Console and works great so far in that software. I'd like to know if I can figure out a way to do the same functionality in SDRangel. Can anyone guide me in the right direction?
https://www.amazon.com/dp/B07CFQMDJ3
Thanks!
I've put together an SDR transceiver based on the Pluto+ and am using a T/R switch which requires an external relay to trigger it. I purchased the USB relay board below which is compatible with SDR Console and works great so far in that software. I'd like to know if I can figure out a way to do the same functionality in SDRangel. Can anyone guide me in the right direction?
https://www.amazon.com/dp/B07CFQMDJ3
Thanks!
Re: External PTT Relay Control
Some support was recently added to the Simple PTT feature for executing a command when switching between Rx/Tx - so give that a try.
If you need something outside of that, perhaps comment on this issue: https://github.com/f4exb/sdrangel/issues/1558
If you need something outside of that, perhaps comment on this issue: https://github.com/f4exb/sdrangel/issues/1558
Re: External PTT Relay Control
I noticed some new items in the Simple PTT block that looked like they might be applicable but nothing happens when I click on them other than the buttons highlighting, which doesn't seem to do anything. I can't figure out how to configure any of the command features and the help section doesn't contain any info about this. Can you provide any guidance?
Re: External PTT Relay Control
Ah - looks like it isn't quite ready. Have commented on the issue mentioned above.
Re: External PTT Relay Control
This has been implemented in the latest release: https://github.com/f4exb/sdrangel/releases/tag/v7.14.2
Re: External PTT Relay Control
EDIT: I figured out the problem. I had to include the full directory to the application in the scripts.
Hi again. Sorry to resurrect this thread but I'm revisiting this after giving it a break for a while.
I figured out how to write very basic batch scripts that successfully open and close the relays of the USB relay board I have but when I try to use these via SDRangel, they don't work. On reviewing the documentation, it seems SDRangel is actually passing arguments on to the script, which is probably breaking the script because it's not written to handle any inputs. How can I get around this?
RX-TX script:
TX-RX script:
Running version 7.15.2 on Windows 11
Hi again. Sorry to resurrect this thread but I'm revisiting this after giving it a break for a while.
I figured out how to write very basic batch scripts that successfully open and close the relays of the USB relay board I have but when I try to use these via SDRangel, they don't work. On reviewing the documentation, it seems SDRangel is actually passing arguments on to the script, which is probably breaking the script because it's not written to handle any inputs. How can I get around this?
RX-TX script:
Code: Select all
CommandApp_USBRelay BITFT open 01
ping /n 1 /w 100 localhost >nul
CommandApp_USBRelay BITFT open 02Code: Select all
CommandApp_USBRelay BITFT close 02
ping /n 1 /w 100 localhost >nul
CommandApp_USBRelay BITFT close 01Re: External PTT Relay Control
Hi again.
I've been successfully using this PTT plugin with a combination of an RTL-SDR and a HackRF. I just got an upgraded Pluto+ SDR that I'd like to use with the plugin but the plugin doesn't seem to be compatible with the Pluto. If I try to use it with the Pluto+ MIMO device, it doesn't recognize the MIMO device as an option for RX/TX. If I try to use the normal single channel RX and TX devices separately, SDRangel crashes.
Any advice?
I've been successfully using this PTT plugin with a combination of an RTL-SDR and a HackRF. I just got an upgraded Pluto+ SDR that I'd like to use with the plugin but the plugin doesn't seem to be compatible with the Pluto. If I try to use it with the Pluto+ MIMO device, it doesn't recognize the MIMO device as an option for RX/TX. If I try to use the normal single channel RX and TX devices separately, SDRangel crashes.
Any advice?
Re: External PTT Relay Control
Can I please get a response on my last post? I'd really like to get SDRangel working with my SDR. Right now, I'm forced to use SDR Console but I'd rather use SDRangel if I could. I'd really appreciate some help here!
Re: External PTT Relay Control
Open an issue on github:
https://github.com/f4exb/sdrangel/issues
Include a stack trace of the crash, if you can. I don't have a pluto, so can't really help.
https://github.com/f4exb/sdrangel/issues
Include a stack trace of the crash, if you can. I don't have a pluto, so can't really help.
Re: External PTT Relay Control
Will do. What's the process for pulling a stack trace?
