Skip to main content
Built-in Elements

<voltageprobe />

Overview

<voltageprobe /> records voltage values during SPICE simulation. It attaches to an existing node in your schematic and appears in the simulation graph output. Use probes to capture input/output signals or differential measurements across components.

Schematic Circuit Preview
export default () => (
<board routingDisabled>
<voltagesource name="V1" voltage="5V" />
<resistor name="R1" resistance="1k" />

<trace from=".V1 > .pin1" to=".R1 > .pin1" />
<trace from=".V1 > .pin2" to=".R1 > .pin2" />

<voltageprobe name="VP_IN" connectsTo=".V1 > .pin1" />
<voltageprobe
name="VP_DIFF"
connectsTo=".R1 > .pin1"
referenceTo=".R1 > .pin2"
/>

<analogsimulation duration="10ms" timePerStep="0.1ms" spiceEngine="ngspice" />
</board>
)

Properties

PropertyDescriptionExample
nameOptional label for the probe trace in graphs."VP_OUT"
connectsToPort selector that identifies the measurement node.".R1 > .pin1"
referenceToOptional port selector for differential measurements.".R1 > .pin2"

Add probes for every signal you want plotted in the simulation graph. When you provide referenceTo, the probe measures the voltage difference between the connectsTo node and the reference node.