SetRawSignal
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Sets the raw value of a signal. These functions can be used for signals with more than 32 bits length. If the signal name is statically known, you can also use $<signal\>.raw64 since 7.5 Service Pack 2.
Parameters
- dbSignal: The signal.
- value: Signal value to be set.
- data: The data bytes of the signal.
- dataLength: Length of the data.
Return Values
Form 2- 0: on success
- -1: on error
Example
—Special Use Case: Signal is not known before Measurement Start
Function Syntax
Description
Sets the raw value of a signal. These functions can be used for signals with more than 32 bits length. If the signal name is statically known, you can also use $<signal\>.raw64 since 7.5 Service Pack 2.
Parameters
- name: Name of the signal.
- Signal Ambiguity: You have to use further objects to identify the signal uniquely. They are: channel, database name (alias), node name and message name.
- Qualification Syntax:
[Channel::][Database name (alias)::][Node::][Message::]Signal
- value: Signal value to be set.
- data: The data bytes of the signal.
- dataLength: Length of the data.
Return Values
Form 4- 0: on success
- -2: if signal not found
- -1: on other error