开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Tiny SA Ultra - What do the parameters of the lna2 command mean


 

Hi,

For the lna2 command what do the numbers 0..7 mean?

Are they accessible from the device menu screen?

Regards
Rob


 

0..7 is the available range of gain settings
Why do you use this?
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


 

开云体育

Hi Erik,

I am going to use auto, but I am writing a channel scanning monitor in B4j which I will publish when I have completed it.? I just want to ensure the application covers all of the parameters available.??

So what are the gains selected for each number?? I wish to make a drop down list for the user to select the gain they want plus AUTO which would be the default.

I am building this thing because our TV channels drop out when the satellite down link to the transmitters fails during rain events.? The signals are down around -85 dbm so the LNA improves the signal to noise ratio. A lot of people in our area have bought new antennas to get over the problem? of dropout, but of course this is pointless as the problem is with the transmitter down-link not the transmitters themselves.?

At the moment I am using my Tektronix RSA 607A to do the monitoring, but it ties it up 24/7 and I use it a lot for ad hoc stuff. That is why I am building the channel monitor App using the TinySA Ultra.? The software of the Tek is pretty clunky and its logging facilities are pretty hopeless so I'm rolling my own.

Here is a screen shot of my app's config tab page.? All the configs are stored in an sqLite db, and the logged data will use a separate sqLite db.??

I will probably sample the channels every minute, but log the channels every five minutes unless the signals of any channel fall below a minimum or increase above a maximum, then I will generate a log entry to record the change.??

I have used sqLite for a number of logging apps and it is very robust and flexible. sqLite also handles power loss or crashes as it has a write ahead feature (WAL) which prevents corruption under most power loss or crash conditions.?
Writing binary or csv files doesn't cover this. SqLite although it is a single user db without record locking does allow multiple reading. In logging apps this is fine because only one app is writing to the database. SqLite is also ubiquitous on Android and Apple phones so it is multi-platform.

It is easy to export queried data to csv using tools like sqLite Studio, DB Browser or from any app in pretty much any language.??

I use B4j as it is written in Basic and a bit of Java, has a good community and is in active development. It doesn't have a steep learning curve like C++ or Qt.

You can see from the screen shot the channel allocations used on our Mt Tassie transmitters.? There are five channels:

  • Southern Cross TV
  • Australian Broadcasting Commission
  • Special Broadcasting Service
  • Win TV
  • Prime TV

Each channel has multiple services encoded within them.

The blue line represents the band width of the channel and the colored horizontal line represent the trigger thresholds. I have the scanning and averaging of scans working.

I now have to write the trigger code and the code to store the scanned data into the data DB.

I also have a LiteVNA which I use for TV antenna troubleshooting. I have a Tektronix TTR607A for the lab work, but it is too expensive

to cart around, it needs ac mains and the Tek software is clunky and very limited. It doesn't even provide time domain measures for cable analysis.?

The LiteVNA is perfect for this work.

Kind Regards

Rob

-------------------------------------------------------------

On 4/02/2024 5:25 pm, Erik Kaashoek wrote:

0..7 is the available range of gain settings
Why do you use this?
--
Designer of the tinySA
For more info go to


 

Bob,
You should not use the "lna2" command as it is for internal use only and it cause the measured values to be wrong
If you need the lna use the "lna on|off command"
But give you are talking about TV signals you probably won't need the lna.
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/


 

开云体育

That's OK,


But I do need the LNA it gives me a big boost in SNR. The TV signals are down around -80dB mark.

Regards

RJG

On 6/02/2024 5:12 pm, Erik Kaashoek wrote:

Bob,
You should not use the "lna2" command as it is for internal use only and it cause the measured values to be wrong
If you need the lna use the "lna on|off command"
But give you are talking about TV signals you probably won't need the lna.
--
Designer of the tinySA
For more info go to


 

Use the lna command. Not the lna2 command
--
Designer of the tinySA
For more info go to https://tinysa.org/wiki/