Open topic with navigation CAPL Functions » FlexRay » frUpdateStatFrameDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
frUpdateStatFrame
Valid for: CANoe DE Note Instead of giving the parameters in brackets the message object can be declared by using a symbolic name from the FIBEX database. In this case those parameters are taken from the database and you can directly access the signals of the frame by its symbolic name instead of accessing its bytes. Is the frame located in a slot of the dynamic segment, you must use the function frOutputDynFrame instead offrUpdateStatFrame. A dynamic frame must not be a startup or sync frame. A dynamic frame must also not be sent redundantly on both channels A + B with a channel mask 3.
When the appropriate Tx buffer is declared by the Tx buffer list of the hardware configuration dialog, then the function frSetSendFrame in on preStart is deprecated. It can still be used for overriding settings in the Tx buffer list.
Is the update time close to the sending slot (e.g. update of slot 2 just after the start of a cycle), then with high probability the update will be too late for the current cycle and the frame is sent in the next possible cycle! Thus, updates should be made early enough before the sending slot.
Function Syntax
Description
This function updates the FlexRay Communication Controller’s (CC) send buffer with the current data from the send object. This corresponds to a request to send. Only frames in the static segment can be sent using this function!Parameters
<frame var>: Name of the variable referenced by the frame object. The variable name was defined when the object was created using frFrame.
Return Values
0: Ok, the request to send the frame is forwarded to the interface. This does not guarantee that the frame is really been sent. Refer to the FlexRay protocol rules.-1: Error, either the channel is not available or the slot ID is not in the static segment.