TSMaster
TSMaster copied to clipboard
[C Script Editor] [Bug] Function can_rbs_get_signal_value_by_address not available in callback
Create a callback function on_can_rx_NewOn_CAN_Rx2
Call function to extract signal value (I put signal path from database )
com.can_rbs_get_signal_value_by_address("0/G_CAN/Vehicle/Can_Frame_CanDataIn_0/DevSig_RX_Byte_0" , &d)
This function always sets my data to 0 (my data in can bus are not 0)
this function requires: [1] rbs is running [2] network g_can is active [3] node vehicle is active [4] can_frame_candatain_0 is checked
check above
I executed recommendations. I can capture data now.
But there is still a problem. I call the function on Rx event new message. The data I get are data of previous message (not last reveived message (data are always delayed of 1 message) I compared data on ACAN->FData and the one from function can_rbs_get_signal_value_by_address in the callback function, and there is a data mismatch
Can I obtain your contact information for remote support