herosdevices.core.templates.visa
================================

.. py:module:: herosdevices.core.templates.visa

.. autoapi-nested-parse::

   Templates for devices connected via a visa interface.





Module Contents
---------------

.. py:class:: VisaDeviceTemplate(resource: str, keep_alive: bool = True, **kwargs)

   Template (base class) for devices which are controlled or read out through a visa interface.

   The interface must be accessible by pyvisa via TCP/IP.

   Inheriting your device driver from this class allows to use `herosdevices.core.DeviceCommandQuantity` to define
   the serial commands within your device driver class.


   .. py:attribute:: resource


   .. py:attribute:: connection


