Actions

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

From The RadioReference Wiki

m
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Notes==
 
 
* This capability started with version 4.39.10. As always, be sure to get the most up to date version from the website
 
* This capability started with version 4.39.10. As always, be sure to get the most up to date version from the website
  
* 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
+
* So far, the new RSPdx is not compatible with these procedures
  
 
* 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
 
* 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
  
* 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.
+
* The following DLLs and EXE file must be in the Multipsk directory
 +
**mir_sdr_api.dll
 +
**msvcr100.dll     
 +
**pthreadVCE2.dll 
 +
**vcruntime140.dll 
 +
**rsp_rcp.exe (thanks to F4FHH Nicolas and SDRplay)
  
==Instructions==
+
*Questions about this procedure should be directed to the [https://groups.io/g/multipsk Multipsk] reflector at groups.io
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).
+
 
 +
==For 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>
 +
 
 +
 
 +
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/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/adress)''' button, which is found immediately below the  
Line 22: Line 35:
 
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).  
+
==For the RSP2 and RSPduo==
Note that this option is not stored, so, you must manually set this option each time Multipsk is started.
+
=== Restrictions===
 +
*The bias Tee control on the RSP2 doesn't work with this connection.
 +
*The RSPduo will only run in single tuner mode
 +
*Sometimes the above procedure (referred to as the ''direct method'') works, sometimes not. The cause is currently unknown. If it doesn't work, follow the directions below (the ''indirect method'')
  
You can add parameters to RSP_RCP.exe using a text editor. Insert them after the '''Parameters:''' caption. These parameters don't control the
+
=== Instructions ===
digital deocding function, rather they are used to address the SDRPlay hardware. Examples include;
+
* 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>
 
-P2 for PORT HIz
 
</div>
 
 
 
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>
 
</div>
 
+
*The following options may be added
==Figures==
+
**-P0  for port A (which is the default)
<gallery>
+
**-P1  for port B
Image:Multipsk sdr settings.jpg|Figure 1 - click to enlarge
+
**-P2  for the Hi Z port
Image:Multipsk transceiver form.jpg|Figure 2 - click to enlarge
+
* Change the extension using Windows File Explorer from .txt to .bat
</gallery>
+
* 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
 +
  
 
---
 
---
 
* Return to [[Copy SW Radiogram using SDRPlay SDRs]]
 
* Return to [[Copy SW Radiogram using SDRPlay SDRs]]
 
+
* Return to [[Decoding Software that Interfaces with 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 17:45, 5 January 2020

  • This capability started with version 4.39.10. As always, be sure to get the most up to date version from the website
  • So far, the new RSPdx is not compatible with these procedures
  • 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
  • The following DLLs and EXE file must be in the Multipsk directory
    • mir_sdr_api.dll
    • msvcr100.dll
    • pthreadVCE2.dll
    • vcruntime140.dll
    • rsp_rcp.exe (thanks to F4FHH Nicolas and SDRplay)
  • Questions about this procedure should be directed to the Multipsk reflector at groups.io


For 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/adress) 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.


For the RSP2 and RSPduo

Restrictions

  • The bias Tee control on the RSP2 doesn't work with this connection.
  • The RSPduo will only run in single tuner mode
  • Sometimes the above procedure (referred to as the direct method) works, sometimes not. The cause is currently unknown. If it doesn't work, follow the directions below (the indirect method)

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


---