2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

manual: hwgrep is the preferred way of specifying a serial device

This commit is contained in:
Yann Sionneau 2015-06-23 18:14:25 +02:00
parent 7821d0f7c8
commit f0dddd9f39

View File

@ -89,4 +89,8 @@ feature of pyserial
`serial_for_url() <http://pyserial.sourceforge.net/pyserial_api.html#serial.serial_for_url>`_
in order to open a serial device.
The preferred way to specify a serial device is to make use of the ``hwgrep://``
URL: it allows to select the serial device by its USB vendor ID, product
ID and/or serial number. Those never change, unlike the device file name.
See the :ref:`TDC001 documentation <tdc001-controller-usage-example>` for an example of ``hwgrep://`` usage.