コード例 #1
0
 def __init__(self, visa):
     """
     Constructor
     :type visa: visaInterface
     :param visa: the PyVisa connection
     """
     VisaObject.__init__(self, visa)
コード例 #2
0
ファイル: Data2GVisa.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, visa):
     """
     Constructor
     :type visa: VisaInterface
     :param visa: the PyVisa interface
     """
     VisaObject.__init__(self, visa)
コード例 #3
0
ファイル: Audio.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, visa):  # pylint: disable=W0231
     """
     Constructor
     :type visa: visaInterface
     :param visa: the PyVisa connection
     """
     VisaObject.__init__(self, visa)
コード例 #4
0
ファイル: CellCommon.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, visa):
     """
     Constructor
     :type root: weakref
     :param root: a weak reference on the root class (Agilent8960)
     """
     VisaObject.__init__(self, visa)
     self._data = None
コード例 #5
0
 def __init__(self, visa):
     """
     Constructor
     :type visa: visaInterface
     :param visa: the PyVisa connection
     """
     VisaObject.__init__(self, visa)
     self.__data = DataTDSCDMA(visa)
     self.__is_cell_off = True
     self.__rrc_conn_state = "ON"
     self.__antennas_number = None
コード例 #6
0
ファイル: Data.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, visa):  # pylint: disable=W0231
     """
     Constructor
     :type visa: visaInterface
     :param visa: the PyVisa connection
     """
     VisaObject.__init__(self, visa)
     Iperf.__init__(self)
     self._visa = visa
     self.su_id = ""
     self.window_size_enabled = True
コード例 #7
0
ファイル: CellCommon.py プロジェクト: zenghui0-0/tempfile
    def __init__(self, visa, number=1):
        """
        Constructor
        :type visa: visaInterface
        :param visa: the PyVisa connection

        :type number: int
        :param number: cell number
        """
        VisaObject.__init__(self, visa)
        self._data = None
        self._name = "BTS" + str(number)
コード例 #8
0
ファイル: Cell4G.py プロジェクト: zenghui0-0/tempfile
 def __init__(self, visa):
     """
     Constructor
     :type visa: visaInterface
     :param visa: the PyVisa connection
     """
     VisaObject.__init__(self, visa)
     self.__data = Data4G(visa)
     self.__messaging = Messaging4G(visa)
     self.__voicecall = VoiceCall4G(visa)
     self.__is_cell_off = True
     self.__rrc_conn_state = "ON"
     self.__antennas_number = None