:orphan:

6000 Series
===========

**From:** `Pico Technology <https://www.picotech.com/oscilloscope/picoscope-6000e-series-3-ghz-5gss-deep-memory-mso-usb-oscilloscope>`_

**Class:** :py:class:`herosdevices.hardware.picotechnology.Picoscope6000a`


**Driver Quality Index:** beta


.. admonition:: Requires the following packages 

   `picosdk <https://github.com/picotech/picosdk-python-wrappers>`_

Driver class for the Picoscope 6000 series.

.. note::

   You need the official picoscope sdk installed. Note that it is not on PyPi and you need to follow the
   instructions `here <https://github.com/picotech/picosdk-python-wrappers>`_


.. tab-set:: 


   .. tab-item:: Arguments
   
   
      Bold arguments are mandatory. For more information on the listed arguments refer to the class             documentation: :py:class:`herosdevices.hardware.picotechnology.Picoscope6000a` If parameters appear in this             list but not in the class definition, please recursively check the linked base classes for the             definition of the parameter.
      
      
      .. list-table:: 
         :widths: 50 50 50 100
         :header-rows: 1
      
         * - Argument
           - Type
           - Default Value
           - Description
         * - **serial_num**
           - **<class 'str'>**
           - 
           - Serial number of the picoscope. You can get that from the PicoScope GUI, it looks something like this: `JP402/0012`
         * - **config_dict**
           - **<class 'dict'>**
           - 
           - Configuration dictionary, see EXAMPLE_CONFIG
         * - default_config
           - str | None
           - None
           - 
         * - keep_device_open
           - <class 'bool'>
           - True
           - Keep the device open after it is first opened
         * - payload_metadata
           - dict | None
           - None
           - 
      

   .. tab-item:: Example JSON for BOSS
   
      The following JSON strings can be used to start a HERO device representation of             :py:class:`Picoscope6000a <herosdevices.hardware.picotechnology.Picoscope6000a>` using             `BOSS <https://boss-eb4966.gitlab.io/>`_.
      
      .. code-block:: json
      
         {
             "_id": "myscope",
             "classname": "herosdevices.hardware.picotechnology.Picoscope6000a",
             "arguments": {
                 "serial_num": "JP306/0102",
                 "default_config": "default",
                 "config_dict": {
                     "default": {
                         "ch0": {
                             "coupling": "PICO_DC_50OHM",
                             "range": "PICO_100MV"
                         },
                         "ch1": {
                             "coupling": "PICO_DC_50OHM",
                             "range": "PICO_5V",
                             "record_trace": false
                         },
                         "trigger": {
                             "source": 1,
                             "threshold": 1.5
                         },
                         "acquisition": {
                             "trace_length": 6e-06,
                             "sample_time": 2e-10
                         }
                     }
                 }
             }
         }
      
      :sup:`from examples/picotechnology/picoscope6000.json` 
      
      
      .. code-block:: json
      
         {
             "_id": "my_Picoscope6000a",
             "classname": "herosdevices.hardware.picotechnology.Picoscope6000a",
             "arguments": {
                 "serial_num": "<class 'str'>",
                 "config_dict": "<class 'dict'>",
                 "default_config": null,
                 "keep_device_open": true,
                 "payload_metadata": null
             }
         }
      
      :sup:`generated from signature`
   .. tab-item:: Inheritance
   
   
      .. inheritance-diagram:: herosdevices.hardware.picotechnology.Picoscope6000a
      
