Actions

Difference between revisions of "Connect the SDRPlay RSPs via TCP IP to Multipsk"

From The RadioReference Wiki

m
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Notes==
+
* A PC with some horsepower is needed for using TCP/IP. A PC with at least a 1 Ghz processor is a good starting point
* This capability started with version 4.39.10. As always, be sure to get the most up to date version from the website
+
 
 +
* Questions about this procedure should be directed to the [https://groups.io/g/multipsk Multipsk] reflector at groups.io
 +
 
 +
* MultiPSK version 4.43.1 or later is required for connecting to the RSP DX
 +
 
 +
==Using RSP TCP v 1.1==
 +
* This procedure applies to '''all SDRPlay devices'''. See the Known Issues section for notes on the RSP Duo
 +
* You must install SDRUno release 1.4 RC3, which can be found [https://www.sdrplay.com/sdruno/ here]
 +
* The following DLLs are installed in the MultiPSK directory 
 +
**msvcr110.dll
 +
**libpthread.dll
 +
**sdrplay_api.dll
 +
**rsp_tcp v 1 1.exe
  
* These instructions are built around the RSP1; for the RSP2 (maybe other SDRPlay RSPs, too), it appears you need to start RSP_TCP.exe first, but this needs confirmation
 
  
* A PC with some horsepower is needed for using TCP/IP. A PC with at least a 1 Ghz processor is a good starting point
+
===Connecting the RSP1 / RSP1A===
 +
===Connecting the RSP2/ RSPDuo===
 +
===Connecting the RSP DX===
 +
* Click on the '''Options (port/address)''' button
 +
* Push the '''rsp_tcp V.1.1''' button
 +
* Press '''Quit'''
 +
* This procedure is only needed once. In the future, just press the '''SDRPlay''' button to connect to the RSP DX
 +
 
 +
===Known Issues===
 +
====RSP Duo====
 +
* The RSP Duo works but only on the default antenna port
 +
* The P commands for selecting the port no longer work.
 +
* The Bias T command does work, but only on the second tuner but this tuner appears to be unavailable
 +
 
 +
 
 +
==Using RSP TCP v1.0==
 +
*This version is '''not compatible''' with the RSP DX
 +
*The following DLLS and EXE files are installed in the MultiPSK directory:
 +
**mir_sdr_api.dll
 +
**msvcr100.dll     
 +
**pthreadVCE2.dll 
 +
**vcruntime140.dll 
 +
**rsp_tcp.exe (thanks to F4FHH Nicolas and SDRplay)
 +
 
  
* You will need the TCP Server app, which can be found in the SDRPlay [https://www.sdrplay.com/downloads/ downloads page]. Instructions on using the app are also there.
+
====Connecting the RSP1 and RSP1A====
 +
<gallery>
 +
Image:MultiPSK first screen.jpg|Figure 1 - click to enlarge
 +
Image:Multipsk transceiver form.jpg|Figure 2 - click to enlarge
 +
</gallery>
  
==Instructions==
+
When you push the '''SDRPlay''' button (figure 1), an I/Q signal will be sent through the TCP/IP server using rsp_tcp.exe. According to tests, it works with Windows 10 and probably earlier versions of Windows. Vista has been tested successfully.
When you push the '''SDRPlay''' button (figure 1), an I/Q signal will be sent through the TCP/IP server using rsp_tcp.exe. According to tests, it works with Windows 10 and possibly earlier versions of Windows.
 
  
The sampling frequency is 250 Khz (except for ADS-B, which uses a 2 Mhz sampling frequency).
+
The sampling frequency is 250 Khz but switches to 1 Mhz for all modes except ADS-B, which uses a 2 Mhz sampling frequency.
  
The default TCP/IP parameters are given below; they can be changed by clicking the '''Options (port/adress)''' button, which is found immediately below the  
+
The default TCP/IP parameters are given below; they can be changed by clicking the '''Options (port/address)''' button, which is found immediately below the  
 
'''SDRPlay''' button (figure 1).
 
'''SDRPlay''' button (figure 1).
 
* The default address is 127.0.0.1. To use another server, paste the server IP address here
 
* The default address is 127.0.0.1. To use another server, paste the server IP address here
Line 20: Line 57:
 
If you wish to listen to the demodulated sound, click on the '''+Speaker''' button
 
If you wish to listen to the demodulated sound, click on the '''+Speaker''' button
  
Once you press the '''RX/TX Screen''' button, you can use the '''Transceiver''' form to control the frequency and gain. Note that the '''TX''' button on this form won't function (figure 2). In addition, references to Ham Radio Deluxe and Commander can be safely ignored.  
+
Once you press the '''RX/TX Screen''' button, you can use the '''Transceiver''' form to control the frequency and gain. Note that the '''TX''' button on this form won't function (figure 2). In addition, references to Ham Radio Deluxe and Commander can be safely ignored.
 
 
To make this interface possible, several files must be copied to the Multipsk directory:
 
 
 
*mir_sdr_api.dll
 
*msvcr100.dll     
 
*pthreadVCE2.dll 
 
*vcruntime140.dll 
 
*rsp_rcp.exe (thanks to F4FHH Nicolas and SDRplay)
 
  
For RSP2 users; by clicking on the "RSP2 bias-tee", the bias-tee (4.7 V / 100 mA max at the ANT-B antenna output) can be set (On) or reset (Off).
 
Note that this option is not stored, so, you must manually set this option each time Multipsk is started.
 
  
You can add parameters to RSP_RCP.exe using a text editor. Insert them after the '''Parameters:''' caption. These parameters don't control the
+
====Connecting the RSP2 and RSPduo====
digital decoding function, rather they are used to address the SDRPlay hardware. Examples include;
+
==== Instructions ====
 +
* Using your favorite text editor create a batch file (with the extension of .txt) with the following command in it. It must reside in the Multipsk folder.
 
<div>
 
<div>
-P0 for PORT A <br>
+
rsp_tcp.exe -E
-P1 for PORT B <br>
+
</div>
-P2 for PORT HIz
+
*The following options may be added
</div>
+
**-P0 for port A (which is the default)
 +
**-P1 for port B
 +
**-P2 for the Hi Z port
 +
* Change the extension using Windows File Explorer from .txt to .bat
 +
* Execute the file
 +
* If you get a good return, start Multipsk
 +
* Press the '''SDRPlay''' button. You may press the '''+Speaker''' button to hear the demodulated sound
 +
* Press the '''RX/TX Screen''' button
 +
===== Restrictions=====
 +
*By clicking on the '''RSP2 bias-tee''', the bias-tee (4.7 V / 100 mA max at the ANT-B antenna output) of the SDRplay RSP2 can be set ('''On''') or reset ('''Off'''). Note that this option is not saved; it will be necessary to configure this option each time MultiPSK is started.
 +
*The RSPduo will only run in single tuner mode
 +
*If these instructions don't work, use the RSP1/RSP1A method as described above
 +
  
For further details, read the [https://www.sdrplay.com/docs/SDRplay_RSP_TCP_Server_Guide.pdf SDRPlay RSP TCP Server Guide] (note this is a PDF file)
 
  
The following options are not used. Note that MultiPSK doesn't check the user parameters to see if they are correct;
 
<div>
 
-a <br>
 
-p <br>
 
-s <br>
 
-f
 
</div>
 
 
==Figures==
 
<gallery>
 
Image:Multipsk sdr settings.jpg|Figure 1 - click to enlarge
 
Image:Multipsk transceiver form.jpg|Figure 2 - click to enlarge
 
</gallery>
 
  
  
 
---
 
---
 
* Return to [[Copy SW Radiogram using SDRPlay SDRs]]
 
* Return to [[Copy SW Radiogram using SDRPlay SDRs]]
 
+
* Return to [[Connecting Radios to Soundcards]]
 +
* Return to [[HF Software Decoders]]
 +
* Return to [[SDRs and Digital Decoding]]
 +
* Return to [[Shortwave Radiogram Gateway]]
  
 
[[Category:HF Signal Analysis and Decoding]]
 
[[Category:HF Signal Analysis and Decoding]]

Revision as of 20:06, 8 July 2020

  • A PC with some horsepower is needed for using TCP/IP. A PC with at least a 1 Ghz processor is a good starting point
  • Questions about this procedure should be directed to the Multipsk reflector at groups.io
  • MultiPSK version 4.43.1 or later is required for connecting to the RSP DX

Using RSP TCP v 1.1

  • This procedure applies to all SDRPlay devices. See the Known Issues section for notes on the RSP Duo
  • You must install SDRUno release 1.4 RC3, which can be found here
  • The following DLLs are installed in the MultiPSK directory
    • msvcr110.dll
    • libpthread.dll
    • sdrplay_api.dll
    • rsp_tcp v 1 1.exe


Connecting the RSP1 / RSP1A

Connecting the RSP2/ RSPDuo

Connecting the RSP DX

  • Click on the Options (port/address) button
  • Push the rsp_tcp V.1.1 button
  • Press Quit
  • This procedure is only needed once. In the future, just press the SDRPlay button to connect to the RSP DX

Known Issues

RSP Duo

  • The RSP Duo works but only on the default antenna port
  • The P commands for selecting the port no longer work.
  • The Bias T command does work, but only on the second tuner but this tuner appears to be unavailable


Using RSP TCP v1.0

  • This version is not compatible with the RSP DX
  • The following DLLS and EXE files are installed in the MultiPSK directory:
    • mir_sdr_api.dll
    • msvcr100.dll
    • pthreadVCE2.dll
    • vcruntime140.dll
    • rsp_tcp.exe (thanks to F4FHH Nicolas and SDRplay)


Connecting the RSP1 and RSP1A

When you push the SDRPlay button (figure 1), an I/Q signal will be sent through the TCP/IP server using rsp_tcp.exe. According to tests, it works with Windows 10 and probably earlier versions of Windows. Vista has been tested successfully.

The sampling frequency is 250 Khz but switches to 1 Mhz for all modes except ADS-B, which uses a 2 Mhz sampling frequency.

The default TCP/IP parameters are given below; they can be changed by clicking the Options (port/address) button, which is found immediately below the SDRPlay button (figure 1).

  • The default address is 127.0.0.1. To use another server, paste the server IP address here
  • The default port is 1234. but it can be changed with the spin button. Valid values are from 1231 to 1250. This allows the use of several occurrences of Multipsk, each one connected to a different server and receiver.

If you wish to listen to the demodulated sound, click on the +Speaker button

Once you press the RX/TX Screen button, you can use the Transceiver form to control the frequency and gain. Note that the TX button on this form won't function (figure 2). In addition, references to Ham Radio Deluxe and Commander can be safely ignored.


Connecting the RSP2 and RSPduo

Instructions

  • Using your favorite text editor create a batch file (with the extension of .txt) with the following command in it. It must reside in the Multipsk folder.

rsp_tcp.exe -E

  • The following options may be added
    • -P0 for port A (which is the default)
    • -P1 for port B
    • -P2 for the Hi Z port
  • Change the extension using Windows File Explorer from .txt to .bat
  • Execute the file
  • If you get a good return, start Multipsk
  • Press the SDRPlay button. You may press the +Speaker button to hear the demodulated sound
  • Press the RX/TX Screen button
Restrictions
  • By clicking on the RSP2 bias-tee, the bias-tee (4.7 V / 100 mA max at the ANT-B antenna output) of the SDRplay RSP2 can be set (On) or reset (Off). Note that this option is not saved; it will be necessary to configure this option each time MultiPSK is started.
  • The RSPduo will only run in single tuner mode
  • If these instructions don't work, use the RSP1/RSP1A method as described above



---