Welcome to Radarspotting. Please login or sign up.

June 15, 2026, 04:45:42 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

ModeSMixer and PP

Started by Triple7, June 13, 2014, 11:37:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Triple7

As regular readers will know, I've recently started using ModeSMixer with BaseStation to allow me to share my received data across my LAN. I also use the feed into PP but I have noticed a small anomaly. The Radar IID's and BeamFinder beams do not show up on PP when ModeSMixer is in the mix (pun intended). Here's my ModeSMixer bat file:

@echo off
E:\ModeSMixer\modesmixer2.exe --inConnect 192.168.1.170:10001 --outServer sbs10001:10001 --filter-nocountry
PAUSE
exit

I am seeing the additional info. in PP i.e. when 'W' (shift w) is pressed (wind strength, direction and outside temp), it's just that there are no IID's or beams displaying.

If I stop ModeSMixer and reset my SBS to 192.168.1.170 port 10001 in the BaseStation Hardware settings and restart PP both the IID's and subsequently if I select a target aircraft, the beams appear.

In PP under  Options>>Mode-S Receiver>>Kinetic SBS Family>>SBS-1 BS IP Address I have 127.0.0.1:30006, I have tried with other IP addresses 192.168.1.10, the address of the PC running ModeSMixer and also 192.168.1.170 the SBS IP address but that doesn't make any difference.

It seems as though ModeSMixer is preventing some information from being passed from BaseStation to PP.

sergsero or anyone - any thoughts?

Thanks,

Tim
SBS-1eR, FA ProStick + 1090 filter

sergsero

Hello Triple7,

I will try to find out what could be the problem.

/sergsero

sergsero

#2
Hello Tim,

Please test this new version of the program - ModeSMixer2 v.20140616: modesmixer2_windows_20140616.zip https://drive.google.com/file/d/0B7NYXizl0U6iYUVpZGRqbUhEN28/edit?usp=sharing

+ changed the algorithm for determining of PI (Parity/interrogator identifier) - downlink field that have parity overlaid on the interrogator's identity code
  and shall appear in the Mode S all-call reply, DF = 11 and in the extended squitter, DF = 17 or DF = 18.
+ changed the algorithm for processing of Interrogator Codes II (Interrogator Identifier) and SI (Surveillance Identifier) for data transcoding in RAW SBS formats.
  Due to incomplete support by PlanePlotter bidirectional data communication for starting procedure of connection should be used sbs30006 output mode: "... --outServer sbs30006:30006 ..."

In other words if you want to connect PlanePlotter directly to ModesMixer2 and to get the RAW data, use mode --outServer sbs30006:30006. This number of tcp-port (:30006) may be set to other.
The program itself Basestation.exe will connect, as before, through --outServer sbs10001:10001 mode.

modesmixer2.exe  --inConnect IP:Port --outServer sbs10001:10001 --outServer sbs30006:30006 --filter-nocountry  (first for BS and second - for PP)

In my tests the data was obtained via the Internet in AVR format from the region, where there are appropriate interrogators with IID. Then they were given to Basestation.exe in its RAW sbs10001 format. And finally data outputting from Basestation.exe through a network to PlanePlotter in sbs30006 mode.

modesmixer2.exe  --inConnect IP:Port --outServer sbs10001:10001 --filter-nocountry



Thanks,
sergsero

Triple7

Hi Sergsero,

I have tested this new version and it has fixed the issue - great job thanks very much.

One tiny point - in your batch file script you wrote "----outServer....." i.e. 4 x '-' and not 2 x '-' so the line should be:

modesmixer2.exe  --inConnect IP:Port --outServer sbs10001:10001 --outServer sbs30006:30006 --filter-nocountry

Exactly as you wrote it in the main part of your post.

Thanks,

Tim
SBS-1eR, FA ProStick + 1090 filter

sergsero

Hi Tim,

Thank you for the detected problem in the program. And well, that it was quickly resolved.

About The "----" is my misprint, rightly, as before, only two hyphens "--", thanks.

Tim, it is possible that you will find some other problems in the program, please, report them to me. I will be very grateful and will try to fix them quickly.

Thanks,
sergsero

mt007

Hy guys,
sorry if my question has been answer in past but i dont find nothing about that.

Is possible use ModeSMixer2 with planeplotter or Beast?

