"Set configuration name:", "Configuration name");
if (strConfigName != null) {
DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(m_strDsTechnicalPath);
if (proxy != null) {
try {
DeviceData argin = new DeviceData();
argin.insert(strConfigName);
proxy.command_inout(SAVE_CONFIG_AS_CMD, argin);
} catch (DevFailed exception) {
exception.printStackTrace();
}
}
// update attributes
m_recordingDevicesTableController.saveAttributes();
m_monitoredAttributesTableController.saveAttributesList();
m_pnl.enableButtonsClose(false);
// delete previous config
if (proxy != null) {
try {
DeviceData argin = new DeviceData();
argin.insert(strCurrentConfig);
proxy.command_inout(DELETE_CONFIG_CMD, argin);
} catch (DevFailed exception) {
exception.printStackTrace();
}
}