Welcome to Radarspotting. Please login or sign up.

April 29, 2026, 09:12:12 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.

AcarsDeco2 Development

Started by Radio2.0, October 12, 2013, 06:58:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hobbyd

Quote from: Radio2.0 on June 30, 2018, 01:37:44 PM
You know you can EDIT your Posts? Its very rude to write 3 Posts in a row!
Yes I know and I do.
But my last 3 posts where on different subjects and I tried to make that clear by using a different subject.
While on that subject, IMHO it would be better if the subject of a post was relevant to the content.
So I changed 'your' subject as it has nothing to do with Acarsdeco2 Development.

Quote from: Radio2.0 on June 30, 2018, 01:37:44 PM
230V -> 5V to power the Pi up.
I have an Outdoor Antenna and an 3x Output Splitter.
When I have connect the Laptop to Port 1 with the SDR and Power the Pi up who is connect to Port 3 on the Splitter (2 is the other Dongle who is connected to my Laptop) I can see in SDR# how the Noise increase instantly.  ???
So you have one antenna => splitter
port 1: SDR, laptop
port 2: dongle, Pi
port 3: dongle , laptop

It seems clear that the noise is from your Pi.
Now the question is,
- is it from the Pi and via the dongle on the Pi inserted by the splitter or
- is the Pi or dongle on the Pi radiating noise that is picked-up by the antenna.

What happens if you see the noise and disconnect the Pi-dongle from the splitter?

What kind/model splitter are you using?



Radio2.0

Nobody ever care about the subject.  ;)

QuoteSo you have one antenna => splitter
port 1: SDR, laptop
port 2: dongle, Pi
port 3: dongle , laptop
or an different order but the dont care.
QuoteWhat happens if you see the noise and disconnect the Pi-dongle from the splitter?
What kind/model splitter are you using?
I see also Noise. The noise is not there when I "just" Recharge my Phone via. the 230V -> 5V Dongle.
I dont know (now). Its from Ebay and it was in some Industrial Application. There are NO information about that. I am happy to got them. I know I should use "better" one but at the moment I have to build an System and see what kind of Software what can do and better how to decode it.
>>> I looking for People who want exchange the VRS Data with me. <<<
I life near LOWW / VIE and see Ground Traffic too.

Anmer

#152
Quote from: Radio2.0 on June 30, 2018, 01:37:44 PMYou know you can EDIT your Posts? Its very rude to write 3 Posts in a row!

It's totally acceptable to ask more than one question in the same post.

Please remain on topic and don't worry about moderating this forum.  That's my job.
Here to Help.

Hobbyd

Quote from: Radio2.0 on June 30, 2018, 02:29:21 PM
Quote
Nobody ever care about the subject.  ;)
That is unfortunate  :( as it makes clear what it is about without having to read all of it.
And I do! 

QuoteThe noise is not there when I "just" Recharge my Phone via. the 230V -> 5V Dongle.
Uhhh, so far I thought we meant 'RTL-SDR dongle' when the word dongle was used.
But now it seems you mean a charger.
Correct?

QuoteI know I should use "better" one but at the moment I have to build an System and see what kind of Software what can do and better how to decode it.
Try feeding your Pi via USB from your laptop. See if that makes a difference.

What type of RTL-dongle do you have?  A model v3 with the metal case or the older ones with plastic cases?

Just on a slightly different subject.
I see you live near LOWW.
Have you tried dumpvdl2 or vdlm2dec on your Pi using an RTL-SDR dongle?

Radio2.0

I use at the moment an N36L "Server" who run with 99% with 2x ACarsdeco + 2 ModeSdeco2 + CB Radio Data Transmission Software.  ;D
I cant plug in anything at the moment.
Hmm good Question.  :P I think for ADSB I use the Metal and for ACARS the Plastic Case.
I make my own Test and some other SDR Chipset had better results than the "we" common use. I dont know which one the are at the moment.

The Chipset was discontinued or something like this and I will wait for further Chipsets who are maybe better.
>>> I looking for People who want exchange the VRS Data with me. <<<
I life near LOWW / VIE and see Ground Traffic too.

eddt38

Hi,

I'm using acarsdeco2 on a Pi2 for a while and it's running very good.
VRS is on my PC and I have pictures and the extra informations on my ACARS. (LAT: 52.65230° LON: 13.97881° TRK: 285° GS: 409 kts V/S: -64 ft/m ALT: 38000 ft )

Now my questions:


  • Is it possible to show the distance between my location and the planes in this information-line? ( --vrs url... <which argument> ? )
  • I would like it if entries with green circles from back pages are shown on front pages again.


And a question for Display-Launcher to create aircrafts_p.txt and aircrafts_s.txt:
I have only comma in by txt. Why?
At TOOLS I select my Basestaion.sqb,bu t no entries.

Can someone create some new files? Thank you.  ;)

Greetings from Berlin,
Marcus

yaniv

Hey guys,

I'm having a strange problem here.
AcarsDeco2 works great but few minute to an hour after starting it I get a db error and the app dies.

I'm on win10 and the SQB is on a share on an ubuntu machine at the same network (same switch and both ETH).
This is my setup:

acarsdeco2.exe --device-index 1 --gain 38.6 --freq-correction -1 --freq 131725000 --http-port 9999 --vrs-url http://test:test@192.168.1.3:8888 --db S:\Backups\BaseStation.sqb --silhouettes "D:\Cloud Storage\SkyDrive\Documents\VirtualServer_Sources\SilhouettesLogos" --banners "D:\Cloud Storage\SkyDrive\Documents\VirtualServer_Sources\OperatorLogos" --logfile G:\Downloads\Software\ADS-B\acarsdeco2_windows_20180603\logs\ARCAS --logfile-esbs G:\Downloads\Software\ADS-B\acarsdeco2_windows_20180603\logs\ARCAS


