Hello Jim,
Regarding the first solution, this is the method I wanted to use but I didn't find a way to do this, would you have a simple example of a project on which you would do this?
For the second approach, I tried but I find with the same problem, an error telling me that the block diagram is missing.
Thanks for your answer.