I am using CANalyzer 7.0 and an trying to figure out how to determine in CAPL if the CAN bus has gone to sleep (no more messages being sent). How can I do this?
I tried to read BusLoad using sysGetVariableInt()
but it always returned zero. Perhaps I had the wrong namespace/variable name. Where can I find all system variables?
Edit - I've tried this:
BusLoad = sysGetVariableInt("_Statistics", "CAN1::Busload");
I've also tried changing the namespace but not sure where to find list of system namespaces.