Skip to content
Snippets Groups Projects

develop -> main

3 files
+ 79
53
Compare changes
  • Side-by-side
  • Inline

Files

+ 4
1
@@ -609,7 +609,7 @@ void SingleShotAO::init_device()
@@ -609,7 +609,7 @@ void SingleShotAO::init_device()
}
}
if (outputMemorizedChannelsAtInit) {
if (outputMemorizedChannelsAtInit) {
applyMemorizedAttr(kCHANNEL, &SingleShotAOManager::write_channel); // write memorized value to board output
applyMemorizedAttr(kCHANNEL, &SingleShotAOManager::write_channel_direct); // write memorized value to board output (directly, without ramp)
} else {
} else {
applyMemorizedAttr(kCHANNEL, &SingleShotAOManager::set_channel); // only apply memorized value to the device
applyMemorizedAttr(kCHANNEL, &SingleShotAOManager::set_channel); // only apply memorized value to the device
}
}
@@ -978,8 +978,11 @@ void SingleShotAO::write_channel(yat4tango::DynamicAttributeWriteCallbackData &
@@ -978,8 +978,11 @@ void SingleShotAO::write_channel(yat4tango::DynamicAttributeWriteCallbackData &
"could not write channel [unknown error]",
"could not write channel [unknown error]",
"SingleShotAO::write_channel");
"SingleShotAO::write_channel");
}
}
 
DEBUG_STREAM << "SingleShotAO::write_channel(): channel " << l_idx << " value set to " << l_val << endl;
yat4tango::PropertyHelper::set_memorized_attribute(this, l_attr_name, l_val);
yat4tango::PropertyHelper::set_memorized_attribute(this, l_attr_name, l_val);
 
yat4tango::PropertyHelper::set_memorized_attribute(this, kINITIAL + std::to_string(l_idx), l_val);
 
DEBUG_STREAM << "SingleShotAO::write_channel(): memorized attribute " << l_attr_name << " set to " << l_val << endl;
}
}
Loading