General Discussion
  >> Fibre Broadband


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | [2] | 3 | 4 | 5 | 6 | 7 | 8 | (show all)   Print Thread
Standard User Andrue
(knowledge is power) Mon 04-Mar-13 09:54:16
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: smouty] [link to this post]
 
In reply to a post by smouty:
Has anyone tried RS? http://sourceforge.net/projects/rsux/
It works on Linux and Windows (and under WINE on OSX).
You'd need to go an extra mile to have it run as a service but there are ways of doing that under Windows.

---
Andrue Cope
Brackley, UK

Just because he could. RIP.

Edited by Andrue (Mon 04-Mar-13 09:55:08)

Standard User R0NSKI
(experienced) Mon 04-Mar-13 15:34:29
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: Andrue] [link to this post]
 
Download is now live at Freewarefiles.com.

Edit: If upgrading to the new version don't forget to backup any logs/graphs just in case. In my experience it is perfectly fine to keep your modem log file, I'm still using the same one I started last August.

Also if you like it then please rate it and leave a review on Freeware files, if you have any problems then let us know.

Edited by R0NSKI (Mon 04-Mar-13 16:40:55)

Standard User Chrysalis
(legend) Tue 05-Mar-13 01:18:44
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: R0NSKI] [link to this post]
 
ok thanks.

BT Infinity 2 Since Dec 2012 - Estimate 65.9/20 - Attainable peak 110/36 - Current Sync 71/20


Register (or login) on our website and you will not see this ad.

Standard User R0NSKI
(experienced) Thu 07-Mar-13 07:11:59
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: R0NSKI] [link to this post]
 
Just to let everyone know that the editor requires dot.net version 4, or else it won't run.

Standard User deleted
(deleted) Sun 10-Mar-13 07:32:38
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: R0NSKI] [link to this post]
 
Has anyone tried this out yet?

General constructive feedback/criticism is most welcomed, but I�m particularly interested to hear about how users found the setting up process, any problems & suggestions for potential future improvement and development.
Standard User StephenTodd
(committed) Sun 10-Mar-13 13:29:32
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: deleted] [link to this post]
 
I did a quick test and it is looking promising. I haven't had the time to check it out enough to use it for my regular day to day, I probably will soon.

One issue. I thought it could continue on seamlessly from [a copy of] my old log; but it crashes if I try that.
Log formats are different.
Sample old log entry
10/03/2013 13:23 75260 20000 5.3 15.1 13.6 6.9 85680 23500 G.992.3_Annex_K_PTM) 13259202 0 84087 1167 4981042 0 6918455 0.054 0 0 0 1921.79 926740840 234609 5297 1010675945 3943926 98930 84087 1167 0 776252710 4293687 18994414 13259202 0 0 1193 1

Sample new log entry
04/03/2013 17:41 75260 20000 4.3 15.7 13.9 6.9 82548 24327 PTM 77728 1071 901450671 227170 4579215 0 6415521 0 0 0 0 1782.089 901450671 227170 0 624979056 3943926 88959 77728 1071 0 4031861471 4293687 17080234 12211809 0 0 1193 1 2261 851 101 0 0 0 0 0 0 0 4.6 24.5 37.3 0.0 12.2 30.1 47.2 4.6 23.2 35.5 0.0 12.2 30.1 47.2 15.6 15.7 15.7 0.0 5.3 3.8 3.9 -4.2 -19.3 6.4 0.0 10.6 8.0 7.3 Showtime 0 0 L0 17a ON ON No Showtime 0.0 0.0 63 237 1 1 64 45 16 16 0.0271 0.3782 23651 5373 0 0 0 0 396995161 0 2198442418 0 0 0 0 22 22 3.00 0.00 1.29 4.25 8.00 0.00 129.34 60.17 2629375 86700 VDSL2

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User deleted
(deleted) Sun 10-Mar-13 15:04:06
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: StephenTodd] [link to this post]
 
If you do wish to add the new data to your previous log obtained via the script version, it is probably best to start a brand new log using all the extra data as obtained by the new programs.

Then, between each minute's data harvest, copy & paste your old data into the new modem_stats.log BEFORE the new data (don't leave any blank rows though).




The new program version checks the previous row of the log file each time it runs, in order to calculate any differences between data harvests.

