Expand error message to show bogus variance value.
Using a mis-configured (non-realtime?) kernel resulted
in error message that occurs for unrealistic negative variance
calculation.
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
Also:
When a bin had only one count, it was not
showing when using y axis logscale -- so alter
bin value from 1 to 1.1 to appear as a pip
above the yaxis 1E0 line.
Rearrange documenting lines for better fit with --nobase
Suggested by Peter Wallace
Thanks to jepler for rtapi_math64 with rtapi_div_u64
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
Catch SIGINT (^C on the keyboard) and call the cleanup function to stop
realtime and unload kernel modules (instead of just exiting and leaving
things set up).
Since Tcl doesn't support signal handling natively we need to use Extended
Tcl, so depend on that...
Thanks to Peter Wallace for the bug report.
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
Remove latency-plot as an Application menu item as it doesn't work for
a system which has _only_ a RIP build because the environment for
execution of commands from the Application menu is limited.
(unaware of linuxcnc RIP vars, for example, package require Hal fails)
Provide an alternative point-and-click access for latency-plot,
latency-histogram:
Since demo scripts in configs/apps/ are invoked from the main script
(scripts/linuxcnc) where more environemntal vars are available
these programs are modifed to work for a system with only a RIP build.
also:
For RIP only system: make configs/apps/xhc-hb04 demos work
Renaming for variable EMC2_SCRIPT
Improve pyvcp_demo exit handling
linuxcnc_info use editor search
app scripts: prepend auto_path (RIP, gui usage)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
The old /proc-parsing code is wrong on ARM systems, for whatever reason.
This is right everywhere I checked.
getconf is in libc-bin, so it should be available on all Linux. (In fact,
getconf is specified by POSIX, but _NPROCESSORS_ONLN is a Linux extension.
Still, this is no less portable than grepping /proc)
A new file type (.demo) in the configs tree is supported by the linuxcnc
script and the configuration selector (pickconfig.tcl). A .demo file
must be executable and is typically implemented as a shell script that
invokes an application with appropriate parameters.
This facility makes it possible to demonstrate apps related to linuxcnc
using pickconfig without starting linuxcnc or requiring a complete ini
file.
Thanks to Chris Morley for suggestion
Details:
Modify pickconfig to support .demo files
Use noforcecopy for .demo files which should not be copied to
a user dir
Provide .demo apps for halrun,info,parport,xhc-hb04
Provide .demo apps for gladevcp,pyvcp
New script: linuxcnc_var and removal of several scripts/*.in.
Rename latency scripts for consistency (and reduce merge overwrites).
Remove latencyplot from menu.
Moved gladevcp demo apps from root/gladevcp to configs/apps/gladevcp
The root/gladevcp/ examples were orphans and didn't work with
the configuration selector
Change .py files so persistent files are named .save instead of
.ini to avoid conflict with .ini files which the configuration
selector presumes are working configs.
Rebranding in some py files
Some clarifications within copied README files
Consolidate by-widgets dir
Update docs
New doc for configuration selector (needs formatting)
Update for configs tree rearrangement
Rename 2 non working sim .ini files to .ini.notworking
2014-03-22 06:13:56 -07:00
Renamed from scripts/latencyhistogram.in (Browse further)