herosdevices.hardware.rohde_schwarz.ngx
=======================================

.. py:module:: herosdevices.hardware.rohde_schwarz.ngx

.. autoapi-nested-parse::

   Device driver for Rohde Schwarz NGX Power Supplies.





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

.. py:class:: NGX(resource: str, channels: tuple[tuple[int, str], Ellipsis] = ((1, 'ch1'), ), keep_alive: bool = True, **kwargs)

   Bases: :py:obj:`herosdevices.core.templates.VisaDeviceTemplate`


   Driver for Rohde Schwarz NGX Power Supplies using the VISA interface.

   The desired channels have to configured using the channel index (starting from 1) and a
   user-friendly channel name.
   For each channel, the HERO gains properties `channel_name_` `current`, `voltage`, `power` and `status`.
   In addition, current and voltage can be set using the property.

   Querying can also occur for the configured number of channels simultaneously by using the
   class-level properties.

   All properties are provided as observable data.

   :param resource: VISA resource identifier e.g. `TCPIP::my_device_address::INSTR`.
   :param channels: List of tuples of channel index and channel name.
   :param keep_alive: Keep VISA connection open.


   .. py:attribute:: channels
      :type:  tuple[tuple[int, str], Ellipsis]
      :value: ((1, 'ch1'),)



   .. py:attribute:: resource


   .. py:attribute:: connection


