I'm no expert in this area, but expressions within { } are evaluated before simulation, which is not what you want, of course. What if you use ordinary ( ) instead?
On 2025-03-28 20:16, Bell, Dave via groups.io wrote:
I¡¯m frustrated by failure of a time measurement I¡¯m trying to make.
?
My circuit generates a pulse train with parameterized width, Pw.
I want to measure a delay, from a rising edge of one node, N0, to the next rising edge of another node, Nx.
Due to a filter action, the amplitude of V(nx) is dependent upon a resistor whose value is stepped, from run to run.
Because of that, I want to make the trigger (target) amplitude a variable, say 90% of the MAX() amplitude of node Nx.