Test reports that still open in twenty years
Test_Reports/: a header with date, test type, fuse rating and ambient temperature, a per-sample table of mean current, voltage drop and hot resistance, the global verdict and free-form operator comments. It is the document of record in a real fuse test bench deployment.Why plain text beats PDF here
What goes in the header
The per-sample table
A snippet from the implementation
Straight from the example as deployed on the Raspberry PLC 19R — copy it freely:
def rule(char="-"):
return char * WIDTH + "\n"The full example is a complete program — wiring header, setup and main loop — ready to adapt to your application.
Frequently asked questions
Why compute resistance in the report instead of just logging raw values?
Hot resistance (voltage drop over current) is the figure engineers compare across batches. Computing it at write time, next to its inputs, means the report is self-contained and nobody re-derives it differently later.
How are report files named and organized?
Informe_YYYY-MM-DD_HH-MM-SS.txt inside Test_Reports/, one file per run. The sortable timestamp makes the directory itself the chronological index, with no database required.
Can these reports be exported or synced off the PLC?
Easily — they are just files. rsync, a USB stick, or a small script mailing the day's reports all work; several catalog templates cover pushing files from a PLC to a server.