You can see the error messages at the attached image.
Would appreciate any help ...

[Attachment deleted by Admin to save file space]

Hobbyd

The error suggest that:
a. the program has no rights to access the database.
Try to create a file in the directory the DB sits from you Win PC.
b. the database is configured as 'read-only'.

Is there a specific reason/requirement to have the program o Windows and the database on Unix?
In other words, why not run both on the same machine?

Cheers,
Dick


yaniv

Quote from: Hobbyd on September 04, 2018, 10:46:23 AM
The error suggest that:
a. the program has no rights to access the database.
Try to create a file in the directory the DB sits from you Win PC.
b. the database is configured as 'read-only'.

Is there a specific reason/requirement to have the program o Windows and the database on Unix?
In other words, why not run both on the same machine?

Cheers,
Dick

a. I can access the db with Sqlite browser from the win10 machine and there's no problem creating, modifying and deleting files from the same directory.
b. The db was created by VRS and to my knowledge there should be no restrictions. Tested modifying and deleting data from the win10 machine using the Sqlite browser.

I have no REAL reason for using my win10 for this except maybe for being my main system and more available to play with.
I'm getting a feeling that the crash happens when VRS and AcarsDeco2 both try to write to the db at the same time. One is probably getting a RO error. When it happens to VRS it copes and retries ... AcarsDeco2 on the other hand just crashes.

Hobbyd

Hmmm, so it  is more complicated.

QuoteI'm getting a feeling that the crash happens when VRS and AcarsDeco2 both try to write to the db at the same time. One is probably getting a RO error. When it happens to VRS it copes and retries ... AcarsDeco2 on the other hand just crashes.

You could be right, so stop VRS for a couple of hours and see what happens.

On the other hand it seems odd (unexpected) that when both programs are writing to the db at the same time it would cause a RO exception.
Another exception would be much more appropriate.
Or did VRS set the DB to read-only while it was updating?

I guess we need the source of both programs to determine which of the two (or both) are not handling this situation correctly.
Or a transaction monitor to view what goes on, but I don't know if sqlite has such a tool..

Cheers,
Dick


yaniv

Quote from: Hobbyd on September 04, 2018, 05:49:09 PM
Hmmm, so it  is more complicated.

QuoteI'm getting a feeling that the crash happens when VRS and AcarsDeco2 both try to write to the db at the same time. One is probably getting a RO error. When it happens to VRS it copes and retries ... AcarsDeco2 on the other hand just crashes.

You could be right, so stop VRS for a couple of hours and see what happens.

On the other hand it seems odd (unexpected) that when both programs are writing to the db at the same time it would cause a RO exception.
Another exception would be much more appropriate.
Or did VRS set the DB to read-only while it was updating?

I guess we need the source of both programs to determine which of the two (or both) are not handling this situation correctly.
Or a transaction monitor to view what goes on, but I don't know if sqlite has such a tool..

Cheers,
Dick

OK, a little bit of VRS research revealed this:
Quote
SQLite doesn't lock the database file over the duration of a connection, it holds locks over the duration of read and write operations (see http://www.sqlite.org/lockingv3.html).

The first thing to note is that it is unsafe to write to SQLite files across the network - you will need to make sure that VRS and your program are both running on the same machine (see http://www.sqlite.org/lockingv3.html#how_to_corrupt). One symptom of writing SQLite files across a network is that you can end up with weird locking problems.

So ... AcarsDeco2 and the dongle regally moved to the ubuntu machine with the VRS and it seems that all are content with their db usage.

Hobbyd

Thanks for the update and info..
Good to know..

Cheers,
Dick

vortilon

This is a bit off the topic but concerning ACARS monitoring on acarsdeco2 software, while monitoring ACARS messages the following thread started appearing apart from standard messages:
"ERROR Aircraftcache :: getAircraftList <> regno in DB but not in cache"
it starts appearing every several seconds while acarsdeco2 is working  and receiving standard ACARS messages. Do you have any idea how to fix the bug, mayby you had heard something about it and know how to cope with it, maybe the software needs to be upgraded to the latest release date but I don't want to touch anything as not to make ACARS decoder working worse, due to situation may I ask for any assistance in that matter?

Thank you,
Martin


eddt38

Hi,

looking for fresh versions of

aircrafts_s.txt
aircrafts_p.txt
airlines.tx.

Thank you,
Marcus

gonzalu

Quote from: vortilon on September 10, 2018, 08:07:28 PM
This is a bit off the topic but concerning ACARS monitoring on acarsdeco2 software, while monitoring ACARS messages the following thread started appearing apart from standard messages:
"ERROR Aircraftcache :: getAircraftList <> regno in DB but not in cache"
it starts appearing every several seconds while acarsdeco2 is working  and receiving standard ACARS messages. Do you have any idea how to fix the bug, mayby you had heard something about it and know how to cope with it, maybe the software needs to be upgraded to the latest release date but I don't want to touch anything as not to make ACARS decoder working worse, due to situation may I ask for any assistance in that matter?

Thank you,
Martin

If you look further back in this thread, the author states he is troubleshooting in his dev environment but he cannot reproduce it. So it is like that for now until fixed.
/Manny