If there isn't a corresponding data field from the previous row in the log, you are correct - it will crash.
This is NOT the case with a brand new log file though as the program detects that there is no previous data at all.

Graphing the data shouldn't be a problem though as any missing data (from previous log rows) is simply ignored.

It should be noted though that SOME of the data stored in the scripted version log file was incorrect as it was obtained from the modem's buggy GUI, which as we now know reports FEC/CRC errors incorrectly.

ALL the data (lots of it as you have seen) is now obtained via telnet commands, which IS correct.

Not all of it is yet used for graphing purposes, but subject to sufficient demand, I MIGHT add a few more graphs such as bitswaps each minute etc.

A copy of all the obtained data is updated at each minute's harves & stored in xlogfile.txt (also stored in the Ongoing_Stats folder).
Standard User StephenTodd
(committed) Sun 10-Mar-13 15:43:02
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: deleted] [link to this post]
 
Excellent, thanks. I'll try that when I get a chance.
I'll also update my more dynamic graphing code too.

Just to confirm: the first 40 entries are exactly the same as before, with the remaining 85 or so new?
Do you have a list of what all the columns are, please?

Minor issue with format is the blank in 'No Showtime' means that parsing will be marginally more complicated.

Thanks again for the very useful program.

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User StephenTodd
(committed) Sun 10-Mar-13 17:02:45
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: StephenTodd] [link to this post]
 
Another issue: I've solved for me but for information. Windows 8.

~~~
The task manager task generated by the Setting Editor was not running. Or rather, a first task it started running and never completed, and the remainder would not start.
The reason turned out to be that Task Manager starts a task using OpenWith, so that the command actually being run was
Text
1
C:\Windows\system32\OpenWith.exe ""D:\Temp\HG612_Modem_Stats\Scripts\HG612_stats.VBS""


Testing this out from the command line it asked me 'How do you want to open this kind of file (.VBS)?', with a suggestion 'Continue using Microsoft Console Based Script Host'.
Script host was registered for .VBS, so it ran automatically (without prompt) as a double-click from Explorer, but for some reason not from Task Manager/OpenWith.
Presumably, the hidden task was asking for interaction to tell it what to run, but not getting interaction as it was hidden!?

~~~
What I have done which is working (and neater) is to change the task to run "HG612_stats.exe", and told it to start in the appropriate "HG612_Modem_Stats\Scripts" directory.
I imagine this is avoiding the OpenWith.exe, and certainly avoiding cscript of the .vbs file.

If easy I suggest you change the Settings Editor to generate this variant

~~~
Merging the old and new log files as you suggest has worked fine, and the new version is now my regular version.
Once again, thanks to you both.

--
Moved (with trepidation turned relief) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User deleted
(deleted) Sun 10-Mar-13 21:52:24
Print Post

Re: Huawei HG612 Stats & Graphing Programs for Windows Users


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
Just to confirm: the first 40 entries are exactly the same as before, with the remaining 85 or so new?
Do you have a list of what all the columns are, please?

Minor issue with format is the blank in 'No Showtime' means that parsing will be marginally more complicated.



'No' & 'Showtime' are actually 2 separate elements.
Any spaces in the log are used to separate the elements.

If you work your way down xlogfile.txt, you should be able to work out what the abreviations mean.

The modem_stats.log file isn't set out in a particularly logical manner.
That's because the script version was gradually developed, adding extra data bit by bit & the new log was set out the same way, to at least allow older logs to be graphed with the new graphing program (blank or partially blank graphs being generated where the data didn't exist in the older log).

