Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: Ronski on October 16, 2013, 08:15:58 AM

Title: HG612 Stats Editor updates
Post by: Ronski on October 16, 2013, 08:15:58 AM
I've been updating the HG612 Stats Editor, which is a GUI for Bald_Eagle1 HG612 stats logging program.

I've done some behind the scenes updates which were requested by BE, which affect task creation on Vista upwards. The task is now created to run at X seconds taking into account the delay for on going data logging. Also the task priority is now set to normal, instead of the default 'below normal'. Both these should improve reliability in certain scenarios.

I have also added a stats tab, as can be seen in the attached screenshots. I will add multiple tabs to the stats tab like the settings tab. This reads the modem log and displays stats from the last line in the log, and will update whenever the modem log is updated.

What I would like to know is what information people would find useful, and perhaps which tabs (tab name) to put it on. I will also add the ability to graph particular periods, rather than the current last x days/hours/minutes.
 
I'm not sure how long this will take, my spare time is short, and I often have to resort to Google to work out how to do things.

I shall release an update when BE's fixed the current logging problems caused by BTs recent firmware update. Although I can't guarantee what will make it into the update.

--------------------
Edited to add


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)

Minor update.

Code: [Select]
1.1.5123.42731 10-01-2014

Minor bug fix which caused error when a single line modem log file was read.
Duration list in graph viewer now sorted in time order.

Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.


Title: Re: HG612 Stats Editor updates
Post by: kitz on October 17, 2013, 12:27:48 AM
Looking good, looking forward to seeing the update when its ready :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 17, 2013, 08:45:24 AM
Thanks Kitz, but what info would you find useful to see on the stats tab, or indeed separate tabs on the stats tab?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 17, 2013, 09:58:11 AM
ahh I see what you have done, you added a stats tab so people can view stats in a GUI with the loss of the web page, very nice.

Can you add FEC/CRC/HEC stats to that stats page?
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 17, 2013, 10:13:42 AM
Yes I  can add them.

I've also come up with an idea to view the graphs,  where you will be able to select the type of graph and then move through them in date/time order. Which will make it very easy to view daily changes.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 18, 2013, 01:30:31 AM
Thanks Kitz, but what info would you find useful to see on the stats tab, or indeed separate tabs on the stats tab?

TBH Im not sure, since I use DSLstats to get my 'real time' info and HG612 modem stats for graphing.  They both have their uses and work well together.

I would think though that if you were doing a stats page then Errors is the obvious one.

Splitting the SNRm between bands for me would have been useful when I had my line fault, as it would have been nice to be able to see that 'live' rather than just the combined SNRm.

>>>  where you will be able to select the type of graph and then move through them in date/time order. Which will make it very easy to view daily changes.

I like that idea :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 19, 2013, 11:58:04 PM
If anybody would like to give the latest editor/viewer a test drive they can, zip file attached, just save it over your current version - backup your current one though, in case of any problems.

I've disabled the modifications to the task creation code, as BE hasn't updated his programs yet to take these into account.

Any feed back will be gratefully received, and of course if anybody spots any errors then please let me know.

Just to clarify, the editor does not access the modem, all information is read from the modem log file and xlog file, when changes are detected.

Screen shots and zip file attached.

The latest editor will always be attached to the first post in this thread.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on October 20, 2013, 10:42:59 AM
Hi Ronski,

It's looking good  :), so far no issue, currently running it on Win 8 (64).

Cheers
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 10:49:42 AM
Hi Ronski,

It's looking good  :), so far no issue, currently running it on Win 8 (64).

Cheers

Great stuff, thanks for the feedback. Do you have a scheduled task running on Windows 8 for stats logging? If so is it reliable, as we used to have problems.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on October 20, 2013, 12:41:51 PM
Hi Ronski,

The scheduled task that was fine in Windows 8 also seems to be fine in Windows 8.1.  I have attached a copy of the task, the only difference with this and the normal task is that I use a Service Account (Password doesnt change) to run it under as opposed to my own account.

Cheers
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 12:58:00 PM
Thanks for posting that, looks identical to W7. Perhaps MS have fixed the bug in Task Scheduler. I do have a laptop with W8 on it, and of last night it now has W8.1 so I'll create a task on there and see how it goes.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 20, 2013, 02:23:08 PM
Thanks ronski.
Ive downloaded and replaced my old version, but I keep getting the following error (see screen cap)

Im running win7 Pro (64 bit).  The error message will occur & stack up every minute that I have HG612 Editor open.
Ive checked that I have a xlogfile.txt in ongoing stats and that all the paths are correct.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 02:41:37 PM
Could you post a copy of the xlog file that it does it on please so I can take a look, and test it at my end, thanks.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 20, 2013, 03:00:37 PM
Sure :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 03:35:16 PM
Thanks Kitz, it seems that your'e still on the old firmware, and your xlog is laid out slightly differently to mine, and when viewed in Notepad++ there are a lot more blank lines.

I'll need to revise the way I'm scraping the information out of the xlog file. I've got a better idea of how to do it, now, thanks.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 04:00:24 PM
ronski mine runs but this error poped up on launch, and whilst I was prepping the screenshot the same window popped up a 2nd time.

win 7 64bit.

its popping up at intervals, possibly once a minute, will try to count. yes seems to be about once a minute.

also for 21 days 23 hours uptime it reports I got 3 CRC and 0 HEC, I wish my connection really was that good heh, so I think the error may be related to the error stats.

also not related to this little update but I have tons of these in the folder.

ONGOING-ISRUNNING-002600-122.TXT
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 20, 2013, 04:34:01 PM
Same problem as me then Chrys.   Think ronski is looking into it atm.

http://forum.kitz.co.uk/index.php/topic,13078.msg247171.html#msg247171
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 20, 2013, 05:09:04 PM
Thanks Kitz, it seems that your'e still on the old firmware, and your xlog is laid out slightly differently to mine, and when viewed in Notepad++ there are a lot more blank lines.


The blank lines are probably from an older version of HG612_stats.exe.

The blank lines aren't visible when using Windows Notepad, but are visible via TextPad & as you say, Notepad++

The latest versions create xlogfile.txt & Plink logs without the blank lines, regardless of how they are viewed.

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 05:40:01 PM
Same problem as me then Chrys.   Think ronski is looking into it atm.

http://forum.kitz.co.uk/index.php/topic,13078.msg247171.html#msg247171

yep I seen your post after I replied.

do you also have all those extra txt files?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 05:41:53 PM
Thanks Kitz, it seems that your'e still on the old firmware, and your xlog is laid out slightly differently to mine, and when viewed in Notepad++ there are a lot more blank lines.


The blank lines are probably from an older version of HG612_stats.exe.

The blank lines aren't visible when using Windows Notepad, but are visible via TextPad & as you say, Notepad++

The latest versions create xlogfile.txt & Plink logs without the blank lines, regardless of how they are viewed.



so if you release your new tools I guess ronski has nothing to fix?

also are your new tools still going to work on the older firmware?
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 20, 2013, 06:05:30 PM

so if you release your new tools I guess ronski has nothing to fix?


Correct (as long as people start to use them).
They are just undergoing a bit more testing before I upload them, firstly in this forum, then followed by a general release after RONSKI has included his tested Settings Editor updates.



Quote

also are your new tools still going to work on the older firmware?


That's the intention, but RONSKI might have to adapt his program to cope with both formats of xlogfile.txt & Plink logs etc for users who choose to block firmware updates.

They did still work with original firmwares, but my recent 'fiddling' to make them work reliably with updated firmwares MAY just have introduced some incompatibility.

Maybe you could test the programs with your non-updated firmware when I intend to upload the latest pre-release test versions in a day or so?

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 06:16:56 PM
yes I can test.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 06:27:50 PM
also not related to this little update but I have tons of these in the folder.

ONGOING-ISRUNNING-002600-122.TXT

If you have a lot of isrunning files, then you have a problem with HG612_Stats not completing properly. A isrunning file is created with each run of HG612_stats.exe, and if it completes successfully then it is deleted.

Are they all recent files, or just sporadic over a long period of time?

If they are all recent then you should be looking in the error log to see what's going on at the time they were created.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 20, 2013, 06:36:31 PM
No I dont have all the additional ongoing-isrunning text files.  I used to get them in Jul/Aug  before BE made some tweaks to HG612 stats in about Sept time.   Ive since cleared all the surplus out and dont get them anymore. As far as Im concerned issue that has been fixed for me.

>> The blank lines aren't visible when using Windows Notepad, but are visible via TextPad & as you say, Notepad++

I too noticed all the surplus spacing when I viewed xlog in notepad++ earlier. 
Hadnt looked at it in anything else as notepad++ is my default editor.
Title: Re: HG612 Stats Editor updates
Post by: roseway on October 20, 2013, 06:43:11 PM
I would guess that notepad only recognises CRLF as a line ending, but the newer text editors recognise CR or LF on its own as well.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 20, 2013, 06:50:53 PM
That's about the gist of it (sort of).

The data is now written to the logs in binary format which ensures compatibility with most/all text editors/word processors.

Title: Re: HG612 Stats Editor updates
Post by: burakkucat on October 20, 2013, 07:48:52 PM
The data is now written to the logs in binary format which ensures compatibility with most/all text editors/word processors.

Eh? What's that?  :o  Has the Featherless Eagle finally seen the light?  :swoon:

The harvesting code would be so much better without the need to write the log file in ASCII format!

I could remove so much convoluted 'fiddle-faddling' from the original code by making the change so that the structures are written to the log file.  :angel:
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 08:27:54 PM
I've updated the editor and attached it to the first post in this thread, should hopefully fix the problems that kitz & Chrysalis were seeing.

burakkucat, I'm not quite sure what BE means by binary format, but the logs are in plain text format.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 20, 2013, 09:10:06 PM
I can fprintf() the data to xlogfile & Plink logs which creates blank lines, depending on the editor being used to view the data or open the logs in binary format & fwrite() the reformatted text data row by row for each row of data (or string by string).

The current method is the second one, which doesn't cause blank lines to be displayed unless they are intentionally blank.

fprintf() is used to write the data to modem_stats.log as plain old ASCII text.

Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 20, 2013, 09:18:39 PM

Eh? What's that?  :o  Has the Featherless Eagle finally seen the light?  :swoon:


NO!  :lol:

I could easily re-enable data record storage, but to maintain compatibility with older data logs & as no real progress was made regarding a front end to manipulate the data (MySQL etc?), it will remain as plain old text format (for the time being).


Quote
The harvesting code would be so much better without the need to write the log file in ASCII format!

I could remove so much convoluted 'fiddle-faddling' from the original code by making the change so that the structures are written to the log file.  :angel:


I agree, but our previous experiments with time consumingly converting the data from records to text and/or when plotting data from older logs along with the extra coding that the graphing programs might need has placed that on the back burner - for now.  :angel:


Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 10:44:24 PM
No I dont have all the additional ongoing-isrunning text files.  I used to get them in Jul/Aug  before BE made some tweaks to HG612 stats in about Sept time.   Ive since cleared all the surplus out and dont get them anymore. As far as Im concerned issue that has been fixed for me.

>> The blank lines aren't visible when using Windows Notepad, but are visible via TextPad & as you say, Notepad++

I too noticed all the surplus spacing when I viewed xlog in notepad++ earlier. 
Hadnt looked at it in anything else as notepad++ is my default editor.

ok replying top both you and ronski.

I downloaded modem stats back in july, I thought about downloading it again but both are marked as v1.1, are you saying there has been some kind of silent update since then (I mean an update with no version bump).

To ronski 6059 text files. error log almost 1.5 meg :) and modem stats log almost 3.5meg.

The error log is all for a 6 hour period on 17 october, since then no new entries.

I can email it to you or black eagle if you interested in it.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 20, 2013, 10:57:08 PM
Are you sure the new firmware hasn't slipped in?

