Script execution
This commit is contained in:
@@ -155,13 +155,15 @@ def print_diag():
|
||||
print "%-25s %s" % (f.getName() , str(f.read()))
|
||||
|
||||
def create_diag_datasets():
|
||||
group = get_current_group() + "/attrs/"
|
||||
group = get_current_group() + "attrs/"
|
||||
print group
|
||||
for f in diag_channels:
|
||||
print group+f.getName()
|
||||
print ('s' if (type(f) is ch.psi.pshell.epics.ChannelString) else 'i')
|
||||
create_dataset(group+f.getName() , 's' if (type(f) is ch.psi.pshell.epics.ChannelString) else 'i')
|
||||
|
||||
def append_diag_datasets():
|
||||
group = get_current_group() + "/attrs/"
|
||||
group = get_current_group() + "attrs/"
|
||||
for f in diag_channels:
|
||||
append_dataset(group+f.getName(), f.take())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user