Text
1
23
45
67
89
1011
1213
1415
1617
1819
2021
2223
2425
2627
2829
3031
3233
3435
3637
3839
4041
4243
4445
4647
4849
5051
5253
5455
5657
5859
6061
6263
6465
6667
6869
7071
7273
7475
7677
7879
8081
8283
8485
8687
8889
9091
9293
9495
9697
9899
100101
102103
104105
106107
108109
110111
112113
114115
116117
118119
120121
122123
124125
126127
128129
130131
132133
134
Note:-
"hgs." is from xdslcmd info --stats as harvested"hgp." is from xdslcms info --pbParams
Anthing with a value of N/A (pbParams data) is converted to zero for calculation purposes"log_stats." is either calculated at harvesting time or is from the previous row in the log file
  
  
DateTime
hgs.ds_ratehgs.us_rate
hgs.ds_snrhgs.us_snr
hgs.ds_powerhgs.us_power
hgs.ds_max_ratehgs.us_max_rate
hgs.tps_tchgs.ds_cb1_CRC
hgs.us_cb1_CRChgs.ds_cb1_FEC
hgs.us_cb1_FEChgs.ds_HEC
hgs.us_HEChgs.AS
"0 "    /* Placeholder for DS_CRC_Errors2 */ This isn't used, so a value of zero is usedlog_stats.ds_CRC_ERRORS_THIS_PERIOD
log_stats.ds_FEC_ERRORS_THIS_PERIODlog_stats.ds_HEC_ERRORS_THIS_PERIOD
((float)hgs.AS / 3600)hgs.ds_RSCorr
hgs.us_RSCorrlog_stats.ds_RSCorr_THIS_PERIOD
hgs.ds_OHFhgs.us_OHF
log_stats.ds_OHF_THIS_PERIODhgs.ds_OHFErr
hgs.us_OHFErrlog_stats.ds_OHFErr_THIS_PERIOD
hgs.ds_RShgs.us_RS
log_stats.ds_RS_THIS_PERIODhgs.ds_RSUnCorr
hgs.us_RSUnCorrlog_stats.ds_RSUnCorr_THIS_PERIOD
hgs.ds_Dhgs.us_D
hgs.ds_EShgs.us_ES
hgs.ds_SEShgs.us_SES
log_stats.ds_ES_THIS_PERIODlog_stats.us_ES_THIS_PERIOD
log_stats.us_RSCorr_THIS_PERIODlog_stats.us_RS_THIS_PERIOD
log_stats.us_OHF_THIS_PERIODlog_stats.us_RSUnCorr_THIS_PERIOD
hgp.us_line_attenuation_U0hgp.us_line_attenuation_U1
hgp.us_line_attenuation_U2hgp.us_line_attenuation_U3
hgp.ds_line_attenuation_D1hgp.ds_line_attenuation_D2
hgp.ds_line_attenuation_D3hgp.us_signal_attenuation_U0
hgp.us_signal_attenuation_U1hgp.us_signal_attenuation_U2
hgp.us_signal_attenuation_U3hgp.ds_signal_attenuation_D1
hgp.ds_signal_attenuation_D2hgp.ds_signal_attenuation_D3
hgp.us_snr_margin_U0hgp.us_snr_margin_U1
hgp.us_snr_margin_U2hgp.us_snr_margin_U3
hgp.ds_snr_margin_D1hgp.ds_snr_margin_D2
hgp.ds_snr_margin_D3hgp.us_tx_power_U0
hgp.us_tx_power_U1hgp.us_tx_power_U2
hgp.us_tx_power_U3hgp.ds_tx_power_D1
hgp.ds_tx_power_D2hgp.ds_tx_power_D3
hgs.statushgs.retrain_r
hgs.pathhgs.link_power_state
hgs.profilehgs.us_trellis
hgs.ds_trellishgs.line_status
hgs.training_statushgs.ds_attn
hgs.us_attnhgs.ds_B
hgs.us_Bhgs.ds_M
hgs.us_Mhgs.ds_T
hgs.us_Thgs.ds_R
hgs.us_Rhgs.ds_S
hgs.us_Shgs.ds_L
hgs.us_Lhgs.ds_OCD
hgs.us_OCDhgs.ds_LCD
hgs.us_LCDhgs.ds_total_cells
hgs.us_total_cellshgs.ds_data_cells
hgs.us_data_cellshgs.drop_cells
hgs.ds_bit_errorshgs.us_bit_errors
hgs.ds_UAShgs.us_UAS
hgs.ds_INPhgs.us_INP
hgs.ds_PERhgs.us_PER
hgs.ds_delayhgs.us_delay
hgs.ds_ORhgs.us_OR
hgs.ds_bitswaphgs.us_bitswap
hgs.mode

Edited by deleted (Sun 10-Mar-13 22:27:21)

Pages in this thread: 1 | [2] | 3 | 4 | 5 | 6 | 7 | 8 | (show all)   Print Thread

Jump to