I have Beast, sending data to PP.

If possible, how i can do it?

Thanks very much.
Kind regards.
Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

IanH

Why would you want to?

If the Beast is sending data to PP ok, you don't need ModeSMixer.

But if you want to combine and rebroadcast ads-b feeds it is very useful.

See here: http://sonicgoose.com/combining-and-rebroadcasting-ads-b-feeds-with-modesmixer2/

mt007

#7
Hi Ian,
i use VRS too, to see my planes, but i have another users with others maps, like dump1090 and i was think with modesmixer we can see another maps system too, supose.
I go see website you have give me.

No more easy explain?

Thanks Ian.
Regards
Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

IanH

Ok an example - you need to run this in a command prompt in Windows or set up a batch file. There might be mistakes here - let us know of errors.

Suggest you try one thing at a time to check it's working. I don't have a Beast so cannot be sure all this will work - make sure you note your current settings!!

path_to\modesmixer2 --inSerial /COMx:3000000:hardware --outServer beast:30005 --outServer sbs10001:10001 --web 8080 --location yy.yyyy:xx.xxxx

path_to\modesmixer2 "path_to" is C:\Radar\ or wherever you have modesmixer2 installed

--inSerial /COMx:3000000:hardware I think this is correct - I don't have a Beast. Substitute the serial port number it is connected to for x in COMx. You might have to stop the existing connectionto PlanePlotter to get this to work.

--web 8080 This will plot the input from the Beast on a map (if it is working ok). Open a browser and type 127.0.0.1:8080 into the address box. You will also get other data to view  ;D

--location yy.yyyy:xx.xxxx add your latitude and longitude so modesmixer2 can centre the map on your location.

--outServer beast:30005 This provides Beast output that you can use to connect PP to. In PP, Options, ModeS receiver, Setup TCP client add 127.0.0.1:30005. I think that this still allow MLAT to work ok - anyone confirm?

--outServer sbs10001:10001 this would allow you to connect the Basestation software if you want. Another option is to connect GlobeSRTL - see instructions for RTL1090 as well

mt007

Hi Ian,
thanks very much for your help.

Web works fine, but with no data.

I have put this in CMD:

C:\modeSmixer2>modesmixer2_xp.exe --inSerial /COM11:3000000:hardware --outServer beast:30005 --web 8080 --location 38.693276:-9.312758

or in beast:30003

and i have received this info in CMD:

2015-10-09 15:17:17.691  INFO     ModeSMixer2 v.20150825
2015-10-09 15:17:17.701  INFO     outServer(beast:30005) started
2015-10-09 15:17:17.820  INFO     inSerial(/COM11:3000000) connected
2015-10-09 15:17:17.835  INFO     inSerial(/COM11:3000000) BEAST data stream det
ected
2015-10-09 15:17:40.239  INFO     Coverage area was determined


Only ON modesmixer2 and web nothing else. I try work at same time with PP but nothing happen.

Any idea?
Regards.
Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

IanH

My mistake. Should be

--inSerial COM11:3000000:hardware

not

--inSerial /COM11:3000000:hardware

mt007

Hi Ian,

i have put this:

C:\modeSmixer2>modesmixer2_xp.exe --inSerial COM11:3000000:hardware --outServer beast:30003 --web 8080 --location 38.693276:-9.312758

And now: WORKsssssss. ;D

thanks very much Ian.
Im very happy.

Tell me: i can at same time have PP o VRS work with modesmixer2?

Regards


Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

IanH

Yes the "--outServer beast:30005" instruction is sending information which you can use to run PP.  In PP, Options, ModeS receiver, Setup TCP client add 127.0.0.1:30005

I think that you can also get VRS to connect to this output. In Tools/Options/Receivers, enter the IP address of the Pi and 30005 for the port

mt007

#13
Hi Ian,
I will check that.

Is not possible modesmixer2 make backup of data?
Every time i have shutdown to add new line for example: silhouettes, modesmixer erase all data from web.

Note: i cant make download of IanK's silhouettes. Error in webpage.

Thanks very much for your help.
Regards,
Miguel Teixeira
Beast user, Ex: SBS1er and RB, PP sharer aH Live Traffic

IanH

Just use the up arrow key or down arrow key to show previous commands. The you can add to it.

There are other ways but start with that  ;D