12-06-2018 08:59 AM
Hello members,
I developed a driver that allows to communicate with a prototype using CAN, XCP and UDS protocols. The XCP side is based on the ECU MC toolkit libraries. The driver consists in 4 states : Standby, Initialize, Execute, Finalize
Everything works fine when I connect one only prototype: no problem both with the Standby-Initialize-Execute and with Execute-Finalize-Standby transition.
But when I connect two at the same time things are not good: even I manage to get into the Execute state and get data from the prototypes, get back to the Standby is impossible because the "MC ECU Close.vi" never exits (see attached pic).
Thank you for any info that can help!!
Marco
12-06-2018 11:53 AM
How are you connecting the two prototype ECUs? Are they both connected to the same bus/CAN interface? Or are you trying to run your state machine code independently on two interfaces in parallel?