The size of those logs are nothing to worry about, my modem log is 302 meg, and my fourth error log is 331 meg.

Could I suggest you start a new thread regarding this, otherwise we'll end up derailing this one.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 20, 2013, 10:58:57 PM
no problem I wont mention it again in this thread and also I have some new files now testing the updates, so I will wait a bit first to see if the issue persists before making a new thread.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 20, 2013, 11:08:07 PM
I downloaded modem stats back in july, I thought about downloading it again but both are marked as v1.1, are you saying there has been some kind of silent update since then (I mean an update with no version bump).

I think these (http://forum.kitz.co.uk/index.php/topic,12844.msg243166.html#msg243166) are the ones I have.  There may have been a later one, but I cant find it atm.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on October 21, 2013, 08:22:23 PM

If anybody would like to give the latest editor/viewer a test drive they can, zip file attached, just save it over your current version - backup your current one though, in case of any problems.

I've disabled the modifications to the task creation code, as BE hasn't updated his programs yet to take these into account.



Just to confirm, it's all looking good & causing no issues at this end.

My programs have been uploaded in this forum for final testing, so I suppose it's almost time to include your task creation modifications.

Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 22, 2013, 12:06:59 AM
excellent work Ronski thats working fine on Vista
Title: Re: HG612 Stats Editor updates
Post by: DeadMan on October 22, 2013, 12:08:12 AM
When opening the new editor I get.

"Error whilst accessing modem log!

There was a problem trying to read the modem log, the stats displayed will not be updated.

The error is as follows:

Index was outside of bounds of the array."

Also HG612_current_stats.exe just creates a blank folder.

EDIT: OK it looks like I have bigger problems. Looks like it's not been working since 10/10/2013. Is that when my firmware was updated do you think?

EDIT2: The current stats problem is resolved. However the other problem still exists with the modem log.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 22, 2013, 02:06:05 AM
I downloaded modem stats back in july, I thought about downloading it again but both are marked as v1.1, are you saying there has been some kind of silent update since then (I mean an update with no version bump).

I think these (http://forum.kitz.co.uk/index.php/topic,12844.msg243166.html#msg243166) are the ones I have.  There may have been a later one, but I cant find it atm.

the one i am using is named as r1.1 (4.1) and i also downloaded it in July so it looks the most upto date version until the new beta files get the  ;)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 22, 2013, 08:24:00 AM
When opening the new editor I get.

"Error whilst accessing modem log!

There was a problem trying to read the modem log, the stats displayed will not be updated.

The error is as follows:

Index was outside of bounds of the array."

Also HG612_current_stats.exe just creates a blank folder.

EDIT: OK it looks like I have bigger problems. Looks like it's not been working since 10/10/2013. Is that when my firmware was updated do you think?

EDIT2: The current stats problem is resolved. However the other problem still exists with the modem log.

Hi Deadman,

Sorry to hear you're having problems, by the sounds of it your using an older version of the stats logging program, which logs less data. My program is looking for data that is not there, so you get an error.

Can you try updating to the latest programs (http://forum.kitz.co.uk/index.php/topic,13051.msg247362.html#msg247362), but looking at that thread I can see you now done that. I need to trap that particular error and advise the user to update the programs.

Does my editor now display OK?
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 22, 2013, 08:43:07 AM
Some taster screen shots attached of my latest updates, I should be able to make this version available tonight.

It's now possible to view your Think Broadband ping graph in the editor/viewer  :)
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 22, 2013, 08:53:33 AM
haha that looks indeed a taster with the tbb integration.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 22, 2013, 09:57:51 PM
I am not sure about the TBB pings graph as it will use more overheads on the OS and Router
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 22, 2013, 10:06:31 PM
I guess not ready tonight then, lets hope tommorow.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 22, 2013, 10:07:09 PM
I am not sure about the TBB pings graph as it will use more overheads on the OS and Router

I assume its optional so one can probably choose not to enter a url also that graph wouldnt be fetched  on the task, its just in the gui.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 22, 2013, 10:13:49 PM
It is purely optional, can be manually refreshed as and when, or set to auto refresh when the tab is visible. You can use either the small picture which is 96kB, or the large picture is 205kB.

It might be available tonight, just making some adjustments.


Edit: I've got a bug that I'm just too tired to iron out at the moment, so it's going to have to wait.  :no:
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 22, 2013, 11:02:00 PM
Looking nice ronski.

Im not too fussed about the tbb meter either, but you dont have to use it so thats fine by me.  I can guess people such as gamers though will like the fact that everything is integrated.

Im looking forward to being able to load stat graphs...  the breakdown of the 3 different SNRm bands is certainly something I would find useful.  Its surprising that (on my line) SNRm as a total figure may look quite steady, yet in the past ive seen them swapping all over the place.  It kinda looks like if theres lots of bit loading going on and SNRm in one band drops, the system can up the ante- in another band to attempt to bring the overall back to target.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 23, 2013, 12:01:28 AM
Looking nice ronski.

Im not too fussed about the tbb meter either, but you dont have to use it so thats fine by me.  I can guess people such as gamers though will like the fact that everything is integrated.

Im looking forward to being able to load stat graphs...  the breakdown of the 3 different SNRm bands is certainly something I would find useful.  Its surprising that (on my line) SNRm as a total figure may look quite steady, yet in the past ive seen them swapping all over the place.  It kinda looks like if theres lots of bit loading going on and SNRm in one band drops, the system can up the ante- in another band to attempt to bring the overall back to target.

No worrys Ronski if TBB Ping Graph is optional then it works for me.

and Kitz I'll trade my Bit swaps for your impressive sync any day  8)
Title: Re: HG612 Stats Editor updates
Post by: DeadMan on October 23, 2013, 12:24:36 PM
Everything is working as it should now. Thanks guys. :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 23, 2013, 01:30:22 PM
Glad to hear it, look out for my next update to the graphic user interface. Which hopefully if the day goes to plan should be tonight.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 23, 2013, 09:16:33 PM
I've attached the latest version to this post, as I seem to have lost the ability to edit the first post.
Edit: There is a link in the first post now, which should link to the latest version. Tonight's update. (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)

No doubt you'll let me know if there are any bugs  ;D
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 23, 2013, 10:40:12 PM
sorry cant find bug in this one.

looks good.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 24, 2013, 12:31:54 AM
can't find any bugs and thinking back to when we had the modems GUI how many clicks it took to access it's stats -> open up the default web page, type in 192.168.1.1 in the URL and then type ADMIN + ADMIN select two other option before you see you stats  :P

and now with your New settings editor it's double click on the icon and your there  :drink:
EDIT: and who is gonna place a bet here my Interleaving go's down this sunday  :-\

Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 24, 2013, 10:43:24 PM
Anyone tried the ping graph feature yet?
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on October 24, 2013, 11:04:09 PM
Anyone tried the ping graph feature yet?

No ! not that interested in signing up/registering on ThinkBroadBand to use the Ping Graphs  ;)
I get most of what I need to know on the KITZ forum  ;)
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 25, 2013, 01:39:46 PM
Good job ronski - looks very nice :)

>> Anyone tried the ping graph feature yet?

Im personally not bothered about it, but for the sake of testing purposes I added one, and it seems to integrate perfectly & does make up a nice suite of monitoring all in one place :)

---
Couple of points.

1)  If I go into the Settings tab, on each of the sub settings pages ie/Dir path/Modem settings/snapshot settings/additional settings I get an odd "Label 8" that overlays on each of those pages in the same place

2) Version number could perhaps do with being updated on the"Help and about page" it still says "HG612 Settings Editor Version 1.0.0.0 " . 
Same when you hover over the .exe file.  I think that the differences in this version are great enough to warrant it being a v2 :)



---
ETA  oops forgot to attach the screenies
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 25, 2013, 03:46:47 PM
Thanks for the feedback kitz, funnily enough I spotted that rouge label this morning to.

Good job ronski - looks very nice :)

>> Anyone tried the ping graph feature yet?

Im personally not bothered about it, but for the sake of testing purposes I added one, and it seems to integrate perfectly & does make up a nice suite of monitoring all in one place :)

That's exactly why I added the ping graph, I use it all the time to see if anything has occurred on my connection.

I was thinking along the same lines, calling it V2, I can never remember where to change the version number, it's a bit hidden but I will change it prior to final release of v2.

I'm going to re-arrange the large buttons, and move the save button to the settings tab. There is currently a small bug if you change  any settings then hit save, you'll get a message reminding you to save even  though you clicked the button, and you then need to click it again to save the settings.

 I still need to add graph viewing in date / time order for each type of graph. Also the ability to graph a particular period, rather than the last X days/hours.

Title: Re: HG612 Stats Editor updates
Post by: kitz on October 25, 2013, 04:09:33 PM
:)

Can I ask a question ronski.   Normally I close down HG612 settings editor when Ive made any changes. 
The fact that it now has more features (and a few more to come) may mean that users are more likely to leave it running.
In which case a minimise to systray may be useful please. 
The reason I close it fully atm is because I always seem to have enough open programs clogging up my taskbar as it is. :D

 
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 25, 2013, 06:06:53 PM
Hi Kitz, that's already planned (forgot to mention that earlier) as well  ;D Might well add some basic stats if you hover over the tray icon to.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 25, 2013, 09:14:21 PM
Cheers :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 26, 2013, 09:02:16 PM
:)

Can I ask a question ronski.   Normally I close down HG612 settings editor when Ive made any changes. 
The fact that it now has more features (and a few more to come) may mean that users are more likely to leave it running.
In which case a minimise to systray may be useful please. 
The reason I close it fully atm is because I always seem to have enough open programs clogging up my taskbar as it is. :D

New version available with minimize to tray (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)  ;D

This version has also changed name, and I've altered the layout a bit, hopefully for the better.

There is a GUI Settings tab on the main settings tab, this has an option to enable minimize to tray on exit. The tray icon has a right click menu for exit, just click the icon to maximise.

Also I've changed the error messages when reading either of the log files so they only show briefly in the tray as a balloon tip.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 26, 2013, 10:00:45 PM
can you add an option to make the temp balloon errors optional?  I think if I had an error I would want to know about it I might be afk when the balloon pops up and dissapears.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 27, 2013, 09:01:40 AM
can you add an option to make the temp balloon errors optional?  I think if I had an error I would want to know about it I might be afk when the balloon pops up and dissapears.

It is done, option on the GUI settings tab, latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) (also in the first post)

Just so everyone is aware, the tray icon balloon tip will always show the last error, until a successful modem log file read.

Edit. If you always want the icon to show in the system tray, then click the little spanner in the balloon title and change the behaviour to Show icon and notifications. Only applies to Vista onwards.

And if anybody would like a little more info in the balloon tip, then let me know what you would like.
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 27, 2013, 02:50:05 PM
Thanks ronski, latest version installed and working fine here.
I like the new layout - its much nicer with the buttons on the side and makes the tabs much clearer.  :clap2:

Something I have noticed though (& I dont know if its me doing something wrong), but I cant get it to save the TBB graph url.  I have to put it in again each time I load your editor.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 27, 2013, 04:34:46 PM
Thanks Kitz, glad you like the new layout, and it wasn't you do anything wrong, some idiot had managed to delete the line of code that writes the URL to the ini file  :blush:

All fixed now. (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)

Gave me an excuse to have a break from the tiling, not the the Mrs would agree  :lol:

Edit: Does the tray notification icon work OK for you?
Title: Re: HG612 Stats Editor updates
Post by: kitz on October 27, 2013, 06:39:05 PM
Thanks ronski :)

>>  Does the tray notification icon work OK for you?

It seems to - although I did notice when I first installed it it was a bit hard to hit the exit and I often got restore come up.

