Precision Balance QC Suite (PB153S-compatible)
Windows app for pharma QC balances that fixes the freezing bug in the old tool
Gallery
About
Built solo to fix a pharma QC lab's precision-balance tool that kept freezingmid-session. The old Python/Tkinter app called UI widgets from a backgroundserial thread — a classic Tkinter thread-safety bug — so it froze duringweighing, mis-tracked friability session counts (always showed "1 sample,complete"), and had a config dialog whose OK button could scroll off-screen.This is a ground-up rebuild in Rust (Tauri 2) + Svelte: serial I/O, parsing,and PDF generation all run off the UI thread by design, so it can't freeze thesame way again. It does:Standard weighing with auto-record against configurable limitsFriability testing with a real session lifecycle (active/complete states, accurate per-batch sample counts, resumable sessions)Reference-weight verification (place calibration weights → pass/fail vs. nominal)Session history browsingPDF + dot-matrix report printing, matching the paper trail labs already keepA built-in simulated-balance mode, so you can demo the whole thing without owning the actual instrument
Comments (6)
probably still freezes mid session
nothing worse than a frozen screen during measurements
does this work with other balance models too
what did u rebuild it in instead of tkinter
bet that freeze was costing labs real money in wasted runs
nice margin on a thread safety patch
ComingUp