Skip to content

Commit bb7ecf0

Browse files
committed
More changes performed while translating
1 parent 377964b commit bb7ecf0

5 files changed

Lines changed: 18 additions & 18 deletions

File tree

docs/man/man3/hal_init.3hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ Call only from within user or init/cleanup code, not from relatime tasks.
2525

2626
.SH RETURN VALUE
2727
On success, returns a positive integer module ID, which is
28-
used for subsequent calls to hal and rtapi APIs.
28+
used for subsequent calls to HAL and rtapi APIs.
2929
On failure, returns a HAL error code.

docs/man/man3/hal_malloc.3hal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ hal_malloc \- Allocate space in the HAL shared memory area
99

1010
.SH ARGUMENTS
1111
.IP \fIsize\fR
12-
Gives the size, in bytes, of the block
12+
Gives the size, in bytes, of the block.
1313

1414
.SH DESCRIPTION
1515
\fBhal_malloc\fR allocates a block of memory from the main HAL shared memory area.

docs/src/gui/qtvcp-vcp-panels.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ in a terminal type 'qtvcp list' <return> to see a list. +
2424

2525
=== copy
2626

27-
used for copying qtvcp's builtin screen/panels/vismach code to a folder
27+
used for copying QtVCP's builtin screen/panels/vismach code to a folder
2828
so one can customize it.
2929

3030
In a terminal:

docs/src/gui/qtvcp-widgets.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2580,7 +2580,7 @@ These can be set in stylesheets or python code to change it's properties.
25802580
A file path or resource path to an image to display in the described
25812581
button location.
25822582
If the reset button is pressed in the Designer editor property, the
2583-
image will not be displayed. (allowing optionally text)
2583+
image will not be displayed (allowing optionally text).
25842584
* 'left_text':
25852585
* 'right_text':
25862586
* 'center_text':

docs/src/hal/halmodule.adoc

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,17 @@ One should call 'ready()' on the component after.
178178
=== component_exists
179179

180180
Does the specified component exist at this time. +
181-
Example:
182181

182+
.Example
183183
----
184184
hal.component_exists("testpanel")
185185
----
186186

187187
=== component_is_ready
188188

189189
Is the specified component ready at this time. +
190-
Example:
191190

191+
.Example
192192
----
193193
hal.component_is_ready("testpanel")
194194
----
@@ -205,26 +205,26 @@ used for debugging information.
205205
=== connect
206206

207207
Connect a pin to a signal. +
208-
Example:
209208

209+
.Example
210210
----
211211
hal.connect("pinname","signal_name")
212212
----
213213

214214
=== disconnect
215215

216216
Disonnect a pin from a signal. +
217-
Example:
218217

218+
.Example
219219
----
220220
hal.disconnect("pinname")
221221
----
222222

223223
=== get_value
224224

225225
Read a pin, param, or signal directly. +
226-
Example:
227226

227+
.Example
228228
----
229229
value = hal.get_value("iocontrol.0.emc-enable-in")
230230
----
@@ -268,9 +268,9 @@ paramDirection1 = listOfDicts[0].get('DIRECTION')
268268

269269
=== new_sig
270270

271-
Create a new signal of the type specified. +
272-
Example:
271+
Create a new signal of the type specified.
273272

273+
.Example
274274
----
275275
hal.new_sig("signalname",hal.HAL_BIT)
276276
----
@@ -350,16 +350,16 @@ TODO
350350

351351
=== set_p
352352

353-
Set a pin value of any pin in the HAL system. +
354-
Example:
353+
Set a pin value of any pin in the HAL system.
355354

355+
.Example
356356
----
357357
hal.set_p("pinname","10")
358358
----
359359

360360
== Constants
361361

362-
Use These To specify details rather then the value they hold.
362+
Use these to specify details rather then the value they hold.
363363

364364
* HAL_BIT
365365
* HAL_FLOAT
@@ -441,7 +441,7 @@ Then make a pin and connect a 'value_changed' (the watcher) signal to a function
441441
# **** INITIALIZE **** #
442442
########################
443443
# widgets allows access to widgets from the qtvcp files
444-
# at this point the widgets and hal pins are not instantiated
444+
# at this point the widgets and HAL pins are not instantiated
445445
def __init__(self, halcomp,widgets,paths):
446446
self.hal = halcomp
447447
self.testPin = self.hal.newpin('test-pin', hal.HAL_BIT, hal.HAL_IN)
@@ -459,8 +459,8 @@ This shows ways to get the pin value and information.
459459
def setTestPin(self, data):
460460
print("Test pin value changed to:" % (data))
461461
print('halpin object =', self.w.sender())
462-
print('Halpin name: ',self.sender().text())
463-
print('Halpin type: ',self.sender().get_type())
462+
print('halpin name: ',self.sender().text())
463+
print('halpin type: ',self.sender().get_type())
464464
465465
# this can be called outside the function
466466
print(self.testPin.get())
@@ -478,6 +478,6 @@ This shows ways to get the pin value and information.
478478
and use it to display a digital readout with information of your choice
479479
(Ubuntu package name "lcdproc", in the universe repository)
480480
* Create a virtual control panel using any GUI library supported by
481-
Python (gtk, qt, wxwindows, etc)
481+
Python (gtk, Qt, wxWindows, etc.)
482482

483483
// vim: set syntax=asciidoc:

0 commit comments

Comments
 (0)