After a few hours use, I have found that I often cause the balloon to come up when I dont want it to - for example if Im going to check mail whose icon is right next to it.  Not sure if I like that it stays there even after I move my mouse away.. particularly so if ive 'hovered' over that icon by mistake when meaning to go for my mail.

Perhaps a user preference to set how many seconds the balloon stays on screen if the mouse is no longer over the icon?



Title: Re: HG612 Stats Editor updates
Post by: bbnovice on October 27, 2013, 07:29:09 PM
I must be doing something wrong here.

I installed the latest version of the stats editor in the same folder as the original version. However the information on the stats tab never seems to be updated.

What am I doing wrong?

BBN

Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 27, 2013, 07:41:40 PM
@Kitz I've enabled a time to be set, but overall I'm not very happy with the balloon notification. It's behaviour seems erratic, sometimes it doesn't show at all on both my systems. I'll need to have a rethink on this.

Latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)

I must be doing something wrong here.

I installed the latest version of the stats editor in the same folder as the original version. However the information on the stats tab never seems to be updated.

What am I doing wrong?

BBN

Is the task set up and running, and recording stats to the modem log?

Do you get any notification messages about problems reading the modem log or X Log file?

My program monitors the modem log, and when it's updated will then update the stats in the GUI.

Check that the folders on the settings tab are correct, and that the modem_stats.log is in the ongoing_stats folder and is being updated every minute.
Title: Re: HG612 Stats Editor updates
Post by: bbnovice on October 27, 2013, 08:27:34 PM
Hi Ronski,

Something seriously weird has happened.

No modem data has been written to the log since the new editor was installed. The new editor reports that the Windows task is running and that snapshots etc are enabled (ie all green), but no data is actually being to the log. Error logs do not report any problems. Folder paths check out. Stop/started the task via the editor several times and got all the greens, but no data is ever written to the log. 
 
Replaced with old editor. Stopped/restarted task via the editor and stats logging recommenced as normal.

There is something awry here but I haven't got time this evening to investigate any further. Will look at it again tomorrow afternoon and try and diagnose what is actually happening.  In the meantime I'll leave the old editor in place.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 27, 2013, 09:05:02 PM
That is very strange indeed, stats logging running fine my end, with stats updating.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 28, 2013, 12:12:17 PM
After a few hours use, I have found that I often cause the balloon to come up when I dont want it to - for example if Im going to check mail whose icon is right next to it.  Not sure if I like that it stays there even after I move my mouse away.. particularly so if ive 'hovered' over that icon by mistake when meaning to go for my mail.

I've been using it today at work, and the balloon does tend to pop up even when passing the mouse over the icon, so I've thought of a solution, I need to allow a slight period of time to pass before displaying the balloon, perhaps 1/2 a second, and if the mouse is still there then display the balloon notification.

I may still design my own notification, as I will then have better control over it. But the above should be a quick fix, to stop it showing every time you move over the icon.

Oh, and to show the exit menu, it's a right click, left click will minimize/restore the GUI.


Title: Re: HG612 Stats Editor updates
Post by: bbnovice on October 28, 2013, 06:25:34 PM
That is very strange indeed, stats logging running fine my end, with stats updating.

I think I've located the potential cause of the problem - data harvesting appears to have stalled in certain circumstances. The cause I have been unable to diagnose, but the new version of the editor doesn't seem to be the guilty party.

Regards BBN 
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 28, 2013, 06:33:08 PM
Thanks for letting me know, hopefully you can pin point the cause.
Title: Re: HG612 Stats Editor updates
Post by: bbnovice on October 28, 2013, 06:47:04 PM
One thing I forgot to request is - would it be possible to add an ABOUT indicating the version number of the program? It would make version control easier for simpletons like me when (as now) there are various versions of stats programs doing the rounds like at the moment due to the BT firmware kerfuffles.
   
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 28, 2013, 07:56:21 PM
That means simpletons like me have to work it out  ::) There has always been a Help & About page, with the version number at the bottom, BUT I always forget to update it  :no:

So I have done a little Googling and finally worked out how to get it to auto update, or at least the third and fourth number. They end up big numbers, so I may well add some code to workout a build date/time to make it easier.  The 3rd number is the number of days since the year 2000, and the 4th number is the number of seconds since midnight (divided by 2). This is long over due, so thanks for prompting me to look into it again.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on October 28, 2013, 08:02:14 PM
ronski my version I got of this thread is out of date :(

you already got newer unreleased version?
Title: Re: HG612 Stats Editor updates
Post by: Ronski on October 28, 2013, 08:27:26 PM
Only what I've been working on tonight, and may be some updates last night.

The first post in this thread contains  a link to the latest file I've released, but please bare in mind it is a work in progress, so should be treated as beta releases.

As mentioned above I have now implemented a proper version number, and also build date/time, so it's easy to see which version you have, this will always be updated automatically now. This information is shown on the Help & About page, also the build date/time is shown in the bottom left hand corner.

Latest Version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip).
Title: Re: HG612 Stats Editor updates
Post by: bbnovice on October 28, 2013, 09:58:17 PM
Many thanks for the version control upgrade which will help dumbos like me.

I have now definitely identified the cause of my problems, and can confirm that it is nothing to do with the current version of the editor.

I will do some more testing of the editor tomorrow on my Windows 7 Home Premium system and let you know if I encounter any further issues.

BBN
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 06, 2013, 08:09:47 PM
I've not had much time recently but here's the latest version.

Updates to this version.

Enabled code to set the task priority to normal, rather than below normal when creating the scheduled task. This only affects Vista onwards, BE1 has noted that this made a lot of difference when his virus scanner was running, thus increasing reliability.

When an error occurs reading either of the log files (Xlogfile or Modem_stats log file), the error and associated information will be written to an error log file in the editor directory. This will only be created/updated if there is a problem. There will no longer be an error message window, in theory you could end up with hundreds of message windows. The balloon warning is still in place, but can be turned off. You will however get a big red button, in the space on the right, between the other buttons when an error has occurred, pressing said button will open the error log.

The balloon time selection for showing the stats when passing over the tray icon has been changed to only allow values between 10 & 30, anything less than 10 or greater than 30 is overridden by the O/S. Unfortunately I have failed in my en-devour to address the tool tip appearing straight away, ideally I would have like the need to hover over the icon for half a second before the balloon appeared.  I do intend to change this at a later date, but for now it's only a minor annoyance.

There have been other minor alterations and improvements.

There's a couple of issues I need to address, these will be sorted in a later update.

    1. If you've altered and haven't saved the settings and you log off or Windows shuts down, then the program will hold up the process by asking if you want to save the settings.
    2. When logging off or shutting down with the program open and monitoring the task, there is a chance of an error about starting schtasks or jt.exe. To avoid this issue for now simply minimize it to the tray or exit the program before shutting down or logging off.

Latest Version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 06, 2013, 09:34:34 PM
Installed & logging happily  :)

Quote
Enabled code to set the task priority to normal, rather than below normal when creating the scheduled task. This only affects Vista onwards, BE1 has noted that this made a lot of difference when his virus scanner was running, thus increasing reliability.

I created a new 'test' task via the GUI & manually (for now) staggered it by 30 seconds via Task Scheduler to allow it to run alongside my usual task.
It does indeed run at 'normal' priority.

This is far easier than manually exporting the task, editing its priority & importing it back into Task Scheduler.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 06, 2013, 10:14:02 PM
Installed & logging happily  :)

Glad to hear it's working as planned
Quote
This is far easier than manually exporting the task, editing its priority & importing it back into Task Scheduler.

And that is exactly what my code does, exports it as XML, reads the XML file line by line, when it finds a line it needs to change it changes it and then writes them to a new xml file, deletes the existing task and imports it  ;D

Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 07, 2013, 09:26:24 PM
Cheers Ronski for the most recent update as yet have not installed it.

The version I am running at the moment is 1.0.0.0 and it's flawless
would I see any benefit when updating to the new one as I use Vista and Windows 8.1 ?

Edit: just installed it version 1.1.5052.32975 it's running well and can see the Firmware Version thats installed inside the modem  :thumbs:
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 08:15:02 AM
One of the  benefits of the newer versions above 1.0.0.0 is that I've worked out how to add proper versioning and a build date, so it is now easy to see what version/build date you are running.

There's also been a few other more useful updates such as the firmware version, which of course I couldn't display without BE1 adding it to the logs in the first place, minor bug fixes and code improvements. There may also be additional data displayed if your still on an old 1.0.0.0 version.

Task creation now uses a higher priority on Vista upwards, which should improve data logging when the system is struggling to cope, such as during virus scans.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 08, 2013, 07:18:42 PM

Task creation now uses a higher priority on Vista upwards, which should improve data logging when the system is struggling to cope, such as during virus scans.

Yeah thats good but it seems the lastest update is using more CPU usage 7-10 % were DSLstats only use 2-3% of CPU usage, I am not criticising the software by any meens just would like others to confirm this is also the case on there own equipment.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 07:48:56 PM
It's most likely the monitoring of the scheduled task, it checks every second whether the task is created, and whether it's disabled. To do this it runs schtasks on Vista upwards, and JT.exe on XP.

BE1 recently brought this to my attention, and I made some alterations, one of them being to increase the time between the above checks.

If you minimise it to the tray, then the checking is disabled, and should lower CPU usage, does this happen?

It also loads the stats every minute, but this takes mere milliseconds, lowest I've seen on my slow old works PC is 3 milliseconds, but averages around 10.

If you have the settings tab open on the directories tab, then it checks if the folders exist every second.

There's nothing else going on to use CPU cycles really.

Mine flicks between 0 and 1% CPU usage, but then my CPU is a quad core running at 4Ghz with a nice fast SSD  ;D but I suspect that the relevant code for SCHTASKS or JT.EXE stays in memory so is not loaded from disk every time it's run.

I'm sure that Roseway is a much better programmer than me, I haven't really programmed since I used to write machine code on the ZX Spectrum, but I'm learning fairly quickly now and may well be able to optimise some code.

If I let my brother look at my code, I'm sure he'll rip it to bits, he's a perfectionist and programming is his career.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 08, 2013, 10:44:41 PM
is the check every 1 second increased on the released version? I noticed the app stutters every second on my machine and its a quad core intel also with ssd.  eg. dragging the window around it stutters every second.

Ideally i would like to disable that auto refresh or set the interval.  Is it better to just check when the app is loaded only and when a setting is changed?

Also is it possible to have the task priority customisable?  if for whatever my system is struggling to run the task and do something I am doing at the same time, I would prefer my foreground task to take precedence.

My firmware version says N/A.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 10:54:54 PM
No it's not increased on the latest version, I reduced the frequency of the checks quite a few versions ago.

It is possible to turn off task monitoring in the version you have, first of all go to task scheduler and export your task, then go back to my program and from the task menu item choose 'I will use my own tasks', this will delete your task and stop the program monitoring the task. Now simply import the task you exported earlier.

Let me know what difference it has made.

I've been working on fixing a bug which occurs when logging off/shutting down, this involves the task monitoring and have realised I've made a little bit of an error  :blush:, so I should be able to improve this code a lot.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 08, 2013, 10:58:10 PM
I can confirm the suttering stopped after selecting the 'I will run my own tasks'.

I think the task isnt running every 5 mins anymore tho after I reimported it, it says next run time 22:59 which has passed. --edit-- it is still running.  You know how to check the task priority inside taks scheduler?

Thanks
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 11:00:56 PM
What OS you using?

Regarding the firmware version, you need to be using a recent version of BE1 logging code, if you look in the xlog file, the last lines should read.

Code: [Select]
DSL PHY: AnnexA version - A2pv6C038m.d24j
******* Pass *********

If that is not present then you are not using a version which logs the firmware version.

