RTC Data To CAN Bus
Last updated
Last updated
The below image shows how each element is linked in the XML file.
They are connected using Unique IDs (UID).
CAN Baud Rate: 500 Kbps
Example DBC provided with XML.
Modifying MaxlogSize and MaxLogTime:
Edit the values of MaxLogSize and MaxLogTime (in seconds) Elements under the SDINTERFACE block for the message you wish to edit.
Modifying CAN Bus Channel:
Edit the value of the PhysicalNumber to change the channel number to 0, 1, 2 or 3
Modify the CANBusSpeed element in the XML file under the CAN interface block to modify the CAN bus baud rate.
Value has to be specified in bps
Modifying the CAN Message and Transmission period:
Edit the MessageIdentStart and MessageIdentEnd Elements values under the CANMESSAGE block for the message ID you wish to transmit to the RTC.
Modify the Transmission period by editing the value of the Period in the XML.
Please note that the example DBC will be invalid after this change.
Modifying the Sampling Rate:
Edit the values of the Sampling Rate under the INTERNAL_PARAMETER block for the message you wish to edit. Please note that the example DBC will be invalid after this change.
Modifying the CAN Signal:
Edit the StartBit and Bit Count Elements values under the CANSIGNAL block for the message you wish to edit. Please note that the example DBC will be invalid after this change.
The process to send XML to logger using ReXdesk. Click on Config Menu > Run > Run Config Using External File > Browse the XML file and click Open.
GitHub Link
XML file
DBC file