So I have a fair bit of MXM GPUs that have some sort of board problem or another, and measuring each pin vs ground is usually the second step to attempt repair. Oddly, I have an idea to measure resistance pin by pin by utilizing a broken mother board's MXM slot and a multimeter, but the problem lies in switching pin by pin to measure resistance- in a perfect world I would be able to hook an Arduino or raspberry pi to compile a list of resistance values based on pin number, but the issue is that I'm not familiar with switching "lanes" i.e. from pin 41 to 52 to measure resistance across those pins to ground. I thought of using both a switch system and came to the conclusion that I could do much better with any type of micro controller, faster and almost fully automatic. I don't know how to set up something with so many lanes though.
The original idea was pretty vanilla- a simple PCB that had only one common ground and switched pins based on logic, but with so many pins being measured, I'm at a loss.
Tdlr: I have no idea on how to create a switch that switches between 240 different pins one by one, and allows a multimeter to produce a readout of the resistance between pins. The lanes need to be isolated from each other, but all share a common ground.
How do I create a logic switch/gate that would provide for this number of pins?