@@ -178,17 +178,17 @@ One should call 'ready()' on the component after.
178178=== component_exists
179179
180180Does the specified component exist at this time. +
181- Example:
182181
182+ .Example
183183----
184184hal.component_exists("testpanel")
185185----
186186
187187=== component_is_ready
188188
189189Is the specified component ready at this time. +
190- Example:
191190
191+ .Example
192192----
193193hal.component_is_ready("testpanel")
194194----
@@ -205,26 +205,26 @@ used for debugging information.
205205=== connect
206206
207207Connect a pin to a signal. +
208- Example:
209208
209+ .Example
210210----
211211hal.connect("pinname","signal_name")
212212----
213213
214214=== disconnect
215215
216216Disonnect a pin from a signal. +
217- Example:
218217
218+ .Example
219219----
220220hal.disconnect("pinname")
221221----
222222
223223=== get_value
224224
225225Read a pin, param, or signal directly. +
226- Example:
227226
227+ .Example
228228----
229229value = 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----
275275hal.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----
357357hal.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