Script execution
This commit is contained in:
1 parent
4fb04c69a0
commit
c96a68f4b2
1 file changed
+1
-1
+1
-1
@@ -207,7 +207,7 @@ def append_diag_datasets(parent = None):
|
||||
parent = get_context().group
|
||||
group = parent + "attrs/"
|
||||
for f in diag_channels:
|
||||
x = f.take()
|
||||
x = f.read()
|
||||
if x is None:
|
||||
x = '' if (type(f) is ch.psi.pshell.epics.ChannelString) else float('nan')
|
||||
append_dataset(group+get_diag_name(f), x)
|
||||
|
||||
Reference in new issue
Block a user