Skip to content
Snippets Groups Projects
Commit 4e8ecd87 authored by Quentin Codelupi's avatar Quentin Codelupi
Browse files

[update] routine pull all known devices

parent 6c66f5e3
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
......@@ -31,7 +31,8 @@ def start_pull(_fill_infos, _devices=None):
property_pull.property_pull(_fill_infos['fillNumber'], 'ALL', iDevice,
_fill_infos['startTime'].strftime("%Y-%m-%d %H:%M:%S.000"),
_fill_infos['endTime'].strftime("%Y-%m-%d %H:%M:%S.000"))
_fill_infos['endTime'].strftime("%Y-%m-%d %H:%M:%S.000"),
_files_write=False)
for iMode in _fill_infos["beamModes"]:
print(iMode['mode'])
......@@ -70,7 +71,6 @@ def routine_pull(_start_fill=None, _end_fill=None):
new_fill_number = _end_fill
last_fll_pulled = _start_fill - 1
# Select only the first 6 devices Cause: not all device works properly with NXCALS yet
gcursor.execute('select name from Device')
devices_request = gcursor.fetchall()
devices = []
......@@ -80,7 +80,7 @@ def routine_pull(_start_fill=None, _end_fill=None):
gcursor.close()
mydb.close()
fill_number = 7492
fill_number = 7443
fill_infos = ldb.getLHCFillData(fill_number, False)
start_pull(fill_infos, devices)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment