Does a C block have knowledge of what step is being run?

Robert,

I’ll be very glad to look at your code example. Although I may wait for your tutorial first.
I’ve coded in embedded C for ‘eons’ (30+ years in computer-relative terms) but have little direct experience in C++ (which supports the C-subset). Most embedded systems compilers haven’t advanced to C++.

I’ve gotten my C-based solution to work well but it’s always good to learn new things any possibly find better solutions.

Len