.. _electronics: ********************** The Electronic Control ********************** Introduction ============ The electronic module regroups all the classes and functions which are related to the reading of electronics components. The electronic components used here are: * the :ref:`DAQ`, which is connected to * the :ref:`limit-switches` * the :ref:`relays` * the :ref:`RHsensors` * the :ref:`power_supplies` * the :ref:`PDUs` (Power Distribution Unit) * the :ref:`encoder` used to monitor the rotation of the motors .. _DAQ: The Data Acquisition Board ========================== MASCARA uses the USB 1208FS mccdaq series. The datasheet relative to this device can be found on the website of mmcdaq. Below a quick diagram of the different types of outputs of the DAQ: .. _DAQ-diagmra: .. figure:: DAQ-diagram.png :alt: diagram of the output of the data acquisition board. :scale: 75% :align: center Diagram of the various outputs of the DAQ. The DAQ has its own class to acces the functions embedded in the cbw32 dll. See :meth:`DAQ.DAQ` for a description of the APIs. Referece APIs ============= The DAQ class ------------- .. autoclass:: DAQ.DAQ :members: __init__, getBoardName, configPorts, dBitOut, dOut, dAllOut, dBitIn, vIn, vOut, flashLED