mtiggelman / SPI-rack

Python drivers for the QuTech SPI-rack
http://qtwork.tudelft.nl/~mtiggelman/
MIT License
5 stars 8 forks source link

Identifier for SPI rack #20

Open peendebak opened 4 years ago

peendebak commented 4 years ago

How can we be sure we are connected to a particular SPI rack? There is the get_firmware method, but I do not see any method that can generate a unique identifier (e.g. something like a MAC address)

@mtiggelman

mtiggelman commented 3 years ago

At the moment there is no way of detecting that. The easiest way to implement this in the future is to make a unique identifier in the C2 module (as this contains the microcontroller). Although if that C2 then gets connected to a different SPI rack it would mess things up again. It might be possible to add some identifier to the C1b module, but I would have to think about that a bit and discuss it with some people.