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 17:00:14
Print Post

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


[re: deleted] [link to this post]
 
I can't see a "W" only "\" confused

Is it much faster that the current one?
Standard User StephenTodd
(committed) Sat 05-Jan-13 17:22:49
Print Post

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


[re: deleted] [link to this post]
 
Looks promising.
It would be best if the Locations could all work as relative locations.
You may well find they do anyway without any extra work, as long as the exe is launched with the appropriate current directory.
I'm not sure why the Drive value is necessary; unless it is used to set appropriate defaults for the rest.

[Locations]
Main_folder = .
Scripts_and_Programs = Scripts
Apps_folder = Apps
Current_Stats_folder = Current_Stats
Ongoing_Stats_folder = Ongoing_Stats

(some people might prefer ".\Scripts" etc for clarity; either should work)

Personally, I'm not worried about automatic graphing.
Robuster automatic scripting will be great; but I'd rather do graphing on demand.

--
Moved (with trepidation) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User deleted
(deleted) Sat 05-Jan-13 17:26:10
Print Post

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


[re: StephenTodd] [link to this post]
 
I disagree. The explicit paths are fine.


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

Standard User deleted
(deleted) Sat 05-Jan-13 17:28:25
Print Post

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


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
I can't see a "W" only "\" confused

Ah well, it must be some setting or other at my end.
I also see it on some other websites.




Is it much faster that the current one?

About 7 seconds to gather the stats & produce the snapshot graphs as opposed to the 30 seconds via the scripted version (using a half reasonable spec Windows 7 machine).

Edited by deleted (Sat 05-Jan-13 17:48:07)

Standard User StephenTodd
(committed) Sat 05-Jan-13 17:31:19
Print Post

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


[re: deleted] [link to this post]
 
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.

--
Moved (with trepidation) to BT Infinity 2 for upload speed. Happy BE user for several years.
Standard User deleted
(deleted) Sat 05-Jan-13 17:34:13
Print Post

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


[re: StephenTodd] [link to this post]
 
I would rather have it working now before it gets bogged-down with nice-to-haves wink
Standard User deleted
(deleted) Sat 05-Jan-13 17:45:05
Print Post

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


[re: StephenTodd] [link to this post]
 
In reply to a post by StephenTodd:
Looks promising.
It would be best if the Locations could all work as relative locations.
You may well find they do anyway without any extra work, as long as the exe is launched with the appropriate current directory.
I'm not sure why the Drive value is necessary; unless it is used to set appropriate defaults for the rest.

[Locations]
Main_folder = .
Scripts_and_Programs = Scripts
Apps_folder = Apps
Current_Stats_folder = Current_Stats
Ongoing_Stats_folder = Ongoing_Stats

(some people might prefer ".\Scripts" etc for clarity; either should work)


I agree about the Drive (at the moment).
That value isn't actually used. It may be at some other time though, so I included it just in case.

I had to include the full paths for users that may wish to split up the various folders across various drives/other folders elsewhere (maybe some on a server & some on a local PC or a memory stick/SSD drive for whatever reasons.


Personally, I'm not worried about automatic graphing.
Robuster automatic scripting will be great; but I'd rather do graphing on demand.

Perhaps I could/should change its title.

I only ever intended to graph on demand.
It can be completely automated by running a simple batch file if required.

What it is used for is to turn graphing on or off when obtaining the snapshot Plink log data.
By default, the scripted version automatically went on to generate the graphs.
That option could be edited directly in the script (TestStats2.BAT), but it is easier/safer to do in the ini file.

e.g. I remotely monitor a couple of remote connections where there is no need to graph the Plink logs each time they are harvested on a schedule.

I have the logs emailed to me (again on a schedule) & I graph them at my end by dragging & dropping the log onto the older script or new program icon.
Standard User deleted
(deleted) Sat 05-Jan-13 18:07:56
Print Post

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


[re: deleted] [link to this post]
 
In reply to a post by BatBoy:
I would rather have it working now before it gets bogged-down with nice-to-haves wink


Try it out if you like.

.Test Snapshot graphing programs



All 3 files have to reside in the same folder (for now).
The output Plink logs & graphs should end up in time stamped subfolders (as per usual) of whatever folder you specify in the HG612_stats.ini file for the Current_Stats.

You have to create that new Current_Stas folder first though.
I might get round to automating that at some time.

Note: NO SPACES ALLOWED IN FOLDER OR FILE NAMES & do NOT change the name of the program

Bear in mind that this is a test version, so retain your scrited versions for now

Edited by deleted (Sat 05-Jan-13 18:42:15)

Standard User deleted
(deleted) Sat 05-Jan-13 21:45:53
Print Post

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


[re: deleted] [link to this post]
 
The HG612_current_stats worked well, but the Graph6 just seemed to loop. Impressive though, thanks.
Is the stats collector also going to be a .exe?
Standard User StephenTodd
(committed) Sat 05-Jan-13 22:34:14
Print Post

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


[re: deleted] [link to this post]
 
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

Looking promising.

--
Moved (with trepidation) to BT Infinity 2 for upload speed. Happy BE user for several years.
Pages in this thread: 1 | 2 | [3] | 4 | 5 | 6 | 7 | 8 | (show all)   Print Thread

Jump to