The common_panels module
Panels for use in various custom experiments.
See Also
src.gui.panels.scanpanel
Classes
VisaPanel
-
class src.gui.instruments.common_panels.VisaPanel(parent, label)[source]
A panel to gather a VISA address for an instrument.
Methods
-
address[source]
Get the VISA resource address.
-
label[source]
Get the panel’s label.
LockinPanel
-
class src.gui.instruments.common_panels.LockinPanel(parent, label)[source]
A panel for configuring an SRS 830 lock-in amplifier.
Methods
-
address[source]
Get the VISA resource address.
-
averages[source]
Get the number of averages.
-
ballastResistance[source]
Get the ballast resistance in ohms.
-
intertime[source]
Get the time between averages.
-
label[source]
Get the panel’s label.
-
offsetVoltage[source]
Get the offset voltage in volts.
-
outputAction[source]
Get the output voltage action.
-
outputVoltage[source]
Get the output voltage.
-
pretime[source]
Get the time before averaging begins in seconds.
BaseVisaPanel
-
class src.gui.instruments.common_panels.BaseVisaPanel(parent, wxId=-1, controlWxId=-1)[source]
A simple VISA panel (without a border).
Methods
-
updateValues()[source]
Update the available resource addresses.
-
value[source]
Return the selected value of the VISA control.
Returns : | str :
The selected VISA resource address.
|
DcVoltmeterPanel
-
class src.gui.instruments.common_panels.DcVoltmeterPanel(parent, label)[source]
A panel for configuring DC Voltmeter.
Methods
-
address[source]
Get the VISA resource address.
-
averages[source]
Get the number of averages.
-
intertime[source]
Get the time between averages.
-
label[source]
Get the panel’s label.
-
pretime[source]
Get the time before averaging begins in seconds.
LockinPanelMaster
-
class src.gui.instruments.common_panels.LockinPanelMaster(parent, label)[source]
A panel for configuring an SRS 830 lock-in as a current source.
This class differs from the plain LockinPanel in that averaging
information is left out, since if the LockinPanelMaster is used, there
is probably another lock-in involved, in which case both would typically
use the same averaging parameters, so it does not make sense to have the
user enter it all twice.
Methods
-
address[source]
Get the VISA resource address.
-
ballastResistance[source]
Get the ballast resistance in ohms.
-
label[source]
Get the panel’s label.
-
offsetVoltage[source]
Get the offset voltage in volts.
-
outputAction[source]
Get the output voltage action.
-
outputVoltage[source]
Get the output voltage.
LockinPanelSlave
-
class src.gui.instruments.common_panels.LockinPanelSlave(parent, label)[source]
A panel for configuring an SRS 830 lock-in amplifier as a slave.
The LockinPanelSlave panel differs from the full LockinPanel in the
following ways.
- Since the voltage and current are sourced by a “master” lock-in, the
reference voltage, the voltage mode, and the ballast resistance are
unnecessary.
- Since there is another lock-in, which will typically use the same
averaging parameters, including averaging here is unnecessary.
This leaves only the resource address and the offset voltage.
Methods
-
address[source]
Get the VISA resource address.
-
label[source]
Get the panel’s label.
-
offsetVoltage[source]
Get the offset voltage in volts.
AveragingPanel
-
class src.gui.instruments.common_panels.AveragingPanel(parent, label='Averaging')[source]
A panel for configuring the averaging parameters for some instrument.
Methods
-
averages[source]
Get the number of averages.
-
intertime[source]
Get the time between averages.
-
label[source]
Get the panel’s label.
-
pretime[source]
Get the time before averaging begins in seconds.