Outputs a 64-character string which you may change in real-time during a debug or simulation session
d-text64
@/d-text64
Outputs a 64-character string which you may change in real-time during a debug or simulation session
OUTstring
To use the node in your project you should have the hio/nwt-gus-hi library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.
C++ implementation
struct State {
char buff[65]; // one extra for the '\0'
CStringView view;
State() : view(buff) {}
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
auto state = getState(ctx);
// Additional code that sets value of `buff`
// is injected in detail::handleTweaks
emitValue<output_OUT>(ctx, XString(&state->view));
}