time(micro)

koadrobot/progress/time(micro)

No description
time(micro)
@/time(micro)
UPDpulse
Triggers new time read
time(micro)
Tus
UPD
Tusnumber
The last time read in micro seconds
To use the node in your project you should have the koadrobot/progress 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

#pragma XOD dirtieness disable

struct State {
};

{{ GENERATED_CODE }}

void evaluate(Context ctx) {
    emitValue<output_Tus>(ctx, micros());
}

Tabular tests

__time(us)UPDTus
0pulse0
100pulse100
1000pulse1000
3000pulse3000
600pulse600
1000no-pulse600
1000pulse1000