# Path: basil/HL/RegisterHardwareLayer.py
# class RegisterHardwareLayer(HardwareLayer):
#     def __init__(self, intf, conf):
#     def init(self):
#     def set_value(self, value, addr, size, offset, **kwargs):
#     def get_value(self, addr, size, offset, **kwargs):
#     def set_bytes(self, data, addr, **kwargs):
#     def get_bytes(self, addr, size, **kwargs):
#     def set_configuration(self, conf):
#     def get_configuration(self):
#     def add_property(self, attribute):
#         def getter(self):
#         def setter(self, value):
#     def set_default(self):
#     def _get(self, reg):
#     def _set(self, reg, value):
#     def __getitem__(self, name):
#     def __setitem__(self, name, value):
#     def __getattr__(self, name):
#         def method(*args, **kwargs):
#     def __setattr__(self, name, value):


import os
from yaml import load, BaseLoader, scanner
from basil.HL.RegisterHardwareLayer import HardwareLayer
#
# ------------------------------------------------------------
# Copyright (c) All rights reserved
# SiLab, Institute of Physics, University of Bonn
# ------------------------------------------------------------
#





# SCPI command mandatory by IEEE 488.2
_scpi_ieee_488_2 = {
    'clear': '*CLS',
    'reset': '*RST',
    'trigger': '*TRG',
    'get_name': '*IDN?'
}



# Path: basil/HL/RegisterHardwareLayer.py
# class RegisterHardwareLayer(HardwareLayer):
#     def __init__(self, intf, conf):
#     def init(self):
#     def set_value(self, value, addr, size, offset, **kwargs):
#     def get_value(self, addr, size, offset, **kwargs):
#     def set_bytes(self, data, addr, **kwargs):
#     def get_bytes(self, addr, size, **kwargs):
#     def set_configuration(self, conf):
#     def get_configuration(self):
#     def add_property(self, attribute):
#         def getter(self):
#         def setter(self, value):
#     def set_default(self):
#     def _get(self, reg):
#     def _set(self, reg, value):
#     def __getitem__(self, name):
#     def __setitem__(self, name, value):
#     def __getattr__(self, name):
#         def method(*args, **kwargs):
#     def __setattr__(self, name, value):


# Path: basil/HL/scpi.py
import os
from yaml import load, BaseLoader, scanner
from basil.HL.RegisterHardwareLayer import HardwareLayer

#
# ------------------------------------------------------------
# Copyright (c) All rights reserved
# SiLab, Institute of Physics, University of Bonn
# ------------------------------------------------------------
#





# SCPI command mandatory by IEEE 488.2
_scpi_ieee_488_2 = {
    'clear': '*CLS',
    'reset': '*RST',
    'trigger': '*TRG',
    'get_name': '*IDN?'
}



class scpi(HardwareLayer):