I am trying to make a function block with the Legacy Code Tool to call a C++ function. I have a structure for the input and the output and I was wondering if it's possible to pass by reference a structured output using C++.
I try to declare and call it: void function(Input i, Output &o) function(Input i, Output o)
I receive the error:
"cannot convert parameter 2 from 'Output *' to 'Output &'"