Hi Martin this looks quite interesting, If things are more involved (for example some action) then create a macro for each action and use a lookup table of function pointers In a C block; FCV_LOOKUP[0] = FCM_Action0; .. FCV_LOOKUP[11] = FCM_Action11; Then use a line of C to run the action depending ...