forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 4 additions and 0 deletions

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.