Yes it would be possible to have the task priority user configurable, the same goes for the task checking frequency, and I could also add an option to turn off monitoring.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 11:02:02 PM
I think the task isnt running every 5 mins anymore tho after I reimported it, it says next run time 22:59 which has passed.

Thanks

Refresh the scheduler window (F5), took me a while to figure out, but it doesn't update in real time  :no:

Edit:PS surely you mean 1 minute?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 08, 2013, 11:03:12 PM
yes its still running.

you know how to check the priority inside task scheduler? yep I mean every minute sorry.

OS is win7 64bit sp1.

core i5 750
16 gig ram
running on samsung 830 ssd.

regarding the BE code, I will look for his latest version now.

thanks again. :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 11:06:20 PM
You can't check it from within task scheduler, the only way is to edit the exported XML file, and then import it.

Change <Priority>4</Priority> to <Priority>7</Priority> to revert to the original setting.

See here for more info about the priority level. (http://msdn.microsoft.com/en-us/library/windows/desktop/aa383512%28v=vs.85%29.aspx)
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 08, 2013, 11:07:18 PM
hmm you know where BE latest version is for download?  I assume it isnt the sticky 1.1 post.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 08, 2013, 11:14:43 PM
Try the version here (http://forum.kitz.co.uk/index.php?topic=13051.msg247983#msg247983), I'm sure they are the same as what I'm using.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 08, 2013, 11:15:40 PM
I have attached the latest program versions.

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 08, 2013, 11:15:59 PM
yeah I just found it at the same time you posted, I had already downloaded it but never installed it, it works now showing the firmware version. :)
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 09, 2013, 01:08:55 AM

If you minimise it to the tray, then the checking is disabled, and should lower CPU usage, does this happen?

yes I noticed that when running the task manager -> performance, when I minimize to the tray the CPU usage go's down to 1%  ;)
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 09, 2013, 01:34:33 AM
yeah I just found it at the same time you posted, I had already downloaded it but never installed it, it works now showing the firmware version. :)

 :o 312 errored seconds a day I am sure your glad your on fastpath  ;D
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 09, 2013, 08:41:11 AM
yeah I just found it at the same time you posted, I had already downloaded it but never installed it, it works now showing the firmware version. :)

 :o 312 errored seconds a day I am sure your glad your on fastpath  ;D

in the grand scheme of things 300 is not noticeable.

86400 seconds in a day.

Most ES are only an issue when they are SES.

I have 22 SES for the 41 days.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 09, 2013, 08:19:19 PM
Most ES are only an issue when they are SES.

I have 22 SES for the 41 days.

Updated version available.

Updates in this version.

Chrysalis, Bald_Eagle1 & NewtronStar, would you mind testing this version please and could you confirm a reduction in CPU usage with the program open and monitoring the task?

When I installed this version on my server cpu usage dropped from about 3 to 0, hopefully you'll all see a significant drop.

Latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 09, 2013, 08:31:32 PM
OS is win7 64bit sp1.

core i5 750
16 gig ram
running on samsung 830 ssd.

thanks again. :)

Strange you had that stuttering effect (wonder if it's gone with the latest version), mine is also an i5 750, but over clocked to 4Ghz, running an Intel 530 240GB SSD, but only 8GB ram at 1600Mhz
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 09, 2013, 09:08:41 PM
Also is it possible to have the task priority customisable?  if for whatever my system is struggling to run the task and do something I am doing at the same time, I would prefer my foreground task to take precedence.

Just for Chrysalis  another quick update, task priority option now added to the task menu - only for Vista onwards. Default is for the higher priority task.

Latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 09, 2013, 11:06:43 PM
Running the latest version, again no problems or OS conflicts  ;D

EDIT: Yes the CPU usage is now at 3-4% so that over half from last version and zero stutter when moving the Stats GUI window in a full 360°  :thumbs:

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 09, 2013, 11:38:06 PM
Also is it possible to have the task priority customisable?  if for whatever my system is struggling to run the task and do something I am doing at the same time, I would prefer my foreground task to take precedence.

Just for Chrysalis  another quick update, task priority option now added to the task menu - only for Vista onwards. Default is for the higher priority task.

Latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)

thanks, appreciated.

I am also overclocked but not as agressive, my cpu is o/c to 3.6ghz.

Funny enough regarding my SES, even tho my upstream has less CRC it has 4x the SES as my downstream, your app reporting 86 (which is correct).  Probably caused by my random huge short drops of upstream snrm during calls.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 09, 2013, 11:44:49 PM
Running the latest version, again no problems or OS conflicts  ;D

EDIT: Yes the CPU usage is now at 3-4% so that over half from last version and zero stutter when moving the Stats GUI window in a full 360°  :thumbs:



since you commented on mine. :)

you got less errored seconds than me but more CRC errors, so you getting more errors per errored second on average.

Also my error rate was much lower prior to 2 weeks ago, it jumped up when my snrm dropped below 6db thanks to DLM applying more power cutback on my line.

Ok to ronski, I reenabled the task management, so have the 2 green boxes at top again, moving the window around now has no stutters.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 10, 2013, 01:15:49 AM

since you commented on mine. :)

you got less errored seconds than me but more CRC errors, so you getting more errors per errored second on average.

Also my error rate was much lower prior to 2 weeks ago, it jumped up when my snrm dropped below 6db thanks to DLM applying more power cutback on my line.

No problems CH   ;)
it's good to compare line stats.

and yes also having the DS SNRM going below 5.0dB is not helping me either and what ever happened two weeks ago the evening SNRM is the worst I have ever seen in my 17 month term on FTTC.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 10, 2013, 02:09:21 AM

Chrysalis, Bald_Eagle1 & NewtronStar, would you mind testing this version please and could you confirm a reduction in CPU usage with the program open and monitoring the task?

When I installed this version on my server cpu usage dropped from about 3 to 0, hopefully you'll all see a significant drop.



Average CPU usage has now dropped from around 10% to 3% when the GUI is open.
The stuttering effect when moving the window around has also disappeared

Windows 7 Home Premium, 64 Bit
Intel Core i3 CPU 550 @3.20 GHz & 3.00 GB RAM.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 10, 2013, 09:06:02 AM
Thanks for the very quick feedback everyone, it's very good to hear that CPU usage has dropped in line with my expectations, and that the stuttering effect has gone completely  :)
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 10, 2013, 09:31:52 AM

since you commented on mine. :)

you got less errored seconds than me but more CRC errors, so you getting more errors per errored second on average.

Also my error rate was much lower prior to 2 weeks ago, it jumped up when my snrm dropped below 6db thanks to DLM applying more power cutback on my line.

No problems CH   ;)
it's good to compare line stats.

and yes also having the DS SNRM going below 5.0dB is not helping me either and what ever happened two weeks ago the evening SNRM is the worst I have ever seen in my 17 month term on FTTC.

dont worry tho, you have 0 SES.  In my opinion thats the one to watch out for.
Title: Re: HG612 Stats Editor updates
Post by: DeadMan on November 11, 2013, 04:16:33 PM
Just a note for Bald_Eagle1. Any chance of putting your beta zips in the first post? I had trouble finding your latest beta zips as they were originally in the other thread and only found the November updates in this thread a page or so back. Updating to the November exe's did not fix the HG612_current_stats.exe error I am still getting. The normal ongoing stats graphing works fine.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 11, 2013, 11:02:54 PM
Just a note for Bald_Eagle1. Any chance of putting your beta zips in the first post? I had trouble finding your latest beta zips as they were originally in the other thread and only found the November updates in this thread a page or so back. Updating to the November exe's did not fix the HG612_current_stats.exe error I am still getting. The normal ongoing stats graphing works fine.

I think even better put them in the sticky post, which only has the july version.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on November 11, 2013, 11:57:26 PM
Just a note for Bald_Eagle1. Any chance of putting your beta zips in the first post? I had trouble finding your latest beta zips as they were originally in the other thread and only found the November updates in this thread a page or so back. Updating to the November exe's did not fix the HG612_current_stats.exe error I am still getting. The normal ongoing stats graphing works fine.

I think even better put them in the sticky post, which only has the july version.

The working files that work for me, forth post down Bald Eagles one ->
http://forum.kitz.co.uk/index.php?topic=13078.90
Title: Re: HG612 Stats Editor updates
Post by: DeadMan on November 12, 2013, 03:28:28 AM
Just a note for Bald_Eagle1. Any chance of putting your beta zips in the first post? I had trouble finding your latest beta zips as they were originally in the other thread and only found the November updates in this thread a page or so back. Updating to the November exe's did not fix the HG612_current_stats.exe error I am still getting. The normal ongoing stats graphing works fine.

I think even better put them in the sticky post, which only has the july version.

The working files that work for me, forth post down Bald Eagles one ->
http://forum.kitz.co.uk/index.php?topic=13078.90

Tried those. Still no go. Current stats bombs.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 12, 2013, 08:05:36 AM
Deadman, could you start a new thread regarding this problem please,  rather than derailing this one.

You'll need to post your various logs, if you look at korban Dallas's thread in the monitoring software thread you'll see what you need to post.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 12, 2013, 09:07:00 PM

Tried those. Still no go. Current stats bombs.



Try the amnded version here & let me know if it fixes the problem or not:-

http://forum.kitz.co.uk/index.php?topic=13249.msg249599#msg249599


You may need to clear any stuck instances of the programs via Task manager first though.

Title: Re: HG612 Stats Editor updates
Post by: kitz on November 17, 2013, 02:20:37 PM
I have attached the latest program versions.

