Looking for a way to run a TCL procedure over all values of a signal, and if possible display these values in the wave on another "virtual" signal.
For example:
I would like to do the following transformation
limit_values = [0, 50, 100, 300, 400]
signal_values = [20, 60, 90, 220, 5000]
after transformation:
new_values = [0, 50, 50, 100, 400]
Basically finding the nearest lowest value to the signal value in the limit_values table.