StartValuesUpdateList
This reference collection includes Vector documentation reproduced with permission. Snippets may require configuration-specific symbols and are not all standalone programs. Sources and validation limits.
Syntax
void startValuesUpdateList(); // form 1
void startValuesUpdateList(char groupName[]); // form 2
void startValuesUpdateList(char groupName[], long onlyActiveStartValues); // form 3
Function
Sets the start values of variables/signals to the currently measured values in theCANoeStart Value Window.
Parameters
groupName Name of a group containing start values. IfgroupNameis defined, then only the active start values contained in this group get the currently measured values. IfgroupNameis not defined or is equal to "", then only the active start values of all groups get the currently measured values.
onlyActiveStartValues
- 1 : Only the active start values get the currently measured values.
- 0: All start values (active and inactive) get the currently measured values.
Return Values
—
Reference example from the CANoe 12 help. Check the required configuration, database objects and API availability in your installed version; this is not a recorded compiler or runtime test.
on key '1'
{
startValuesUpdateList("Start values group1");
}
on key '2'
{
startValuesUpdateList();
}
on key '3'
{
startValuesUpdateList(""); // corresponds to startValuesUpdateList();
}
on key '4'
{
startValuesUpdateList("Start values group1", 1);
}