data-to-pulse

awgrover/conversions/data-to-pulse

Convert anything into a pulse
data-to-pulse
@/data-to-pulse
Convert anything into a pulse
datastring
Actually takes any
data-to-pulse
pulse
data
pulsepulse
To use the node in your project you should have the awgrover/conversions 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 {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    
  // anytime we get triggered, i.e. incoming data
  emitValue<output_pulse>(ctx, 1);
}