summaryrefslogtreecommitdiff
path: root/docs/man/man1/halmeter.1
blob: 74bfc95d7bd569a2e1963ca9cbb68e15c71ab958 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.\" Copyright (c) 2006 John Kasunich
.\"                (jmkasunich AT users DOT sourceforge DOT net)
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA.
.\"
.\"
.\"
.TH HALMETER "1"  "2006-03-13" "LinuxCNC Documentation" "HAL User's Manual"
.SH NAME
halmeter \- observe HAL pins, signals, and parameters
.SH SYNOPSIS
.B halmeter
[\fB-s\fR] [\fBpin\fR|\fBsig\fR|\fBparam\fR \fIname\fR] [\fB-g\fR \fIX-positon Y-position [Width]\fR] 
.SH DESCRIPTION
\fBhalmeter\fR is used to observe HAL (Hardware Abstraction
Layer) pins, signals, or parameters.  It serves the same
purpose as a multimeter does when working on physical systems.
.SH OPTIONS
.TP
\fBpin\fR \fIname\fR
display the HAL pin \fIname\fR.
.TP
\fBsig\fR \fIname\fR
display the HAL signal \fIname\fR.
.TP
\fBparam\fR \fIname\fR
display the HAL parameter \fIname\fR.
.TP
If neither \fBpin\fR, \fBsig\fR, or \fBparam\fR are specified, the
window starts out blank and the user must select an item to observe.
.TP
\fB\-s\fR
small window.  Non-interactive, must be used with \fBpin\fR, \fBsig\fR,
or \fBparam\fR to select the item to display.  The item name is displayed 
in the title bar instead of the window, and there are no "Select" or "Exit"
buttons.  Handy when you want a lot of meters in a small space.
.TP
\fB\-g\fR
geometry position.  allows one to specify the intial starting position
and optionally the width of the meter. Referenced from top left of screen 
in pixel units.
Handy when you want to load a lot of meters in a script with out them
displaying on top of each other.
.SH USAGE
Unless \fB\-s\fR is specified, there are two buttons, "Select" and "Exit".
"Select" opens a dialog box to select the item (pin, signal, or parameter)
to be observed.  "Exit" does what you expect.

The selection dialog has "OK" "Apply", and "Cancel" buttons.  OK displays
the selected item and closes the dialog.  "Apply" displays the selected
item but keeps the selection dialog open.  "Cancel" closes the dialog
without changing the displayed item.

.SH EXAMPLES

.TP
\fBhalmeter\fR
Opens a meter window, with nothing initially displayed.  Use the "Select"
button to choose an item to observe.  Does not return until the window
is closed.
.TP
\fBhalmeter &\fR
Open a meter window, with nothing initially displayed.  Use the "Select"
button to choose an item.  Runs in the background leaving the shell 
free for other commands.
.TP
\fBhalmeter pin\fR \fIparport.0.pin-03-out\fR \fB&\fR
Open a meter window, initially displaying HAL pin \fIparport.0.pin-03-out\fR.
The "Select" button can be used to display other items.  Runs in background.

.TP
\fBhalmeter -s pin\fR \fIparport.0.pin-03-out\fR \fB&\fR
Open a small meter window, displaying HAL pin \fIparport.0.pin-03-out\fR.
The displayed item cannot be changed.  Runs in background.

.TP
\fBhalmeter -s pin\fR \fIparport.0.pin-03-out\fR \fB-g\fR \fI100 500\fR \fB&\fR 
Open a small meter window, displaying HAL pin \fIparport.0.pin-03-out\fR.
places it 100 pixels to the left and 500 pixels down from top of screen.
The displayed item cannot be changed.  Runs in background.

.TP
\fBhalmeter -s pin\fR \fIparport.0.pin-03-out\fR \fB-g\fR \fI100 500 400\fR \fB&\fR 
Open a small meter window, displaying HAL pin \fIparport.0.pin-03-out\fR.
places it 100 pixels to the left and 500 pixels down from top of screen.
The width will be 400 pixels (270 is default)
The displayed item cannot be changed.  Runs in background.

.SH "SEE ALSO"

.SH HISTORY

.SH BUGS

.SH AUTHOR
Original version by John Kasunich, as part of the LinuxCNC
project.  Improvements by several other members of
the LinuxCNC development team.
.SH REPORTING BUGS
Report bugs to jmkasunich AT users DOT sourceforge DOT net
.SH COPYRIGHT
Copyright \(co 2003 John Kasunich.
.br
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.