|
Also, params are deprecated and have been done away with in some
cases and eventually all. They originate from a time when it was not possible to set pins to a default value in code for components. Therefore params were used and set after the component was instantiated but before attaching it to a thread and starting it. They are still retained in some components, so there is a bit of a mix currently. Pins can either be set and read, or just read depending upon the requirement and type. If you run these lines, you will see the component and a signal, but you have to create it first $ DEBUG=5 realtime restart $ halcmd loadrt siggen $ halcmd net mysig siggen.0.sawtooth $ halcmd show all $ halrun -U Obviously you need to create a thread, attach siggen and start the thread before you see any meaningful values in the pins or signal regards On 15/12/18 06:53, Bas de Bruijn wrote:
-- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout. |
- [Machinekit] Machinekit Advanced HAL Tutorial Scott Nortman
- Re: [Machinekit] Machinekit Advanced HAL Tutoria... Bas de Bruijn
- Re: [Machinekit] Machinekit Advanced HAL Tut... [email protected]
