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 deleted
(deleted) Sat 05-Jan-13 23:33:45
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: StephenTodd] [link to this post]
 
So how did you start Graph6 and what folder was it in?
Standard User deleted
(deleted) Sun 06-Jan-13 01:10:11
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
The HG612_current_stats worked well, but the Graph6 just seemed to loop.

I realised that & have now added this message for when anyone tries to run GRAPH6.exe directly:-



Text
1
23
45
67
89
1011
1213
1415
1617
1819
2021
22
*********************************************************
*                                                       **                                                       *
*         GRAPH6.exe should not be run directly.        **                                                       *
*     A valid log file name needs to be specified.      **                                                       *
*       This is done automatically when running         **      HG612_current_stats.exe with the option to       *
*       go on to generate the graphs switched ON        **                                                       *
*       Alternatively, it can be specified on           **          the command line as a parameter              *
*     or by dragging and dropping a valid log file      **               onto the GRAPH6.exe icon                *
*                                                       **                                                       *
*                                                       **       Now press a key to exit the program....         *
*                                                       **                                                       *
*********************************************************



I haven't uploaded it to the link yet though as I am still tweaking here & there.


Is the stats collector also going to be a .exe?

Yes, it is currently being tested as we write.

Edited by deleted (Sun 06-Jan-13 01:20:09)

Standard User deleted
(deleted) Sun 06-Jan-13 01:18:25
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
Works for me, including Graph6.exe
after I had copied the Apps directory from my more permament installation
and used absolute (not relative) paths in the ini file for Apps


Hmmm.

You should have just been able to point to the existing Apps folder by editing the ini file to state where the apps were stored.

Did you try that?


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

Standard User hypertony
(committed) Sun 06-Jan-13 07:09:05
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: deleted] [link to this post]
 
Some people have the operating system installed as E: i.e. someone with dual boot operating systems - so something to be aware of.

- Tony Sutton
- Check out my Ford Focus ST170 site | View my Car's Dashcam Videos
Standard User StephenTodd
(committed) Sun 06-Jan-13 10:32:48
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: deleted] [link to this post]
 
You should have just been able to point to the existing Apps folder by editing the ini file to state where the apps were stored.

I thought of that after doing the copying. Just tested it out, and yes it does work that way too.

I have an oddity that all the files create by graph6.exe sometimes have wrong timestamps.
The ones I just did on 6 Jan at 10:11 GMT are reporting 5 Jan 22:28.
Some seem to come up with 'real' log creation time, some with a timestamp to match the .log file (sensible), and some with some other apparantly arbitrary time.


So how did you start Graph6 and what folder was it in?

BatBoy: I hope Bald_Eagle's other reply has sorted your looping issue.
But for info: I copied into folder "D:\Temp\modem"
I did have to create the folder D:\Temp\modem\Current_Stats explicitly;
otherwise HG612_current_stats.exe failed to operate correctly (without error message).
HG612_current_stats.exe did create appropriate subdirectories when run.

--
Moved (with trepidation) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User deleted
(deleted) Sun 06-Jan-13 10:47:46
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
You should have just been able to point to the existing Apps folder by editing the ini file to state where the apps were stored.

I thought of that after doing the copying. Just tested it out, and yes it does work that way too.

Good smile That's how it is intended to work i.e. the folders don't all have to be subfolders of the main folder.




I have an oddity that all the files create by graph6.exe sometimes have wrong timestamps.
The ones I just did on 6 Jan at 10:11 GMT are reporting 5 Jan 22:28.
Some seem to come up with 'real' log creation time, some with a timestamp to match the .log file (sensible), and some with some other apparantly arbitrary time.

Are you 100% sure you are looking in the new subfolder after generating the graphs?

The timestamp should just come from the PC's system time.
It works correctly every time for me.

Daft question:-
Is the PC where you get incorrect timestamps actually running at the correct system time?




BatBoy: I hope Bald_Eagle's other reply has sorted your looping issue.
But for info: I copied into folder "D:\Temp\modem"
I did have to create the folder D:\Temp\modem\Current_Stats explicitly;
otherwise HG612_current_stats.exe failed to operate correctly (without error message).
HG612_current_stats.exe did create appropriate subdirectories when run.

There is very little error checking built in so far in these test files.
I'll be adding some as time goes on, especially one to check that obtaining snapshot data doesn't clash with the harvesting of ongoing data.

When that happens, one of the programs fails to harvest the data for that instance.
It works straightaway afterward though.
Standard User Andrue
(knowledge is power) Sun 06-Jan-13 10:51:50
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
Note I said ''It would be best if the Locations could all work as relative locations."
I certainly agree explicit paths should also be allowed.
Relative paths make it much easier to install the application where you like, and to relocate it later if required;
no need to change a default .ini file in either case.
Yeah. However I'd make them relative to something fixed. Either the location of the EXE or better yet somewhere in the official application data or user data folders. Absolute paths can be a bit of a pain sometimes.

---
Andrue Cope
Brackley, UK

Just because he could. RIP.

Edited by Andrue (Sun 06-Jan-13 10:53:03)

Standard User deleted
(deleted) Sun 06-Jan-13 10:52:18
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
BatBoy: I hope Bald_Eagle's other reply has sorted your looping issue.
But for info: I copied into folder "D:\Temp\modem"
I did have to create the folder D:\Temp\modem\Current_Stats explicitly;
otherwise HG612_current_stats.exe failed to operate correctly (without error message).
HG612_current_stats.exe did create appropriate subdirectories when run.
Unfortunately not. I don't have a problem with HG612_current_stats.exe, that works fine.
It's Graph6 that loops. I left it running overnight, but it was still running just now.
Standard User deleted
(deleted) Sun 06-Jan-13 11:02:29
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
Unfortunately not. I don't have a problem with HG612_current_stats.exe, that works fine.
It's Graph6 that loops. I left it running overnight, but it was still running just now.


I wonder if you have a few incomplete instances of GRAPG6.exe and/or CMD.exe still running.

Task Manager should show what's running (ensure you look at all users).
If you have any spurious ones, end the tasks manually, or try a PC reboot to clear everything out.



BTW, what Windows version are you running?

I have tested on Windows 7 Home Premium & XP so far.
Standard User deleted
(deleted) Sun 06-Jan-13 11:05:58
Print Post

Re: Huawei HG612 - Graphing - A cry for programming help


[re: Andrue] [link to this post]
 
In reply to a post by Andrue:
Yeah. However I'd make them relative to something fixed. Either the location of the EXE or better yet somewhere in the official application data or user data folders. Absolute paths can be a bit of a pain sometimes.


It would be a lot easier if someone could write a point & click front end for confiiguring & writing the settings to the ini file as a standalone application (preferably in plain old 'C' so I could have half a chance of understanding it & developing it for future configuration options).
Pages in this thread: 1 | 2 | 3 | [4] | 5 | 6 | 7 | 8 | (show all)   Print Thread

Jump to