forked from M-Labs/artiq
doc: Mention ping() in NDSP tutorial
This commit is contained in:
parent
114084b12e
commit
23444d0c03
@ -129,6 +129,13 @@ Now it can be added using ``self.setattr_device("hello")`` in the ``build()`` ph
|
||||
|
||||
self.hello.message("Hello world!")
|
||||
|
||||
.. note::
|
||||
In order to be correctly started and stopped by a controller manager, your controller must additionally implement a ``ping()`` method, which should simply return true, e.g. ::
|
||||
|
||||
def ping(self):
|
||||
return True
|
||||
|
||||
|
||||
Remote execution support
|
||||
------------------------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user