Edited main thread (http://forum.kitz.co.uk/index.php/topic,12738.msg240825.html#msg240825) whilst I remember.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 18, 2013, 11:12:17 AM
thanks kitz its good now that post is updated.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 21, 2013, 07:47:22 AM
Ronski another request.

So yesterday I unplugged my hg612 for 20 mins before swapping the faceplate for the MK2 faceplate.  I unplugged the DSL instead of cutting the power by mistake, luckily DLM didnt do anything.

However in your app I noticed the ES and SES didnt reset to 0, its showing since bootup errored seconds instead of since sync, can that be changed?
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 21, 2013, 10:31:22 AM
I think I'll let BE1 answer that since all I'm doing is displaying the data gathered.

I know he's said that only some of the counters reset, and it also depends on the type of resync, but he will be better informed to answer.

I've almost got another update ready, been working on an option to check for updates, so no more manually downloading updates for the GUI.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 21, 2013, 01:17:29 PM
Well in the telnet commands there is "since link time stats" and also "Total time"

Its odd as the Total time shows all CRC/FEC/SES/ES since reboot, its not inconsistent. Except that upstream CRC is always 0 (a bug I guess.)

The since link time is consisten that they all reset to 0, but is also buggy, as my upstream shows FEC errors when its on fast path.

So I am guessing maybe he is mixing and matching not taking all stats from the "Since Link Time"?

Since Link time = 21 hours 53 min 17 sec
FEC:            0               2504
CRC:            395             214
ES:             249             163
SES:            0               2
UAS:            0               0
LOS:            0               0
LOF:            0               0

and

Total time = 1 days 22 hours 10 min 31 sec
FEC:            0               0
CRC:            41791           0
ES:             16690           8650
SES:            31              95
UAS:            945             945
LOS:            0               0
LOF:            5               0

app reports

ES 16690 8650
CRC 395 214
FEC 0 2504
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 21, 2013, 01:28:39 PM
I don't know, I get most of  the values from the modem log file, and try and get as little as possible from the xlogfile as it harder to scrape that information out.

If you hover other the majority of the fields you'll get a tool tip which shows where the information came from,  I've forgotten to add it to some of them though.

We'll have to see what BE1 has to say.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 21, 2013, 09:17:01 PM
Well in the telnet commands there is "since link time stats" and also "Total time"

Its odd as the Total time shows all CRC/FEC/SES/ES since reboot, its not inconsistent. Except that upstream CRC is always 0 (a bug I guess.)


Which firmware version are you using?
US CRC reported in Total time isn't always 0 for my connection (see the extracts from my connection below).
I'm currently using Wolfy's GUI version.


Quote
The since link time is consisten that they all reset to 0, but is also buggy, as my upstream shows FEC errors when its on fast path.

I also noticed that during the very rare occasions when my connection has been on Fastpath.
Asbokid provided a plausible explanation of how FEC (RSCorr) errors can sometimes be seen even when on fastpath, but I can't find a link to his explanation now.


FWIW, OHFErr & CRC are the same thing.


Quote
So I am guessing maybe he is mixing and matching not taking all stats from the "Since Link Time"?


My programs don't actually take any stats from "Since Link Time", but it can be seen that FEC & CRC data does match RSCorr & OHFErr data.



Quote
Since Link time = 21 hours 53 min 17 sec
FEC:            0               2504
CRC:            395             214
ES:             249             163
SES:            0               2
UAS:            0               0
LOS:            0               0
LOF:            0               0

and

Total time = 1 days 22 hours 10 min 31 sec
FEC:            0               0
CRC:            41791           0
ES:             16690           8650
SES:            31              95
UAS:            945             945
LOS:            0               0
LOF:            5               0

app reports

ES 16690 8650
CRC 395 214
FEC 0 2504




Code: [Select]

Counters
Bearer 0
OHF: 84950996 1927436
OHFErr: 34233 44
RS: 272569089 342665
RSCorr: 24977870 114
RSUnCorr: 1364787 0

Bearer 0
HEC: 309338 0
OCD: 27463 0
LCD: 27463 0
Total Cells: 168965033 0
Data Cells: 72988663 0
Drop Cells: 0
Bit Errors: 0 0

ES: 2683 83
SES: 59 0
UAS: 53 53
AS: 436109


Code: [Select]
Total time = 1 days 15 hours 48 min 34 sec
FEC: 33703014 225
CRC: 45936 87
ES: 2683 83
SES: 59 0
UAS: 53 53


Code: [Select]
Since Link time = 5 days 1 hours 8 min 27 sec
FEC: 24977870 114
CRC: 34233 44
ES: 1740 43
SES: 58 0
UAS: 0 0



My programs concentrate on reporting/graphing changes each minute rather than total data but regardless of how it is worked out, the changes per minute should still be be the same (whether calculating differences per minute (delta) using total data or data since resync/reboot).
See the attached montage.

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 22, 2013, 04:32:53 PM
ok bald eagle the question is.  Are the since link time lines in your logs?

if yes then I guess ronski just needs to take the data from those lines instead, I reported the issue as an issue with the gui not your graphs :)

assuming its modem_stats.log ronski is using, if the figures are not in that file, is it hard to get those figures from the sinc elink time to add to that file so ronski can use?

also is there any implications of me deleting the modem_stats.log so it makes a new one? as well as the error logs as they getting pretty big.

currently all 3 logs total 1.6gig space usage which is pretty crazy.  I had to wait 4 minutes for notepad to open the modem_stats.log :)
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 22, 2013, 06:01:54 PM
ok bald eagle the question is.  Are the since link time lines in your logs?


Yes & no, although some of the data in modem_stats.log does equate to data since the most recent resync (i.e. since link time).


Quote
if yes then I guess ronski just needs to take the data from those lines instead, I reported the issue as an issue with the gui not your graphs :)



All the relevant stats for ongoing graphing are recorded in xlogfile.txt each minute:-

Code: [Select]
xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 5005 Kbps, Downstream rate = 22504 Kbps
Bearer: 0, Upstream rate = 4877 Kbps, Downstream rate = 20695 Kbps

Link Power State: L0
Mode: VDSL2 Annex B
VDSL2 Profile: Profile 17a
TPS-TC: PTM Mode(0x0)
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 5.5 6.4
Attn(dB): 24.5 0.0
Pwr(dBm): 12.7 6.7
VDSL2 framing
Bearer 0
MSGc: 26 26
B: 51 143
M: 1 1
T: 64 37
R: 12 12
S: 0.0799 0.9355
L: 6408 1334
D: 405 1
I: 64 78
N: 64 156
Counters
Bearer 0
OHF: 104293431 1769623
OHFErr: 37698 56
RS: 929265357 3934136
RSCorr: 28104579 6898
RSUnCorr: 1506044 0

Bearer 0
HEC: 342223 0
OCD: 30331 0
LCD: 30331 0
Total Cells: 4119150843 0
Data Cells: 76717959 0
Drop Cells: 0
Bit Errors: 0 0

ES: 2919 96
SES: 73 0
UAS: 53 53
AS: 535405

Bearer 0
INP: 3.00 0.00
INPRein: 0.00 0.00
delay: 8 0
PER: 5.13 8.68
OR: 49.86 29.46
AgR: 20744.96 4906.37

Bitswap: 390762/390762 7698/7718

Total time = 1 days 19 hours 23 min 30 sec
FEC: 36829723 7009
CRC: 49401 99
ES: 2919 96
SES: 73 0
UAS: 53 53
LOS: 0 0
LOF: 0 0
LOM: 0 0
Latest 15 minutes time = 8 min 30 sec
FEC: 5205 0
CRC: 0 0
ES: 0 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Previous 15 minutes time = 15 min 0 sec
FEC: 17303 0
CRC: 14 0
ES: 4 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Latest 1 day time = 19 hours 23 min 30 sec
FEC: 1904015 22
CRC: 1992 7
ES: 131 8
SES: 12 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Previous 1 day time = 24 hours 0 sec
FEC: 3377005 6776
CRC: 4267 10
ES: 238 10
SES: 17 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Since Link time = 6 days 4 hours 43 min 25 sec
FEC: 28104579 6898
CRC: 37698 56
ES: 1976 56
SES: 72 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0


xdslcmd info --pbParams
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 5005 Kbps, Downstream rate = 22504 Kbps
Bearer: 0, Upstream rate = 4877 Kbps, Downstream rate = 20695 Kbps

Discovery Phase (Initial) Band Plan
US: (7,32) (871,1205) (1972,2782)
DS: (33,859) (1216,1961) (2793,3970)
Medley Phase (Final) Band Plan
US: (7,32) (871,1200)
DS: (33,859) (1216,1846)
  VDSL Port Details   Upstream   Downstream
Attainable Net Data Rate:      5005 kbps     22504 kbps
Actual Aggregate Tx Power:        6.7 dBm      12.7 dBm
====================================================================================
  VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3
  Line Attenuation(dB): 8.1 53.5   N/A   N/A   N/A 21.7 65.7   N/A
Signal Attenuation(dB): 8.1 52.6   N/A   N/A   N/A 30.5 65.4   N/A
SNR Margin(dB): 6.4 6.4   N/A   N/A   N/A 5.5 5.6   N/A
TX Power(dBm): -0.8 5.9   N/A   N/A   N/A 11.7 5.9   N/A


xdslcmd --version
xdslcmd version 1.0
DSL PHY: AnnexA version - A2pv6C038m.d24j
******* Pass *********





Quote
assuming its modem_stats.log ronski is using, if the figures are not in that file, is it hard to get those figures from the sinc elink time to add to that file so ronski can use?


I believe Ronski also uses some data from modem_stats.log & some data from xlogfile.txt.
I'm sure he'll confirm which data he uses for which purpose for us.




Quote
also is there any implications of me deleting the modem_stats.log so it makes a new one? as well as the error logs as they getting pretty big.


Just rename modem_stats.log or save it somewhere else & a new one will be generated at the next sample time.



Quote
currently all 3 logs total 1.6gig space usage which is pretty crazy.  I had to wait 4 minutes for notepad to open the modem_stats.log :)



Yes, they do get rather large after a while.

My own modem_stats.log is now around 300 MB in size, but it does go right back to October 2012.

The other logs are there mainly for debugging information.
If you are not experiencing any issues with my programs, just rename them or delete them as & when you wish.
New ones will be generated starting from the next sample time.

You can turn off 'extensive' event logging via Ronski's GUI, but you would then lose some of the debugging information.
It would only restrict the size of ERROR.LOG at the moment, but that switch will also turn off (restrict) the size of the other logs when I release a public update (soon).


Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 22, 2013, 07:25:59 PM
I believe Ronski also uses some data from modem_stats.log & some data from xlogfile.txt.
I'm sure he'll confirm which data he uses for which purpose for us.

I get the majority from the modem log because I feel this is more reliable long term, if anything changes then it will be extra fields appended to the end of each line, not changes to previous/existing fields.

With the Xlogfile it's harder and therefore less reliable to get the data out as it's not laid out in a specific format, and if the layout was to change then it would need my code altering to accommodate the changes.

If you hover the mouse over any data in the GUI interface then it will say where that data comes from, anything with Field XX comes from the modem log. The main reason I displayed this information was so that BE1 could tell me if I'd got something wrong, but I've also found it useful for other things so have left this function there. The SES Errors (Total) doesn't have this in the versions you're using, but I have added it.

I could scrape information out of this section of the xlogfile:

Code: [Select]
Total time = 1 days 10 hours 3 min 52 sec

FEC: 0 3341
CRC: 69904 3
ES: 24828 3
SES: 89 0
UAS: 25 25
LOS: 0 0
LOF: 0 0
LOM: 0 0

Latest 15 minutes time = 3 min 52 sec

FEC: 0 0
CRC: 1 0
ES: 1 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0

LOM: 0 0

Previous 15 minutes time = 15 min 0 sec

FEC: 0 0
CRC: 14 0
ES: 9 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0

Latest 1 day time = 10 hours 3 min 52 sec

FEC: 0 1
CRC: 657 0
ES: 350 0
SES: 0 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0

Previous 1 day time = 24 hours 0 sec

FEC: 0 1
CRC: 2639 0
ES: 671 0
SES: 4 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0

Since Link time = 27 days 10 hours 3 min 25 sec

FEC: 0 3341
CRC: 69904 3
ES: 24828 3
SES: 89 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0

But whilst Since Link time is pretty obvious, and corresponds with connection up time I'm not so sure about the others. So perhaps someone could explain what they are, and I'll know better how to present them. For instance what does Latest 15 minutes time = 3 min 52 sec mean?


Quote
Yes, they do get rather large after a while.

My own modem_stats.log is now around 300 MB in size, but it does go right back to October 2012.

The other logs are there mainly for debugging information.
If you are not experiencing any issues with my programs, just rename them or delete them as & when you wish.
New ones will be generated starting from the next sample time.

You can turn off 'extensive' event logging via Ronski's GUI, but you would then lose some of the debugging information.
It would only restrict the size of ERROR.LOG at the moment, but that switch will also turn off (restrict) the size of the other logs when I release a public update (soon).

My modem log is currently 326MB dating from when my line was connected in August 2012.

I do plan on adding functionality to GUI to automatically delete/or rename the logs once they reach a certain age/size.

If people want other stats displayed that are in either logs then I'll do my best to add them, but you need to tell me what it is and perhaps how it should be displayed.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 22, 2013, 09:28:07 PM
well we dont need to worry about the 15 mins section of logs.

but what it does mean is its logging a 15min chunk but the data shown is only for 3 min 52 sec of it.  In other words the 15 min stats are not previous 15 full minutes they are part of a 15 minute period and reset every 15 minutes to 0.  The only bit needed for the SES/ES total is the since link time section.

So in short.

Previous 1 day is the full previous 24 hour block stats.
Previous 15 mins as above but for 15 min block.

Latest 1 day is the current 1 day block, but isnt complete as is current block so it tells you how much of that block is completed.
Latest 15 mins as above but for 15 min block.

When the latest 15 min (or 1 day) is filled up , it then becomes the new previous 15 min (or 1 day) data and a new latest starts from 0.

