Resetting triggers and actions to their original values when an event is sent

Hi Jani and Realdash comunity!
I’m trying to use the amazing functionality of the Realdash program to add seat control capabilities.
The program is connected via CAN through Robotell only to the seat, ventilation, and heating control units. Thank you. I’m facing a problem with executing triggers and actions. without using XML.
When creating a dummy button to send a “can command by pressing” action (idle state “ID 0dA: 00 00 c0 ff” pressed state “ID 0da: 80 00 c0 ff”), the value changes from 00 in the first bit to 80 only once and remains static, not changing to 00.
Pressing or holding the button again does not repeat the first bit 80 command, as it was already pressed earlier. In the original block, the period of repeated pressing or holding is 100 ms. Is it possible to reset to the “ID 0dA: 00 00 c0 ff” state when there is no action with the dummy button and the “ID 0dA: 00 00 c0 ff” packet is sent instead of the last CAN frame sent to the bus?
Or do I need to create an XML file with the can frame ID in the resting state to compare the value with the dummy button data?
And another question - the length of the original CAN frame is 4 bits. But when creating an action, it is not possible to create a 4-bit lenght frame(11 22 33 44), and an 8-bit lenght frame (11 22 33 44 and then 00 00 00 00) is created and sent. Is it possible to change the length of the sent CAN frame from “actions”? For example, 4 or 3 or 6 bits lenght frame?
Thank you very much for your response.

1 Like

If you want to keep ‘memory’ of the values in CAN frames, only way to achieve that is to use the XML to store CAN frame values into RealDash inputs.

RealDash does support sending 4 byte frames, I have to check if Robotell codepath has an issue with this.