11-18-2021 05:39 PM
Hello
I'm using ECUMC for XCP communication.
I would like to set MAX DLC and fill space as Zero value.
MC set property.vi could set MAX DLC Enable/Disable and length of MAX DLC.
but it seems ECUMC fill random byte like below.
This capture CAN message when ECU Connect Command sent.
So First two byte should be FF 00 and following byte fill by ECUMC and it seems random number.
Are there anyway to fill space byte with specific number (Zero).
ADCS has this kind property but I could not find it on ECUMC.
Any help would be greatly appreciated.
thanks
11-19-2021 08:39 AM
Sorry I don't have a solution, I just wanted to confirm that I've seen this on NI's ADCS toolkit as well. It really looked like the random bytes thrown in there were from previously sent messages. This makes me think it is some kind of buffer that has the first bytes replaced with the new data, and then the rest is just left over from the last command. This isn't ideal but I haven't seen it cause any problems. I did re-write the ADCS in pure G and that code does zero out the unused bytes.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord