class spirack.B1b_module(spi_rack, module, reset=False)
SPI Rack interface code for the B1b IVVI Rack interface module: a module connecting to two IVVI Rack source modules with software controlled signal routing. This class does the low level interfacing with the B1b module. When creating an instance it requires a SPI_rack class passed as a parameter. At initialisation the user can choose to reset the switches to their default routing: everything connected to the DAC (MCX) inputs.
Parameters:
set_switch(location, switch, position)
Sets the routing of the given switch. Each switch can be set to the corresponding DAC (MCX) input, or the isolated BNC input. The LED will indicate when the switch is connected to the isolated input.
Parameters:
get_switch(location, switch)
Gets the routing of the given switch. Each switch can be set to the corresponding DAC (MCX) input, or the isolated BNC input. The LED will indicate when the switch is connected to the isolated input.
Parameters:
reset()
Resets all the switches to their default position: the DAC/MCX input.