Script execution

This commit is contained in:
2017-09-13 16:38:30 +02:00
parent f21e1ff3a9
commit 2a57a41e39

View File

@@ -7,7 +7,7 @@ def after(rec, scan):
path = get_exec_pars().group+"/TimeIOC"
if rec.index==0:
create_dataset(path, 's')
time_str = str(datetime.datetime.fromtimestamp(cache.nanos/1000000000))
time_str = str(datetime.datetime.fromtimestamp(cache.nanos/10e9))
append_dataset(path, time_str , type = 's')
mscan(bpm6a, bpm6a, -1, 10.0, after_read = after)