Sadly it seems yet another bug in the firmware.  As you are taking the stats from the main section of the stats this part.

Code: [Select]
                Down            Up
SNR (dB):        6.2             9.6
Attn(dB):        0.0             0.0
Pwr(dBm):        13.5            5.0
                        VDSL2 framing
                        Path 0
B:              239             236
M:              1               1
T:              21              5
R:              0               16
S:              0.1133          0.3771
L:              16944           5410
D:              1               1
I:              240             255
N:              240             255
                        Counters
                        Path 0
OHF:            98887964                1535518
OHFErr:         1145            411
RS:             0               2417958
RSCorr:         0               4640
RSUnCorr:       0               0

                        Path 0
HEC:            720             0
OCD:            30              0
LCD:            30              0
Total Cells:    1481388475              0
Data Cells:     69145143                0
Drop Cells:     0
Bit Errors:     0               0

ES:             17023           8818
SES:            32              95
UAS:            945             945
AS:             177178

                        Path 0
INP:            0.00            0.00
PER:            1.78            6.12
delay:          0.00            0.00
OR:             107.58          203.67

Bitswap:        34448           503

The bug/issue is that in all that data, most of it does reset to 0 on a new sync event, but for whatever reason the 4 lines here are inconsistent, they only reset when the modem is rebooted.

Code: [Select]
ES:             17023           8818
SES:            32              95
UAS:            945             945
AS:             177178

Ronski if you feel its not fixable, I at least suggest you add something in the gui to remind the user that SES/ES are for device uptime not sync uptime.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 22, 2013, 09:46:23 PM
So if I take SES and ES totals from the xlogfile snippet below that would be correct?

Code: [Select]
Since Link time = 27 days 10 hours 3 min 25 sec

FEC: 0 3341
CRC: 69904 3
ES: 24828 3
SES: 89 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 22, 2013, 10:11:36 PM

The bug/issue is that in all that data, most of it does reset to 0 on a new sync event, but for whatever reason the 4 lines here are inconsistent, they only reset when the modem is rebooted.

Code: [Select]
ES:             17023           8818
SES:            32              95
UAS:            945             945
AS:             177178



I think you're correct about ES & SES, I'm not too sure about UAS, but AS is reset to zero at each resync.

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 22, 2013, 10:22:15 PM
So if I take SES and ES totals from the xlogfile snippet below that would be correct?

Code: [Select]
Since Link time = 27 days 10 hours 3 min 25 sec

FEC: 0 3341
CRC: 69904 3
ES: 24828 3
SES: 89 0
UAS: 0 0
LOS: 0 0
LOF: 0 0
LOM: 0 0

yes, that section resets to 0 every time sync is restarted.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 22, 2013, 10:24:03 PM

The bug/issue is that in all that data, most of it does reset to 0 on a new sync event, but for whatever reason the 4 lines here are inconsistent, they only reset when the modem is rebooted.

Code: [Select]
ES:             17023           8818
SES:            32              95
UAS:            945             945
AS:             177178



I think you're correct about ES & SES, I'm not too sure about UAS, but AS is reset to zero at each resync.



yep I think you right about AS actually as its 86400 per day my 177k seems to match to my sync uptime.  Which to me is even worse, so not even the 4 lines together are consistent with each other. The UAS is device uptime tho.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 22, 2013, 11:02:25 PM
yes, that section resets to 0 every time sync is restarted.

I've updated that, values are now taken from 'Since Link time' section in the xlogfile. The tool tip for SES Errors (total) & Error seconds (total) text now displays Totals since last resync. & Total error seconds since last resync. respectively. Tool tip for their values shows From Xlogfile, section 'Since Link time'

Do the other totals in that column reset to zero on a resync?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 22, 2013, 11:54:46 PM
yep all the others are fine as far as I can tell.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 01:01:05 AM
Thanks for confirming that Chrysalis.

Now anybody want to try the latest beta version, I think it's ready?

Changes in this version.

      Added GUI update checking abiltiy
      Configuration settings for updates are on the GUI settings tab.
      SES & ES error totals are now taken from Xlogfile 'Since link time' section.
      Added Help menu, which contains 'Check for GUI update', 'Help' and 'About' menu items.

The update functionality defaults to the options shown in the attached screen shot, so when you first run it, it will check for updates, as part of this process it will check to see if 'HG612 GUI Update.exe' is in the scripts folder and download it if not, it will also check to see if that program is up to date if it's present.

Once it's done that it downloads a 95 bytes version.txt file, which it extracts the latest available version numbers from, checks to see if an update is available, and if there is gives you the option to read the change log and download and install the updated GUI.

HG612 GUI Update.exe is the final part of the update process, when it is run automatically by the GUI it will check to see if the GUI is closed, if it isn't it will wait for it to close then it will make a temporary backup, rename the download file, delete the temporary backup and start the GUI.

I'll add a beta update over the weekend at some point, and then anybody wanting an updated version will need to use the update system, unless there's any problems with it. I'd like to get this working so it can be rolled out with BE1's updated programs.

Time for bed now  :sleep: :sleep: :sleep:

Latest version (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip)
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 23, 2013, 09:21:13 AM
initial impressions, looks good, I see correct SES/ES now, thanks for fixing that.  I see last night I had 4 upstream SES.  Currently my upstream SES outnumbers my downstream SES by 6 to 1.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 11:42:10 AM
I've added an updated beta version to my server, only a very minor formatting change, mainly so we can test if the update works OK.

I use Avast as my antivirus and it's been a right pain in the backside recently, sometimes complaining that my program has a suspected virus. This first happened a few weeks ago, and then again last night and today.

I've reported this to Avast several times now, hopefully they will address it, but I suspect as I keep changing things it may rear it's heads again.

Avast clearly has bugs as I've told it to exclude the file many a time but it still complains most times when I access it, the strange thing is that if I just scan the file it says no threat found.

Just to be certain I have scanned the exe at Virus Total (https://www.virustotal.com/uk/about/), and the result is 0 infections checked by 47 different virus scanners, bizarrely one of them is Avast!

I take it that as no one has mentioned it, nobody else has had this problem?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 23, 2013, 11:55:07 AM
ok so I closed and reopened it.

I just seen the normal small window that appears very briefly.

I then ticked the beta versions box and closed and reopened it again, same thing, I guess at this point I should have got a prompt to say version is available?

I then ticked the auto update box so at this point all 4 update options ticked, closed and reopened, this time the small popup window stayed open for bit longer but still not long enough to read its output as it closed after about 1 second.

Now I have a popup window stating this.

A backup of HG612 Stats logging GUI has been made.
Waiting for HG612 Stats logging GUI to close, please close it......

I then closed the gui, and it auto relaunched with build 11.21am.

So the auto update works but the updater app doesnt stay visible for long, and when I had auto update disabled, I had no prompt to tell me a new version available.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 01:34:28 PM
Can you post the GUI Error Log from the scripts\Editor directory please.

Yes you should have got a prompt to install a new version, but I'm am wondering if when I fetch the version file it's getting a cached version.

With the program closed presuming the option to check at program start is selected it will check for updates, if there is one available you should get a message in the box telling you so, and two more buttons appear, one which is for viewing the change log and one to install, also the close button will be enabled.


Edit:

Actually I'm seeing the same behaviour when checking for updates on opening. It's detected a new version is available, but for some reason the update form closes.
Code: [Select]
23/11/2013 14:10:37 - Checking for GUI updates.
23/11/2013 14:10:40 - Downloaded latest version file:
23/11/2013 14:10:40 - Latest beta version     = 1.1.5075.20438
23/11/2013 14:10:40 - Latest release version  = 1.0.0.0
23/11/2013 14:10:40 - Latest updater version  = 1.0.5072.36671
23/11/2013 14:10:40 - Existing updater version:1.0.5072.36671
23/11/2013 14:10:40 - Update available to version:1.1.5075.20438
23/11/2013 14:10:40 - Current version:1.1.5075.729
23/11/2013 14:10:40 - File name:Beta.exe

However checking for updates from the Help menu does work.

Code: [Select]
23/11/2013 14:11:02 - Checking for GUI updates.
23/11/2013 14:11:02 - Downloaded latest version file:
23/11/2013 14:11:02 - Latest beta version     = 1.1.5075.20438
23/11/2013 14:11:02 - Latest release version  = 1.0.0.0
23/11/2013 14:11:02 - Latest updater version  = 1.0.5072.36671
23/11/2013 14:11:02 - Existing updater version:1.0.5072.36671
23/11/2013 14:11:02 - Update available to version:1.1.5075.20438
23/11/2013 14:11:02 - Current version:1.1.5075.729
23/11/2013 14:11:02 - File name:Beta.exe

At this point I have my little window waiting for me to select an option (View change log, Install or Close), when I click install it continues the install, but it doesn't close the main program which it should.

I'll look into these bugs later, need to get on with the tiling.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 23, 2013, 06:45:27 PM
ok since you managed to repeat it I guess I dont need to test now?
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 07:11:15 PM
No, thanks I know what the problem is.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 07:51:33 PM
I've fixed those two bugs, any body with a version that has the update facility can use the Help:Check for updates option - need to have beta versions selected on the GUI settings tab.

Those who don't have the update version can download it from the first post in this thread.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on November 23, 2013, 09:27:47 PM
add a donate button to the help and about page :)
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on November 23, 2013, 09:38:03 PM
This works, but only if all 4 Update settings are ticked.

With "Automatically install updates" unticked, HG612 GUI Update.exe is downloaded, but there is an error when trying to run it manually (see attached).

Ticking the box & exiting the GUI does cause the update to be installed at the next run.
Is that how you intended it to work?

Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 23, 2013, 10:46:30 PM
Hi BE,  HG612 GUI Update.exe shouldn't be run on it's own, it won't do any harm if you do, it will just give the error you got.

When the GUI has downloaded an update, the GUI runs that program, then the GUI should close. That program then makes a temporary backup the existing GUI, renames the downloaded program to HG612 Stats logging GUI.exe, then deletes the backup and then runs the new updated program.

When you run it standalone it can't find the updated GUI file to rename, so you get an error and it restores the backup.

There was a bug in the version I released this morning which would stop it telling you about an available update on start up (but the help menu - check for updates worked), but it did work on the version I released tonight.

At the moment there are no release versions, so you will need 'Receive beta updates' checked to get any updates at all.

add a donate button to the help and about page :)


Now there's an idea, I may well add that at some point.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 24, 2013, 01:02:37 AM
Hopefully I've fixed the bugs in the update systems, and as suggested by Chrysalis I've added a donate button, I'll wonder if BE1 would like a button for all his hard work?

I've also modified HG612 Update.exe, so that if run directly it will just display a message, rather than the window and error message.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via the Update option on the help menu if you have a recent version.

Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on November 24, 2013, 03:39:17 PM
Hi Ronksi,

Thanks for the update,  I downloaded this however whenever it is run I get an error.  The first error is when it goes to check for GUI updates and I get 'unhandled exception error, If I opt to continue it the gives a pop-up window displaying the status of the update but that this then doesnt allow you to close it and I then need to terminate the program.

I have attached a word document containing screen grabs and the full error text and the GUI log.

Cheers

Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 24, 2013, 06:15:09 PM
Korben_dallas,

The first error is leading to the second error. I can see you are using Windows 8, I've tested on Windows 8 here and it works fine, so something a bit odd seems to be happening.

Are you using Avast Antivirus by any chance?

I've uploaded a newer version with some additional debugging code, can you delete the GUI Error Log.txt and then run the newer version, if you get an unhandled error please attached the information as you did before, then choose quit, also attach the GUI error log and other info as before.



Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via the Update option on the help menu if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on November 24, 2013, 06:50:50 PM
Hi Ronski,

I downloaded the update once I got past Mcafee Siteadvisor and then Norton Internet Security 2014.

