This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sdk:connection-statistics [2019/02/18 14:15] – juraschek | sdk:connection-statistics [2021/08/04 09:20] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 6: | Line 6: | ||
A second script will upload the log files in the working directory from time to time to a FTP server. | A second script will upload the log files in the working directory from time to time to a FTP server. | ||
Once having the data on the server, it can be evaluated, e.g. by drawing it onto a map or analyse it with Excel or NI DIAdem. | Once having the data on the server, it can be evaluated, e.g. by drawing it onto a map or analyse it with Excel or NI DIAdem. | ||
+ | |||
+ | |||
+ | ===== Logging Skript ===== | ||
+ | |||
<code c logger.are> | <code c logger.are> | ||
/* DESC: A script that can be used for a longtime logging of a NetModule Router. | /* DESC: A script that can be used for a longtime logging of a NetModule Router. | ||
Line 283: | Line 287: | ||
+ | ===== Skript to periodcly upload the csv Files ===== | ||
<code c uploader.are> | <code c uploader.are> | ||
Line 353: | Line 358: | ||
u = new uploader("/ | u = new uploader("/ | ||
- | u.server=" | + | u.server=" |
u.serverpath="/ | u.serverpath="/ | ||
u.user=" | u.user=" | ||
Line 360: | Line 365: | ||
u.uploadfiles(); | u.uploadfiles(); | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | Example Python script to visualize the Data: | ||
+ | |||
+ | |||
<code python scatter.py> | <code python scatter.py> |