forked from M-Labs/artiq
style
This commit is contained in:
parent
de4a15c315
commit
5bb6a3d8a6
|
@ -1,5 +1,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from artiq.devices.lda.driver import Lda, Ldasim
|
from artiq.devices.lda.driver import Lda, Ldasim
|
||||||
from artiq.language.units import dB
|
from artiq.language.units import dB
|
||||||
|
|
||||||
|
|
|
@ -78,7 +78,7 @@ The client
|
||||||
|
|
||||||
Clients are small command-line utilities that expose certain functionalities of the drivers. The ``artiq_rpctool`` utility contains a generic client that can be used in most cases, and developing a custom client is not required. Try these commands ::
|
Clients are small command-line utilities that expose certain functionalities of the drivers. The ``artiq_rpctool`` utility contains a generic client that can be used in most cases, and developing a custom client is not required. Try these commands ::
|
||||||
|
|
||||||
$ artiq_rpctool ::1 3249 list-methods
|
$ artiq_rpctool ::1 3249 list-methods
|
||||||
$ artiq_rpctool ::1 3249 call message test
|
$ artiq_rpctool ::1 3249 call message test
|
||||||
|
|
||||||
In case you are developing a NDSP that is complex enough to need a custom client, we will see how to develop one. Create a ``hello_client.py`` file with the following contents: ::
|
In case you are developing a NDSP that is complex enough to need a custom client, we will see how to develop one. Create a ``hello_client.py`` file with the following contents: ::
|
||||||
|
|
Loading…
Reference in New Issue