On running the application this time it gave the pop-up window first for checking for an update then an unhandled exception error, again if I chose to continue the updater just seemed to hang there and had to terminate the application.

Screenshots and logs attached, am running Windows 8.1 64bit.
Cheers
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 24, 2013, 07:50:40 PM
Korben_dallas, can you have a look in the scripts folder and make sure it has the program HG612 GUI Update, I think it's crashing when it gets the version number of that program, no idea why though at the moment.

I've added yet more logging to the version below, can you delete the GUI error log before running and then try it again, and as before post the info please.

What is your version of Windows 8? Have you upgraded to 8.1 ?

Call you also check to see if there are any Windows Updates available for things like .Net please?

Thanks for your help.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via the Update option on the help menu if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on November 24, 2013, 08:15:50 PM
Hi Ronski,

Been running Windows 8.1 since 17/10/13,  checked and no updates waiting to be installed.

Checked for GUI Update and did notice that it was sitting at 0KB, anyway ran the new version of the program and it worked okay, screenshots and logs attached, the first time I went in it said that there were errors in the GUI log after that went back in and all was green.

Let me know if you need me to check anything else.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 24, 2013, 09:26:26 PM
Korben_Dallas, it seems for some reason something is blocking my program from getting the version number of HG612 GUI Update.exe, I put error catching piece of code arround the line of code that gets the version number from that program. Basically when it checks the file version it gets a blank (NULL) string returned which was causing the crash. I've no idea why the version number is not being returned.

If you look at the properties of HG612 GUI Update file (right click on the file), could you post a picture of the details tab please.

Quote
24/11/2013 20:07:20 - Just about to check for updates at program start
24/11/2013 20:07:20 - Checking for GUI updates.
24/11/2013 20:07:20 - Checking if updater program is present.
24/11/2013 20:07:20 - Updater program is present.
24/11/2013 20:08:06 - Just about to check for updates at program start
24/11/2013 20:08:06 - Checking for GUI updates.
24/11/2013 20:08:06 - Checking if updater program is present.
24/11/2013 20:08:06 - Updater program is present.
24/11/2013 20:08:09 - Version file downloaded successfully.
24/11/2013 20:08:09 - Current version         = 1.1.5076.35457
24/11/2013 20:08:09 - Latest beta version     = 1.1.5076.35457
24/11/2013 20:08:09 - Latest release version  = 1.0.0.0
24/11/2013 20:08:09 - Latest updater version  = 1.0.5076.178
24/11/2013 20:08:09 - About to get existing updater version from program file.
24/11/2013 20:08:09 - we had an error: Value cannot be null.
Parameter name: input
24/11/2013 20:08:09 - Downloading updater version:1.0.5076.178
24/11/2013 20:08:11 - New updater program downloaded, version 1.0.5076.178
24/11/2013 20:08:11 - Your version is up to date.
24/11/2013 20:08:11 - Current version:         1.1.5076.35457
24/11/2013 20:08:11 - Newest version available:1.0.0.0
24/11/2013 20:08:11 - Update check from program startup, closing Update form automatically

I've highlighted the line in the GUI error log above, the code I put in is now catching the exception, it seems that the result is that when you check for updates it will always download the HG612 Update.exe program. At least it means the update system will work for you now.

It looks like you don't have beta updates checked, as it's say the newest version available is 1.0.0.0 which I have as the release version.

What was sitting at 0KB ?

Edit: It will say there was an error, because of the item I've highlighted above. You can just click the red button, which will open the error log and clear the error button.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on November 25, 2013, 07:39:49 PM
Hi Ronski,

I have ticked Beta updates and ran the GUI again, I have also attached screenpirints of the updater and the latest log.

GUI Updater did at one point say it was 0KB, then following one of you debug programs it did update itself.

Cheers
Title: Re: HG612 Stats Editor updates
Post by: Ronski on November 25, 2013, 10:45:42 PM
Ah, I see now, the file size was zero and therefore it must have been corrupted. This explains why my code couldn't get the version number, it makes sense now.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 06, 2013, 10:30:42 PM
I've added some new features, these are a work in progress but I think the current state is suitable for a beta release, there are more features to be added, so the reason for the slide show option will become more apparent after the next stage  ;)

Code: [Select]
Change log

1.1.5088.39912 06-11-2013

Added graphs tab to stats display tab - this section is a work in progress - more features to be added.
Button to open Ongoing Stats folder
Button to view graphs - resizable form will open with following options:
Duration - filters the durations in the graphs created list
Graphs created - allows to choose which graphs to show.
Graph type - displays the selected graph
Play slide show button
Forwards / backwards button - only visible when playing slide show
Previous/next or Slower/Faster buttons
Close button.


Options for viewing the current stats will also be added later.

All the drop down lists are parsed from the file names, and will only work with the standard folder and file names produced via BE1's graphing scripts.

As before any suggestions or bug reports and also if anybody spots an item on the lists which is not parsed correctly then please let me know.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on December 11, 2013, 12:11:23 AM
I like it  :drink:

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on December 12, 2013, 04:50:16 AM
something seems wrong with my updater.

when I load the app the updater window says checking for update, then it pauses for about 3 seconds on downloading update then it seems to abort and launch the app as normal.  so I am stuck on the older version.

manual check seems ok tho.

Updater program is present.
Attempting download of latest version file.
Version file downloaded successfully.
Current version         = 1.1.5075.20438
Latest beta version     = 1.1.5089.17223
Latest release version  = 1.0.0.0
Latest updater version  = 1.0.5076.178
Current updater version = 1.0.5076.178

There is an update available to version 1.1.5089.17223
If you view the change log it will open in your browser
Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 06:25:58 AM
Can you attach the GUI error log from the editor directory please and I'll take a look , it's in the scripts folder.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on December 12, 2013, 09:12:22 AM
whats the filename of the log in question? dont think I have one.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 09:54:12 AM
You should have, for a standard install the full path and name is as follows.

Code: [Select]
C:\HG612_Modem_Stats\Scripts\Editor\GUI Error Log.txt
Title: Re: HG612 Stats Editor updates
Post by: BritBrat on December 12, 2013, 10:04:30 AM
I will be reading these posts soon  :)

Got a HG612 coming in post.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 10:50:07 AM
Good move BritBrat, but bear in mind you'll need to install BE1's stat monitoring program first, my program is only a front end to BE1's stats logging and graphing programs.

Any problems just ask.

Hopefully soon there will be an updated package to simplify things, but time is short at the moment.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on December 12, 2013, 10:58:07 AM
ok found it, incoming.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on December 12, 2013, 11:21:05 AM
Hi Ronski,

Thanks to your previous help I have been running the stats program sucessfully for a while now, however this morning I went to have a look at the logs and noticed the the last entry was 16:00 yesterday.  I clicked on the gui and I then got a message saying there was a problem opening the modem log then when the gui opened it said there was a gui error.

On looking at the scripts folder I noticed lots of 'IS' running files.

I have attached some logs for your persual and wondered if you could suggest anything.

Got an ongoing problem with disconnects/resyncs, my ISP says it an copper issue and BT say everything is fine.

Let me know if there is anything else specific you need.

Cheers
Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 01:30:40 PM
ok found it, incoming.

I can't remember for certain, but I think there was a bug that prevented updates via the check at start up,  now you are on the latest version see how it goes next time.

Korben ,  I'll have a look at your logs when I'm on my pc.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on December 12, 2013, 07:03:17 PM

I have attached some logs for your persual and wondered if you could suggest anything.



Looking at your modem_stats.log, it seems that something has corrupted it as the very last row is full of blank spaces.

It may be worth deleting the last couple of rows or even renaming/deleting it to force a new modem_stats.log to be created.



Also, looking at your ERROR.LOG it appears that you have some 'stuck' instances of HG612_stats.exe

You could end these 'stuck' processes via Windows Task Manager.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 07:20:14 PM
We had this happen recently, did it happen to Korben last time as well?
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on December 12, 2013, 07:57:50 PM
Hi Ronski,

Think your right, thinking more about it this did happen a while back and last time there was some corruption in modem log.

I tried just deleting the last entry in the modem log and restarting the schedule however this made no difference so I renamed the modem log and a new one was created and its now running, will monitor it for now.

Cheers

Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 08:13:06 PM
It would be the last line and the blank line, the blank line appears to be the corrupted one.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on December 12, 2013, 08:46:31 PM
Does your editor check to see if HG612_stats.exe has completed before grabbing the stats?

If not, I wonder if it could occasionally be reading modem_stats.log just at the same time that HG612_stats.exe attempts to write to it.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 12, 2013, 10:27:03 PM
It watches for the file to be modified, once it has it then reads the files, the watching part is handled by the OS,  so I'm not sure of the specifics. As far as I'm aware your software only writes to the modem log once per minute,  so they can't clash.

I run the GUI 24/7 on my server, I also run it at work,  and have never had this problem, nor am I aware of anyone else which suggests it's something specific to Korbens setup.

Edit: I've just checked the actual program and the watcher fires an event which runs the code to read the file when the modem log has been written to. See here (http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.notifyfilter%28v=vs.110%29.aspx) for more info.

So my code is triggered when the modem log is written to, it will first read the modem log, then the xlogfile, and takes mere fractions of a second to complete the reads of both files.
Title: Re: HG612 Stats Editor updates
Post by: Korben_dallas on December 13, 2013, 10:53:15 AM
Hi,

It seemed everything ran ok for about an error then it fell over again.  So I have renamed the modem log and this time perfromed a full reboot of the system something which I didnt do before, just in case there was a process left over somewhere. 

Will monitor it and see whah happens this time.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on December 26, 2013, 09:15:14 PM
I added some more functionality to the graph viewer.

I've added an option to filter the graphs by time created.

Also an option which locks the graph type, when the check box is checked the viewable graphs will be updated to only include the graph type currently selected, based on the duration and time selected. This allows you to step through or play a slide show of a particular graph type.

Also when opening the graphs the folder names are checked for any old format names, and if any exist the option to rename them automatically is given.

Code: [Select]
1.1.5108.37673 26-12-2013

Minor bug fix to restore from tray - now when restored from tray the window is now the active window.
When viewing graphs, ongoing folding names are checked for old name formats and can automatically be renamed.
Added time filter option to graph display window - allows to filter by time created.
Added 'Lock the graph type' check box. This will lock the graph type, and will now list all the graphs of the selected type at the time and duration selected.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.

Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 01, 2014, 05:10:19 PM
Another update:

Code: [Select]
1.1.5114.30729 01-01-2014

Added viewing current stats to graphs tab
Various other minor changes
Check at startup to see if more than one version is running.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 05, 2014, 03:55:55 PM
Happy New year Ronski

Your graph viewer is an excellent addition to the GUI it makes it so much easier when comparing old & new graphs well worth a donation in my books.

Keep up the great work  :thumbs:
 
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 05, 2014, 04:52:19 PM
NewtronStar, thanks very much for the donation and the kind words, much appreciated  :thumbs:
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 10, 2014, 11:56:09 PM
Minor update.

Code: [Select]
1.1.5123.42731 10-01-2014

Minor bug fix which caused error when a single line modem log file was read.
Duration list in graph viewer now sorted in time order.

Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: kitz on January 11, 2014, 12:09:28 AM
Cheers ronski.

Ive also edited the first post a bit too :)
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 11, 2014, 09:07:25 AM
Thanks Kitz.

I've come into work this morning and updated my version at work, I seem to have introduced some sort of bug when reading the modem log files, so have temporarily suspended downloads of the updated version.

If anybody did update overnight are you have problems?

It works fine at home on both my W7 machine and my server, but here at work also on W7 I get an error every time it reads the modem log it loses the date, but strangely other stats display correctly.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 11, 2014, 07:03:17 PM
Well I can't find any possible cause for the behaviour I experienced on my works PC, it's been running fine on my server all day, I'm putting it down to MS weirdness  ???

