Cable diagnostics