Пример #1
0
    def __init__(self):
        comps = (analPins,)
        actions = (SysActionSetPins(),)
        name = "Arduino simple example"
        description = "A simple example using only an Arduino. Analog pins 1,2 should be connected to PWM pins 9,10 respectively, through a low-pass filter."
        version = "1.0"

        Instrument.__init__(self, comps, actions, version, name, description)
Пример #2
0
    def __init__(self):
        comps = (pressureController, valves)
        actions = (SysActionFillContainer(), SysActionEmptyContainer())
        name = 'Example System'
        description = 'A container connected, through a valve, to a pressure controller or to the atmosphere'
        version = '1.0'

        Instrument.__init__(self, comps, actions, version, name, description)
Пример #3
0
 def __init__(self):
     comps = (mfc1, mfc2, mfc3, mfc4)
     actions = (SysActionStart(),)
     name = 'ctlMFC4'
     description = 'Control 4 Mass Flow Controllers (MKS)'
     version = '1.0'
     
     Instrument.__init__(self, comps, actions, version, name, description)
Пример #4
0
    def __init__(self):
        comps = (pressureController, valves)
        actions = (SysActionFillContainer(), SysActionEmptyContainer())
        name = "Example System"
        description = "A container connected, through a valve, to a pressure controller or to the atmosphere"
        version = "1.0"

        Instrument.__init__(self, comps, actions, version, name, description)
Пример #5
0
    def __init__(self):
        comps = (analPins, )
        actions = (SysActionSetPins(), )
        name = 'Arduino simple example'
        description = 'A simple example using only an Arduino. Analog pins 1,2 should be connected to PWM pins 9,10 respectively, through a low-pass filter.'
        version = '1.0'

        Instrument.__init__(self, comps, actions, version, name, description)
Пример #6
0
 def __init__(self):
     comps = (mfc1, mfc2, mfc3, mfc4)
     actions = (SysActionStart(),)
     name = 'ctlMFC4'
     description = 'Control 4 Mass Flow Controllers (made by MKS).\n'+
     'Each flow is set by a low-pass-filtered PWM pin, and is monitored by an Analog pin'
     version = '1.0'
     
     Instrument.__init__(self, comps, actions, version, name, description)
    def __init__(self):
        comps = (spellmanMinus, spellmanPlus, pressureController, sensors,
                 envThermometer, boxThermostat, valves, pump, ecorder)
        actions = (ActionBGE2Interfaces(), ActionSample2Interfaces(),
                   ActionFlushCapillary(), ActionSeparation(), SetThermostat())
        name = 'portableCE-Argentina'
        description = 'A portable dual-channel Capillary Electrophoresis instrument'
        version = '1.0'

        Instrument.__init__(self, comps, actions, version, name, description)
Пример #8
0
 def __init__(self):
     comps = (analPins, digiPins)
     actions = (SysActionSetPolarity(),
                SysActionSleep())
     name = 'Basic Arduino example'
     description = '''Basic Arduino example.\n 
                      Use an Arduino to track the values of two analog pins.\n
                      The first has a unipolar positive range (0 to 5 V).\n
                      The second has a unipolar negative range (-5 to 0 V).\n
                      The third has a bipolar range (-5 to 5 V) while a digital pin sets the polarity.'''
     version = '1.0'
     
     Instrument.__init__(self, comps, actions, version, name, description)
Пример #9
0
        def __init__(self):
            comps = (analPins, digiPins)
            actions = (SysActionSetPolarity(), SysActionSleep())
            name = 'Basic Arduino example'
            description = '''Basic Arduino example.\n 
                             Use an Arduino to track the values of two analog pins.\n
                             The first has a unipolar positive range (0 to 5 V).\n
                             The second has a unipolar negative range (-5 to 0 V).\n
                             The third has a bipolar range (-5 to 5 V) while a digital pin sets the polarity.'''
            version = '1.0'

            Instrument.__init__(self, comps, actions, version, name,
                                description)
Пример #10
0
    def __init__(self):
        comps = (
            spellmanMinus,
            spellmanPlus,
            pressureController,
            sensors,
            envThermometer,
            boxThermostat,
            valves,
            pump,
            ecorder,
        )
        actions = (
            ActionBGE2Interfaces(),
            ActionSample2Interfaces(),
            ActionFlushCapillary(),
            ActionSeparation(),
            SetThermostat(),
        )
        name = "portableCE-Argentina"
        description = "A portable dual-channel Capillary Electrophoresis instrument"
        version = "1.0"

        Instrument.__init__(self, comps, actions, version, name, description)