Click here to go to the forum index Click here for the home page
 
Author Message

<  TAPs  ~  TAP to log bit errors?

Page 1 of 1
AndersG
Posted: Tue Dec 04, 2012 10:25 pm Reply with quote
Joined: 23 Jul 2012 Posts: 21 Location: Åland Islands
Assuming a PVRc5100, how difficult would it be to write a TAP that logged the BER (Bit error rate) to a file, say every 60 seconds?

I am reasonably good at C/C++ programming, but would appreciate pointers in the right direction Smile

Format would be a textfile with one line per sample, either just the error counters or time;error
View user's profile Send private message
alan_m
Posted: Tue Dec 04, 2012 11:10 pm Reply with quote
Frequent contributor Joined: 18 Oct 2006 Posts: 3359
AndersG wrote:
Assuming a PVRc5100, how difficult would it be to write a TAP that logged the BER (Bit error rate) to a file, say every 60 seconds?

I am reasonably good at C/C++ programming, but would appreciate pointers in the right direction Smile

Format would be a textfile with one line per sample, either just the error counters or time;error


Many TAP authors provide the source code for their TAPs
For instance on a 5800/5810 the Signal Monitor TAP checks the "quality" figure at regular intervals. The quality figure is probably directly related to the BER. It also writes a snapshot to a file.
This tap can be found at TapWorld and the download includes the source code
http://www.tapworld.net/
http://www.tapworld.net/index.php?option=com_content&task=view&id=318

A few years a TAP monitoring the RAM usage at regular intervals streamed the data out via the rs232 port. (This TAP is no longer to be found - broken web page links)

See also the Tap development forum
http://forum.toppy.org.uk/forum/viewtopic.php?t=2024

_________________

5800 - 1Tbyte HD and fan F/W: MS6, 5.13.65T 18 Nov 2010 -Te+B2D plus aXeL
Auto Start:MyStuff 6.5|EPG2MEI v0.96|Extend v1.7|SecCache (UK) v0.4|TF5000 Display v1.53|MHEG On/Off A3
View user's profile Send private message Visit poster's website
Geoff Bacon
Posted: Tue Dec 04, 2012 11:22 pm Reply with quote
Frequent contributor Joined: 12 Jan 2007 Posts: 3740
But if you use the Serial Interface, please be aware that other taps may also output to it (no problem if you are using it for your own use but may be an issue if you make your tap available to others)

Geoff

_________________
TopManager program
TF5800, TS On, F/W: MS6 Recommended F/W 12/9/2009 -Sy
TAPs: PcControl B1.4; StopExit v1.01; EPG2MEI v0.96; QuickJump 1.72; MyStuff 6.6; Font Manager 1.0d; Extend v1.7; SecCache (UK) v0.4; EIT Sub (Game) v0.6; MHEG On/Off A3; MyInfo B5.6; WSSkiller V2.12d; CrashTrace v0.4; fsSave 1.1; PruneEPG 1.0;
Sig generated by MyInfo on 17/1/16
View user's profile Send private message Visit poster's website
AndersG
Posted: Wed Dec 05, 2012 10:14 am Reply with quote
Joined: 23 Jul 2012 Posts: 21 Location: Åland Islands
OK. Logging it to the Toppy disk will be quite enough. The amount of data is not that big. I will check out the source code, but IIRC did I try running that one on my 5100 and it crashed.

Also, is there a good doc available on setting up a build environment for building TAPs?
View user's profile Send private message
AndersG
Posted: Wed Dec 05, 2012 3:18 pm Reply with quote
Joined: 23 Jul 2012 Posts: 21 Location: Åland Islands
Silly me. Did not notice the developer forum. Too far down the page....
View user's profile Send private message

Display posts from previous:  

All times are GMT + 1 Hour
Page 1 of 1

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum