Package jisa.devices.interfaces
Interface VPreAmp
-
- All Superinterfaces:
Instrument
- All Known Implementing Classes:
SR560
public interface VPreAmp extends Instrument
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jisa.devices.interfaces.Instrument
Instrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description CouplinggetCoupling()Returns the coupling configuration currently being used.static java.lang.StringgetDescription()doublegetFilterHighFrequency()Returns the high frequency value currently being used by the filter.doublegetFilterLowFrequency()Returns the low frequency value currently being used by the filter.FiltergetFilterMode()Returns the filter mode currently being used.doublegetFilterRollOff()Returns the filter roll-off value currently being used in db/decadedoublegetGain()Returns the gain value of the amplifier currently.InputgetInput()Returns the source terminal configuration currently being used.voidsetCoupling(Coupling mode)Sets the coupling mode of the pre-amplifier.voidsetFilterHighFrequency(double frequency)Sets the high frequency value of the filter to the given value or as close as possible.voidsetFilterLowFrequency(double frequency)Sets the low frequency value of the filter to the given value or as close as possible.voidsetFilterMode(Filter mode)Sets the filter mode of the pre-amplifier.voidsetFilterRollOff(double dbLevel)Sets the filter roll-off value in db/decade (or as close to it as one can get).voidsetGain(double gain)Sets the gain to the given value, or as close to it as possible.voidsetInput(Input source)Sets the source terminal to use, either A, B or DIFF (for A - B).-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getConfigurationParameters, getIDN, getLockObject, getName, setTimeout
-
-
-
-
Method Detail
-
getDescription
static java.lang.String getDescription()
-
setGain
void setGain(double gain) throws java.io.IOException, DeviceExceptionSets the gain to the given value, or as close to it as possible.- Parameters:
gain- Gain value- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setInput
void setInput(Input source) throws java.io.IOException, DeviceException
Sets the source terminal to use, either A, B or DIFF (for A - B).- Parameters:
source- Source terminal configuration- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setCoupling
void setCoupling(Coupling mode) throws java.io.IOException, DeviceException
Sets the coupling mode of the pre-amplifier.- Parameters:
mode- Coupling mode: GROUND, DC or AC.- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setFilterMode
void setFilterMode(Filter mode) throws java.io.IOException, DeviceException
Sets the filter mode of the pre-amplifier.- Parameters:
mode- Filter-mode: NONE, LOW_PASS, HIGH_PASS or BAND_PASS- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setFilterRollOff
void setFilterRollOff(double dbLevel) throws java.io.IOException, DeviceExceptionSets the filter roll-off value in db/decade (or as close to it as one can get).- Parameters:
dbLevel- Roll-off (db/decade)- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setFilterHighFrequency
void setFilterHighFrequency(double frequency) throws java.io.IOException, DeviceExceptionSets the high frequency value of the filter to the given value or as close as possible.- Parameters:
frequency- High frequency value, in Hz- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
setFilterLowFrequency
void setFilterLowFrequency(double frequency) throws java.io.IOException, DeviceExceptionSets the low frequency value of the filter to the given value or as close as possible.- Parameters:
frequency- Low frequency value, in Hz- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getGain
double getGain() throws java.io.IOException, DeviceExceptionReturns the gain value of the amplifier currently.- Returns:
- Gain value
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getInput
Input getInput() throws java.io.IOException, DeviceException
Returns the source terminal configuration currently being used.- Returns:
- Source terminal configuration
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getCoupling
Coupling getCoupling() throws java.io.IOException, DeviceException
Returns the coupling configuration currently being used.- Returns:
- Coupling configuration
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getFilterMode
Filter getFilterMode() throws java.io.IOException, DeviceException
Returns the filter mode currently being used.- Returns:
- Filter mode
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getFilterRollOff
double getFilterRollOff() throws java.io.IOException, DeviceExceptionReturns the filter roll-off value currently being used in db/decade- Returns:
- Filter roll off (db/decade)
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getFilterHighFrequency
double getFilterHighFrequency() throws java.io.IOException, DeviceExceptionReturns the high frequency value currently being used by the filter.- Returns:
- High frequency value, in Hz.
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
getFilterLowFrequency
double getFilterLowFrequency() throws java.io.IOException, DeviceExceptionReturns the low frequency value currently being used by the filter.- Returns:
- Low frequency value, in Hz.
- Throws:
java.io.IOException- Upon communications errorDeviceException- Upon compatibility error
-
-