def __init__(self):
        afg.__init__(self)
        #self.openConnection('142.90.119.225')
        afgAddress = Midas.varget("/Experiment/Variables/AFG Addresses/Burst")
        print afgAddress
        #self.openConnection('mpetswift')
        self.openConnection(ipAddress=afgAddress)
        #self.afgName = 'swiftdipole'
        self.afgName = 'Burst'
        self.varOnOff = '/Experiment/Variables/Burst/AFG On'
        self.varFreqC = ('/Experiment/Variables/Burst/' +
                         'Center Frequency (Hz)')
        self.varFreqMod = ('/Experiment/Variables/Burst/Phase (degrees)')
        self.varRFAMP = ('/Experiment/Variables/Burst/RF Amplitude (V)')
        #self.varSpecies = '/Experiment/Variables/SwiftDipole/Species'
        #self.afgClear()
        #self.afgSetSine()
        #self.afgSetModeList()
        #self.CF = CF.calcFreq()
        #self.CF.getReference()

        self.afgOnPath = "/Experiment/Variables/Burst/AFG On"
Example #2
0
    def __init__(self):
        afg.__init__(self)
        #self.openConnection('142.90.119.225')
        afgAddress = Midas.varget("/Experiment/Variables/AFG Addresses/Burst")
        print afgAddress
        #self.openConnection('mpetswift')
        self.openConnection(ipAddress=afgAddress)
        #self.afgName = 'swiftdipole'
        self.afgName = 'Burst'
        self.varOnOff = '/Experiment/Variables/Burst/AFG On'
        self.varFreqC = ('/Experiment/Variables/Burst/' +
                         'Center Frequency (Hz)')
        self.varFreqMod = ('/Experiment/Variables/Burst/Phase (degrees)')
        self.varRFAMP = ('/Experiment/Variables/Burst/RF Amplitude (V)')
        #self.varSpecies = '/Experiment/Variables/SwiftDipole/Species'
        #self.afgClear()
        #self.afgSetSine()
        #self.afgSetModeList()
        #self.CF = CF.calcFreq()
        #self.CF.getReference()

        self.afgOnPath = "/Experiment/Variables/Burst/AFG On"
Example #3
0
    def __init__(self):
        afg.__init__(self)
        afgAddress = Midas.varget("/Experiment/Variables/AFG Addresses/Dipole")
        print afgAddress

        self.openConnection(ipAddress=afgAddress)

        self.afgName = 'Dipole'
        self.varRFAmp = '/Experiment/Variables/SwiftDipole/RF Amplitude (V)'
        self.varFreqC = ('/Experiment/Variables/SwiftDipole/' +
                         'Center Frequency (Hz)')
        self.varFreqMod = ('/Experiment/Variables/SwiftDipole/' +
                           'Frequency Modulation (Hz)')
        self.varSpecies = '/Experiment/Variables/SwiftDipole/Species'
        self.varCharge = '/Experiment/Variables/SwiftDipole/Species'
        self.varFreqList = "/Experiment/Variables/Dipole FreqList"

        self.CF = CF.calcFreq()
        self.CF.getReference()

        self.afgOnPath = "/Experiment/Variables/SwiftDipole/AFG On"

        self.varStartFreq = "/Experiment/Variables/StringDump"
        self.varStopFreq = "/Experiment/Variables/StringDump"
    def __init__(self):
        afg.__init__(self)
        afgAddress = Midas.varget("/Experiment/Variables/AFG Addresses/Dipole")
        print afgAddress

        self.openConnection(ipAddress=afgAddress)

        self.afgName = 'Dipole'
        self.varRFAmp = '/Experiment/Variables/SwiftDipole/RF Amplitude (V)'
        self.varFreqC = ('/Experiment/Variables/SwiftDipole/' +
                         'Center Frequency (Hz)')
        self.varFreqMod = ('/Experiment/Variables/SwiftDipole/' +
                           'Frequency Modulation (Hz)')
        self.varSpecies = '/Experiment/Variables/SwiftDipole/Species'
        self.varCharge = '/Experiment/Variables/SwiftDipole/Species'
        self.varFreqList = "/Experiment/Variables/Dipole FreqList"

        self.CF = CF.calcFreq()
        self.CF.getReference()

        self.afgOnPath = "/Experiment/Variables/SwiftDipole/AFG On"

        self.varStartFreq = "/Experiment/Variables/StringDump"
        self.varStopFreq = "/Experiment/Variables/StringDump"