Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.11 KB

examples.rst

File metadata and controls

32 lines (24 loc) · 1.11 KB

Examples

You can download all niswitch examples here

niswitch_connect_channels.py

.. literalinclude:: ../../src/niswitch/examples/niswitch_connect_channels.py
   :language: python
   :linenos:
   :encoding: utf8
   :caption: `(niswitch_connect_channels.py) <https://github.com/ni/nimi-python/blob/1.4.5/src/niswitch/examples/niswitch_connect_channels.py>`_

niswitch_get_device_info.py

.. literalinclude:: ../../src/niswitch/examples/niswitch_get_device_info.py
   :language: python
   :linenos:
   :encoding: utf8
   :caption: `(niswitch_get_device_info.py) <https://github.com/ni/nimi-python/blob/1.4.5/src/niswitch/examples/niswitch_get_device_info.py>`_

niswitch_relay_control.py

.. literalinclude:: ../../src/niswitch/examples/niswitch_relay_control.py
   :language: python
   :linenos:
   :encoding: utf8
   :caption: `(niswitch_relay_control.py) <https://github.com/ni/nimi-python/blob/1.4.5/src/niswitch/examples/niswitch_relay_control.py>`_