Skip to main content

AfdxGetSignalReal

Valid for: CANoe DE • CANoe:lite DE • CANoe4SW DE • CANoe4SW:lite DE

Function Syntax

Description

This function returns the value of a 32-bit or 64-bit float signal (IEEE 754) in a 64-bit float value.

Parameters

  • packet: Handle of the message.
  • signalName: Name of the signal.
    • Note: The signal and its message need to be defined in the assigned DBC file.
  • offset: The offset value points to the starting byte of the float value in the AFDX payload area.
  • isDouble:
    • 0: get 32-bit float value
    • 1: get 64-bit float value

Return Values

Signal value (call AfdxGetLastError to check for errors in the call).

Example

Analyze signals from an incoming AFDX packet using DBC information