At the outset, I should say I have no experience of coding FCC stuff, so I could be talking through the wrong orifice however:
Reading the above, if the stability of the FCC cannot be assured using C++ Which I know generally to be very stable, could a problem be occurring in the interface between FCC hardware and the code. Is it possible that an asynchronous interrupt from an external sensor/s is not being set consistently by the hardware and when the code goes to look for the bit/s, they are not there?. Of course when you are in a hurry, the last thing to get done is the error reporting and recovery code for a missing interrupt.
IG
Last edited by Imagegear; 21st January 2020 at 10:10.