PCB diagnostics