Simulation differs from measurement? Align waveform conditions
Use Claude Code with previously captured waveform and simulation exports to prepare a difference report with units and conditions through the test workflow below, then review it. Matching tools and permissions are required.
Execution environment and usage
AI / software
Claude Code
Where to operate
Claude Code in a terminal, opened in a separate test folder.
Getting started
- Follow the linked official setup guide; open a terminal in the test folder, run claude and sign in.
- Supply previously captured waveform and simulation exports and the prompt below. Confirm the scope before allowing necessary actions.
- Inspect the resulting difference report with units and conditions; record anything not run or not verified.
Setup and plan requirements
Requires access to Claude Code, authorized test data and a matching runtime; file writes and shell commands must stay within approved scope. Preparation: A qualified operator must provide safely acquired waveform exports, simulation results and test conditions. Read previously and safely captured waveform/simulation exports only. Numerical processing needs suitable analysis tools; this exercise does not connect an oscilloscope or control a circuit.
Prompt portability limits
Adapt the wording to another coding assistant only after separately configuring files, runtime, test tools and integrations. Renaming the tool does not establish compatibility.
Usage limitations
This workflow was not hands-on tested. Work on test copies; no automatic publishing, payment or production-data changes. Separate plans, actual results and untested areas.
Environment sources
- https://code.claude.com/docs/en/quickstart · 2026-10-19
適用情境 / When to use
Use Claude Code with previously captured waveform and simulation exports to prepare a difference report with units and conditions through the test workflow below, then review it. Matching tools and permissions are required. Lucas Gerads demonstrates Claude Code comparing SPICE simulation with oscilloscope measurements of an RC circuit through MCP.
步驟 / Steps
- A qualified operator must provide safely acquired waveform exports, simulation results and test conditions.
- Align time, units, probe scaling and inputs on offline copies before comparing differences.
- Check sampling, calibration and condition mismatches first, retaining raw waveforms and uncertainties.
提示詞 / Prompt
Compare [measured waveform] with [simulation output] offline using [circuit parameters, units, sampling and probe settings]. Report differences and measurement-condition effects. Stop unsupported inference when inputs are missing. Preserve originals, operate no hardware and make no safety certification.
留意事項 / Cautions
- This exercise controls no instruments, rewires nothing and changes no voltages.
- Without safety training, do not operate energized equipment from text guesses.
來源限制 / Evidence limits
A simple-circuit demonstration does not establish reliability on complex hardware; the author warns about guessed wiring and stale measurements.
流程說明 / Workflow note
These steps and prompts are original, untested exercises by this site, not the author’s verbatim workflow. Reported results do not guarantee exercise outcomes.
原始工具組合 / Original tool stack
Claude Code; SPICE MCP wrapper; LeCroy oscilloscope MCP
Source publication date: 2026-04-17
Source checked: 2026-10-19
SPICE simulation → oscilloscope → verification with Claude Code