forked from M-Labs/artiq
1
0
Fork 0

doc: Mention ping() in NDSP tutorial

This commit is contained in:
architeuthis 2024-06-27 10:42:18 +08:00 committed by Sébastien Bourdeauducq
parent b2955f2bbe
commit 8cfae86634
1 changed files with 7 additions and 0 deletions

View File

@ -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
------------------------