I did find one other bug which would of affected a single line modem log, so correct that.

Updates now available again.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 11, 2014, 11:55:16 PM
it updated fine as always  :)
I am not even sure what a single line modem log file is but I probably should, all I can think of is your using the one modem on a server which sends the stats data to all computers connected to that server (networking GUI stats)  :-\
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on January 12, 2014, 12:22:26 AM
a couple of issues one which is now a non issue tho.

The now non issue is yesterday the app detected an update but couldnt find the file when trying to download it, a 404 error, but you have now fixed this as just now it updated fine.

The other issue is the minute scheduled task.  This one is a weird one.  Basically every so often (its not consistent) the app I am using loses focus, when it does happen, its always the same time the task runs.  So 'sometimes' the task is taking focus.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 12, 2014, 10:45:40 AM
I am not even sure what a single line modem log file is....

It's a brand new log file, and the first minute will only contain one line, just me not wording things very well. Due to a bug in my software it was causing an error for anybody who started a new modem log file, but only when it contained a single line.

a couple of issues one which is now a non issue tho.

The now non issue is yesterday the app detected an update but couldnt find the file when trying to download it, a 404 error, but you have now fixed this as just now it updated fine.

As I had problems at work with the new update I just renamed the update file on my server to temporarily disable updates.

Quote
The other issue is the minute scheduled task.  This one is a weird one.  Basically every so often (its not consistent) the app I am using loses focus, when it does happen, its always the same time the task runs.  So 'sometimes' the task is taking focus.

Is it the task/stats logging or the GUI? Does it happen when the GUI is completely closed, minimised to system tray or open?
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on January 12, 2014, 12:06:25 PM
I think its the task, your gui updates itself at exactly 00 seconds?

I am pretty sure it happened with the app closed also but I cant say with certianty at this moment.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 12, 2014, 04:20:49 PM
My app updates the stats displayed immediately after HG612_Stats has written to the log file.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 24, 2014, 07:52:24 PM
Minor update.

Quote
1.1.5137.35543  24-01-2014

      Added INP values to the stats tab.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 24, 2014, 08:19:41 PM
Minor update.

Quote
1.1.5137.35543  24-01-2014
Added INP values to the stats tab.

Yes I see it but what does it meen? I have an INP of 3.00 on Downstream and 0.00 on the Upstream my downstream is Interleaved and the Upstream is non Interleaved.

edit sorry i'll upload a pic of the GUI





Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 24, 2014, 08:23:21 PM
I don't really know, Chrysalis requested it was added. I believe it stands for Impulse Noise Protection and it's something to do with interleaving.

Edit: Bit of info here (http://forum.kitz.co.uk/index.php/topic,10405.msg208586.html#msg208586)
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 24, 2014, 08:39:41 PM
I don't really know, Chrysalis requested it was added. I believe it stands for Impulse Noise Protection and it's something to do with interleaving.

Edit: Bit of info here (http://forum.kitz.co.uk/index.php/topic,10405.msg208586.html#msg208586)

Many thanks Ronski looking at that link now in short a lower INP result is better than a higher one, I will have a read at this link in full when the time is right  :)
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on January 24, 2014, 08:43:39 PM
to be honest I am not sure exactly what it does other than a feature to make a line more resistant to noise/errors.  But we are all stat lovers here so I requested it. :)

Here is mine and my errors not been this low for ages, looking on track to be 300-400 errors for the day.  With a 7.1dn snrm so even a extra 1db margin has huge impact on error rates I was seeing 1500-2000 a day on 6db before my line went crazy.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 24, 2014, 08:50:26 PM
I'm sure at some point WWWombat over on TBB forums explained it all in detail, even to the extent of calculating how much of an 'speed' the interleaving was effectively taking up.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 24, 2014, 08:56:59 PM
I'm sure at some point WWWombat over on TBB forums explained it all in detail, even to the extent of calculating how much of an 'speed' the interleaving was effectively taking up.

when looking at My stats and Chrysalis stats I know which one looks better without getting deep into documentation,but still I do love a detailed documented inspection into the workings  :-[

and it looks like Chrysalis has got his Fastpath back but thats for another thread  ;D
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 25, 2014, 07:32:31 PM
I was thinking if you could find away to show the line attenuation in the Stats Editor as at the moment it just shows N/A but as the HH5 is able to show the line attenuation figures at least it gives them and idea for the local loop length.

as it looks like the HH5 just uses the signal attenuation from the U0 band and D1 band so my line attenuation would  show as 7.8dB Upstream and 21.7dB Downstream.

the 21.7db /22.0dB DS shows me being 1600 meters from exchange using kitz calc which is near to correct give or take 50 meters and if i divide that by 2 to the FTTC cab I get 800 meters which is correct.
Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 26, 2014, 11:24:21 AM
I was thinking if you could find away to show the line attenuation in the Stats Editor as at the moment it just shows N/A but as the HH5 is able to show the line attenuation figures at least it gives them and idea for the local loop length.

as it looks like the HH5 just uses the signal attenuation from the U0 band and D1 band so my line attenuation would  show as 7.8dB Upstream and 21.7dB Downstream.

If BE1 can confirm the correct information to use from the stats then I can add it to the stats displayed. I have a vague idea they not available, but I'm sure BE1 can confirm.

Quote
the 21.7db /22.0dB DS shows me being 1600 meters from exchange using kitz calc which is near to correct give or take 50 meters and if i divide that by 2 to the FTTC cab I get 800 meters which is correct.

I'm not sure your logic is correct, surely on FTTC the line attenuation would be to the cabinet and not the exchange, also you're presuming the cab if halfway between the property and the exchange in your example, which may be so in your case but not others.
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on January 26, 2014, 11:44:18 AM

If BE1 can confirm the correct information to use from the stats then I can add it to the stats displayed. I have a vague idea they not available, but I'm sure BE1 can confirm.


It is field 88 for DS & field 89 for US in modem_stats.log, although a value for only DS is actually displayed.

It is also displayed in the Plink log, again with no US value:-

Code: [Select]
=~=~=~=~=~=~=~=~=~=~=~= Plink log 2014.01.26 10:00:04 =~=~=~=~=~=~=~=~=~=~=~=

xdslcmd info --stats
xdslcmd: ADSL driver and PHY status
Status: Showtime
Retrain Reason: 0
Last initialization procedure status: 0
Max: Upstream rate = 5056 Kbps, Downstream rate = 23688 Kbps
Bearer: 0, Upstream rate = 4928 Kbps, Downstream rate = 20488 Kbps

Link Power State: L0
Mode: VDSL2 Annex B
VDSL2 Profile: Profile 17a
TPS-TC: PTM Mode(0x0)
Trellis: U:ON /D:ON
Line Status: No Defect
Training Status: Showtime
Down Up
SNR (dB): 6.4 6.5
Attn(dB): 24.5 0.0
Pwr(dBm): 12.7 6.7


The overall DS attenuation of 24.5dB isn't quite just the line/signal attenuation for the D1 band for my connection though:-

Code: [Select]
  VDSL Band Status U0 U1 U2 U3 U4 D1 D2 D3
  Line Attenuation(dB): 8.1 53.2   N/A   N/A   N/A 21.7 65.3   N/A
Signal Attenuation(dB): 8.1 52.0   N/A   N/A   N/A 30.4 65.0   N/A
SNR Margin(dB): 6.4 6.5   N/A   N/A   N/A 6.4 6.3   N/A
TX Power(dBm): -1.1 5.9   N/A   N/A   N/A 11.6 6.0   N/A


Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 26, 2014, 11:57:52 AM
I've added the line attenuation as requested, thanks for the confirmation BE1.

Quote
1.1.5139.21364   26-01-2014

      Added line attenuation values, although upstream is only displayed as 0.


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on January 26, 2014, 01:22:02 PM
14.7 attenuation reported in gui, there is 3 values calculated one for each band?
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on January 26, 2014, 01:33:47 PM
14.7 attenuation reported in gui, there is 3 values calculated one for each band?

Could you provide the line & signal attenuation for each band for us?

We have no real idea how the single overall attenuation value is calculated (yet).
It doesn't seem to be an average across the bands.
It could possibly be the value at a given tone/frequency (as per ADSL?), but I haven't found that relationship on my own connection.

Title: Re: HG612 Stats Editor updates
Post by: Chrysalis on January 26, 2014, 02:54:41 PM
I see it also reports an overall attentuation (which I guess you used) so you can ignore what I said. :)

But here is the info you asked for.  I also agree its most likely a fixed tone they used.

Also to point out it seems ECI dslams do send US attenuation?

When posting this I just noticed the jump between my line and signal attenuation on D1.
Title: Re: HG612 Stats Editor updates
Post by: NewtronStar on January 26, 2014, 03:56:00 PM
Thanks Ron & BE1 for the implementation & research into the attenuation, at least it's something we can quickly see that the end user is close or further from exchange/Cab when comparing stats
and I know from looking at Kitz posts that the attenuation on FTTC is more complex but at least it's a Benchmark we can use.



Title: Re: HG612 Stats Editor updates
Post by: Ronski on January 27, 2014, 08:01:48 PM
Couple of minor improvements and bug fixes.

Quote
1.1.5140.34828   27-01-2014

      Added improved error handling when displaying graphs.
      Fixed rare error when reading modem log (date was truncated in rare circumstances).


Latest version can be download from here (http://www.ronski.me.uk/downloads/HG612_Settings_Editor.zip) or via checking for updates if you have a recent version.
Title: Re: HG612 Stats Editor updates
Post by: kitz on February 01, 2014, 06:46:13 PM
Im also interested in the link between the reported attenuation on the HH's and how it shows over the 3 bands, its puzzled me before now as Ive not been able to work out where this figure comes from.

Since one figure is often provided by the engineers JDSU, then I would be tempted to presume it will measured at a specific frequency tone.  With adsl2+ its based on insertion loss at 300 khZ.


Quote
It is field 88 for DS & field 89 for US in modem_stats.log, although a value for only DS is actually displayed.

Is this firmware/dslam specific?   Mine shows 0 for both in the plink file.

Code: [Select]
SNR (dB): 7.5 13.2
Attn(dB): 0.0 0.0
Pwr(dBm): 14.2 6.3
Title: Re: HG612 Stats Editor updates
Post by: Bald_Eagle1 on February 01, 2014, 07:45:29 PM

Is this firmware/dslam specific?   Mine shows 0 for both in the plink file.


It is specific to the updated firmware version:-

xdslcmd --version
xdslcmd version 1.0
DSL PHY: AnnexA version - A2pv6C038m.d24j
******* Pass *********


It has always been reported for each band plan, but prior to the firmware update, both DS & US were zero for the single value.

A DS value is now reported by the HG612 whether connected to a Huawei or an ECI DSLAM.

From a poorly performing connection to an ECI DSLAM:-

Code: [Select]
Down Up
SNR (dB): 9.3 5.5
Attn(dB): 36.8 0.0
Pwr(dBm): 10.2 5.8



From my connection to a Huawei DSLAM:-

Code: [Select]
Down Up
SNR (dB): 5.8 6.4
Attn(dB): 24.5 0.0
Pwr(dBm): 12.7 6.6

Title: Re: HG612 Stats Editor updates
Post by: kitz on February 06, 2014, 08:38:59 AM
05/02/2014:


A version 2.0 revision to the HG612 Modem Stats package has now been released.

It is available here:-

http://www.freewarefiles.com/HG612-Modem-Stats_program_84567.html (http://www.freewarefiles.com/HG612-Modem-Stats_program_84567.html)

Click the Blue Download Now! button & choose one of the Download Mirrors.

All further discussions on the version 2 should take place in the new thread
http://forum.kitz.co.uk/index.php?topic=13529.0