Hello Helmut,
V1 1 0 pulse(0 1 0 1u 1u .5m 1m)
R1 2 0 1.5k
*R2 2 0 1g
.machine
.output (2) V(1) < .5
.endmachine
.tran 3m
If I run the above netlist, it only produces 1mV on node 2, but the error log shows why:
WARNING: Less than two connections to node 1.? This node is used by V1.
WARNING: Less than two connections to node 2 of instance R1:? Node and device optimized out.
If I un-comment R2, then it produces 1.5V on node 2.? This is unexpected.? Using the netlist exactly as shown in the Help file does not produce 1V as expected (at least for me).
Your netlist shown below works as expected.
---In LTspice@..., <helmutsennewald@...> wrote :
Hello analogspiceman,
This works for me as I have expected. I don't see any mistake.
V1 1 0 pulse(0 1 0 1u 1u .5m 1m)
R1 2 00 1.5k
.machine
.output (2) V(1) < .5
.endmachine
.tran 3m
?
VX 00 0 0.1
Best ?regards,
Helmut