File MIES_Blowout.ipf

BWO Automates amplifier configuration and acquisition of the sweep used to measure drift in the zero calibration of the amplifer.

Functions

variable BWO_SelectDevice()

Initiates blowout protocol on single locked device.

variable BWO_Go(string device)

Executes blowout protocol.

static variable BWO_CheckGlobalSettings(string device)

Checks that MIES is correctly configured for automated blowout protocol.

Returns:

one if settings are valid, zero otherwise

static variable BWO_ConfigureTP(string device)

Initates test pulse.

static variable BWO_SetMIESSettings(string device)

Configures data acquisition settings for blowout.

static variable BWO_InitParaPipetteClear(string device)

Applies a pressure pulse to all headstages with valid pressure settings.

static variable BWO_CheckAndClearPipettes(string device)

Attempts to clear pipettes that have a resistance larger than MAX_RESISTANCE.

static variable BWO_AllMCCCtrlsOFF(string device)

Turns OFF all relevant MCC amplifier controls in I- and V-clamp modes.

static variable BWO_SetClampModeAll(string device, variable mode)

Wrapper function for setting the clamp mode on all headstages (T̶h̶o̶m̶a̶s̶ ̶p̶r̶o̶b̶a̶b̶l̶y̶ ̶w̶o̶n̶’̶t̶ ̶l̶i̶k̶e̶ ̶i̶t̶ He liked it!! :/ ).

static variable BWO_DisableMCCIClampCtrls(string device)

Turns OFF I-clamp controls.

static variable BWO_DisableMCCVClampCtrls(string device)

Turns OFF V-clamp controls.

static variable BWO_AcquireSweep(string device)

Acquires blowout sweep.

Variables

static const double BWO_MAX_RESISTANCE = 10
static const double BWO_INIT_PRESSURE = 5
static const double BWO_PRESSURE_INCREMENT = 1
static const double TWO_SECONDS = 120
static const double FIFTEEN_SECONDS = 900