class spirack.P2d_module(spi_rack, module, Chn1_state, Chn2_state, Chn3_state, Chn4_state)
SPI Rack interface code for the P2d module: a 4-channel cryogenic remote-controlled power supply.
Parameters:
read_overcurrents()
Checks for fault conditions in the module. This is intended for remote operation, where the front panel LEDs are not visible, or for automated sequences.
Returns - a 4-bit array corresponding to the fault indicator for channls Power Supply1, Power Supply2, Power Supply3, Power Supply4
get_P2d_settings()
Gets the settings of all 4 channels in the P2d.
Returns - a byte corresponding to the diferent channel settings:
get_output_current(channel)
Gets the instantaneous current draw the specified channel
Parameters:
Returns - the instantaneous current draw in Ampers (float)
set_I_limit(channel,limit)
Set the maximum current for the Power supply channels. This is a safety measure
Parameters:
enable_outputs(channel_num, state)
Sets a Power supply output to an active (source) or inactive (floating) state.
Parameters: