Set Signal Start Values
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
setSignalStartValues(message msg); // form 1
setSignalStartValues(multiplexed_message msg); // form 2
setSignalStartValues(frFrame frame); // form 3
setSignalStartValues(frFrame frame, byte uninitializedData); // form 4
setSignalStartValues(frPDU pdu); // form 5
setSignalStartValues(frPDU pdu, byte uninitializedData); // form 6
setSignalStartValues(pg paramGroup); // form 7
setSignalStartValues(j1587Param param); // form 8
setSignalStartValues(linFrame msg); // form 9
Function
Sets the values of the signals in the parameter to the start values defined in the database.
Parameters
msg, frame, pdu, paramGroup, parameter Objects where the signals shall be set.
uninitializedData (Form 4, Form 6)
Value to which the bytes in the frame / PDU shall be set which are not used by signals.
Return Values
0: function was successful
1: message / frame / PDU / paramGroup wasn't found in the database
2: at least one signal start value didn't fit into the signal in the message
message LightState msg;setSignalStartValues(msg);
Related APIs
StartLogging