def __init__(self):
		super(MCCThread, self).__init__()

		#Constants
		self.IC_Mode = 1;
		self.VC_Mode = 0;
		self.MCC_DLLPATH = "./DLL/"


		#  Variables
		self.HoldingPotential = 0.07;
		self.HoldingEnable = False
		# self.PulseEnable = False
		# self.PulseAmplitude = 0.05 
		# self.PulseInterval = 20 						#in milli seconds
		# self.PulseFrequency = 1000/self.PulseInterval 	#in  Hz
		self.TestSignalEnable = False
		self.TestSignalAmplitude = 0.05           #in mV
		self.TestSignalFrequency = 60              #in Hz

		self.Mode = self.VC_Mode
		self.HoldingEnable = False;									


		#initialize handle
		self.mcc = (mccControl(dllPath = "./DLL"))



		self.lastPulseTime = None;
		self.accumulateCycle = 0;
		self.stopBoolean = False;
Exemple #2
0
    def __init__(self):
        super(MCCThread, self).__init__()

        #Constants
        self.IC_Mode = 1
        self.VC_Mode = 0
        self.MCC_DLLPATH = "./DLL/"

        #  Variables
        self.HoldingPotential = 0.07
        self.HoldingEnable = False
        # self.PulseEnable = False
        # self.PulseAmplitude = 0.05
        # self.PulseInterval = 20 						#in milli seconds
        # self.PulseFrequency = 1000/self.PulseInterval 	#in  Hz
        self.TestSignalEnable = False
        self.TestSignalAmplitude = 0.05  #in mV
        self.TestSignalFrequency = 60  #in Hz

        self.Mode = self.VC_Mode
        self.HoldingEnable = False

        #initialize handle
        self.mcc = (mccControl(dllPath="./DLL"))

        self.lastPulseTime = None
        self.accumulateCycle = 0
        self.stopBoolean = False
	def __init__(self, Mcc_Channel_Number = 1):
		'''
		Mcc_Channel_Number arguments indicates which channel in the found channel list will be returned
		'''

		#print "H000000000000000000000000000000000000000000000000"
		# super(MCCThread, self).__init__()
		#print "H111111111111111111111111111111111111111111111111"

		#Constants
		self.IC_Mode = 1;
		self.VC_Mode = 0;
		self.IEZ_Mode = 2;
		self.MCC_DLLPATH = "./DLL/"


		#  Variables
		self.HoldingPotential = -0.07;
		self.HoldingEnable = False
		# self.PulseEnable = False
		# self.PulseAmplitude = 0.05 
		# self.PulseInterval = 20 						#in milli seconds
		# self.PulseFrequency = 1000/self.PulseInterval 	#in  Hz
		self.TestSignalEnable = False
		self.TestSignalAmplitude = 0.005           #in V
		self.TestSignalFrequency = 60.0              #in Hz

		self.Mode = self.VC_Mode
		self.HoldingEnable = False;									


		#initialize handle
		if Mcc_Channel_Number == 1:
			self.mcc = (mccControl(dllPath = "./DLL"))
		else:
			self.mcc = (mccControl(Mcc_Channel_Number = 2, dllPath = "./DLL"))





		self.lastPulseTime = None;
		self.accumulateCycle = 0;
		self.stopBoolean = False;
Exemple #4
0
    def __init__(self, Mcc_Channel_Number=1):
        '''
		Mcc_Channel_Number arguments indicates which channel in the found channel list will be returned
		'''

        #print "H000000000000000000000000000000000000000000000000"
        # super(MCCThread, self).__init__()
        #print "H111111111111111111111111111111111111111111111111"

        #Constants
        self.IC_Mode = 1
        self.VC_Mode = 0
        self.IEZ_Mode = 2
        self.MCC_DLLPATH = "./DLL/"

        #  Variables
        self.HoldingPotential = -0.07
        self.HoldingEnable = False
        # self.PulseEnable = False
        # self.PulseAmplitude = 0.05
        # self.PulseInterval = 20 						#in milli seconds
        # self.PulseFrequency = 1000/self.PulseInterval 	#in  Hz
        self.TestSignalEnable = False
        self.TestSignalAmplitude = 0.005  #in V
        self.TestSignalFrequency = 60.0  #in Hz

        self.Mode = self.VC_Mode
        self.HoldingEnable = False

        #initialize handle
        if Mcc_Channel_Number == 1:
            self.mcc = (mccControl(dllPath="./DLL"))
        else:
            self.mcc = (mccControl(Mcc_Channel_Number=2, dllPath="./DLL"))

        self.lastPulseTime = None
        self.accumulateCycle = 0
        self.stopBoolean = False
Exemple #5
0
def main():
    from mcc import mccControl
    from IPython import embed
    from config import MCC_DLLPATH
    mcc=mccFuncs(mccControl(MCC_DLLPATH))
    embed()