Exemple #1
0
from k2612B import run
import time

N = 1
group_path = 'asd'
plotFlag = 1
saveFlag = 0

for i in range(1, N + 1):
    print(str(i))
    run(i, group_path, plotFlag, saveFlag)
#    time.sleep(60)
Exemple #2
0
#                   'led3': N = 50, wait_time = 0.01

N = 1
wait_time = 6 * P('m')
group_path = 'Auto calentamiento, dt = 6ms, NPLC = 0.1, espera 10s, datos=6 BIS'

#modes available: 'iv', 'led1', 'led2' (refer to help for specifics)
mode = 'led1'
NPLC = 0.001
iPolarization_led = "none"

plotFlag = 1
saveFlag = 0

for j in range(1, N + 1):
    run(j, mode, group_path, plotFlag, saveFlag, wait_time, NPLC,
        iPolarization_led)
    #time.sleep(10)

#%%  # ESTA FUNCION ES PARA MEDIR UNA CURVA ISIPM ILED EN FUNCION DEL WAIT TIME.
from k2612B import run
from functions import P
import time

wait_time = [1e-7, 1e-6, 1e-5, 0.0001, 0.001, 0.01, 0.025, 0.05, 0.075, 0.1]

N = 1
group_path = [
    "1e-7", "1e-6", "1e-5", "0.0001", "0.001", "0.01", "0.025", "0.05",
    "0.075", "0.1"
]
Exemple #3
0
#                   'led1': N = 50, wait_time < 0.01
#                   'led2': N = 1, wait_time = 0.1, measurements = 10000
#                    (total time of measurement would be 1000s measured in [ms])

N = 1
wait_time = 10*P('m')
group_path = '10ms'

#modes available: 'iv', 'led1', 'led2' (refer to help for specifics)
mode = 'led1'

plotFlag = 1
saveFlag = 1

for j in range(1, N + 1):
    run(j, mode, group_path, plotFlag, saveFlag, wait_time)
    
#%%
from k2612B import run
from functions import P
import time   

N = 1
wait_time = [100*P('n'), 1*P('u'), 10*P('u'), 100*P('u'), 1*P('m'), 10*P('m'), 25*P('m'), 50*P('m'), 75*P('m'), 100*P('m')]
folders = ["1e-7", "1e-6", "1e-5", "0.0001", "0.001", "0.01", "0.025", "0.05", "0.075", "0.1"]

#modes available: 'iv', 'led1', 'led2' (refer to help for specifics)
mode = 'led1'
plotFlag = 1
saveFlag = 1
Exemple #4
0
from k2612B import run
import time
#import winsound

N = 1
group_path = 'test'
test = ['LabOSat']
plotFlag = 1
saveFlag = 1

for i in range(1, N + 1):
    print(str(i))
    run(i, test[0], group_path, plotFlag, saveFlag)
    time.sleep(0)

#winsound.Beep(750, 750)
#winsound.Beep(750, 750)
#winsound.Beep(750, 750)
#winsound.Beep(1000, 1000)