Hello, for a project I need to run a traceroute from vvvv and I have to see and store its results in vvvv.
I’ve tried using the Executor node, but it only outputs as an Observable, one line at a time, oftentimes very fast.
I’ve tried a workaround with cache but it’s rough and I can’t wrap my head around a more efficient way of doing it - I’m terrible at working with Observables hahaha…
Any suggestions, nodes other than the Executor that can run or read the result of commands, or better ways of storing the results? Help is much appreciated
Try using HoldLatest node.
Should you get “everything” at once? Or it is line after line?
If you are familiar with Records you could create a data type and store the results every time you receive something.
Alternatively you can perhaps use a Queue node and “Insert” everytime you receive something out if Executor.
Also SpreadBuilder can be used in some cases
In this case, the application outputs the desired rows line by line until it finishes with a “null” row.
I collect in builder and give the resulting spread on line zero as a new observable