add general_stop_whitelist

This commit is contained in:
2025-08-28 18:00:44 +02:00
parent d4adaff40d
commit c18fec4081
2 changed files with 8 additions and 1 deletions

View File

@@ -730,7 +730,13 @@ class FrappyNode(SecNodeDevice, Moveable):
"set to 'general' if all parameters should appear in the datafile header",
type=str, default='', settable=True),
'quiet_init': Param('flag to set loglevel to error while initializing',
type=bool, default=True, settable=True)
type=bool, default=True, settable=True),
# duplicate from SecNodeDevice. needed for the case where the code for
# the SecNodeDevcice is not up to date, but the setup is already new
# does not yet have the i
'general_stop_whitelist': Param('module names to accept general stop',
type=listof(str), prefercache=False,
default=[], userparam=False),
}
_cfgvalue = None

View File

@@ -7,5 +7,6 @@ devices = {
device('nicos_sinq.frappy_sinq.devices.FrappyNode',
description='main SEC node', unit='', async_only=True,
prefix=environ.get('SE_PREFIX', 'se_'), auto_create=True, service='main',
general_stop_whitelist=['om', 'stickrot'],
),
}