# create lists of parameter values to be scanned through
test_scan_values = range(
    10)  # In principle, we will only scan one parameter at a time..

# assign parameter values
# both values to be scanned through and fixed values are specified here
parameter_values = {
    # 'test_parameter': test_scan_values,
    'sequencer.sequence': [
        'blue_mot_long',
        # '3p2_mtrap_load',
        'red_mot_fast',
        'image_absorption_red_fast',
    ]
}

if __name__ == '__main__':
    from conductor.experiment import Experiment
    my_experiment = Experiment(
        name=name,
        parameters=reload_parameters,  # passed to reload_parameters
        parameter_values=parameter_values,
        loop=loop,
    )
    my_experiment.queue(run_immediately=True)

import labrad, time
cxn = labrad.connect()
# cxn.conductor.ao_off()  # Will remove AO from sequencer.
cxn.conductor.trigger_on()
Esempio n. 2
0
loop = True

parameter_values = {
    'sequencer.sequence': [
        'blue_mot',
        # 'red_mot_88',
        'red_mot_87',
        'PROG_red_mot_tof',  # has to start with 'PROG_', which represents programmable... 
        'image_absorption_red',
    ],
    'sequencer.DO_parameters': {
        'red_mot_tof': tof_list,
    },

    # 'sequencer.AO_parameters':
    #     {
    #     'Lattice 813A AM': 0,
    #     },
}

if __name__ == '__main__':
    my_experiment = Experiment(
        name=name,
        parameters=reload_parameters,  # passed to reload_parameters
        parameter_values=parameter_values,
        loop=loop,
    )
    my_experiment.queue(run_immediately=False)

cxn = labrad.connect()
cxn.conductor.trigger_on()