Tools which are shared among multiple Oxford Instruments devices
This provides a class which can be overridden by the various instruments from Oxford instruments. The OxfordCommon class provides the initialization and communication routines common to the ITC503, the PS120, and the IPS120.
This is a class to perform actions common to most Oxford Instruments devices, including the ITC503, the PS120, and the IPS120.
Parameters : | name : str
protocol : {‘ISOBUS’, ‘GPIB’, ‘Serial’, ‘Gateway Master’, ‘Gateway Slave’}
isobusAddress : str
visaAddress : str
serialConfig : dict
|
---|
Methods
Initialize the instrument.
Open a new (protocol-specific) communication channel between the computer and the instrument, initializing initializing the ports and sending device clears as appropriate.
Parameters : | protocol : str
|
---|
Wait for the temperature to stabilize.
Wait for the temperature to become steady (within some specified tolerance) at a particular target temperature. There are two timers in use in this method. One is the total time elapsed since the function starts, and the other is the time over which the temperature has been within the tolerance (i.e., it resets whenever the temperature goes out of range). The function ends when either the latter timer reaches stabilizedTime or when the former reaches timeout, whichever comes first.
Parameters : | targetTemperature : float
measurementFunction : function
allowedDeviation : float
deviationType : str {‘percent’, ‘absolute’}
stabilizedTime : float
timeout : float
|
---|---|
Returns : | bool :
|
Expand a range, getting the step sizes from an array.
Parameters : | initial : float
final : float
stepArray : list of 3-tuple of float
|
---|---|
Returns : | list of float :
|
Read the configuration for an Oxford instrument.
Parameters : | configurationFile : str
section : str
|
---|---|
Returns : | protocol : str
visaAddress : str
isobusAddress : str
serialConfig : dict
|