Package jisa.devices.amp
Class SR560
- java.lang.Object
-
- jisa.visa.VISADevice
-
- jisa.devices.amp.SR560
-
- All Implemented Interfaces:
Instrument,VPreAmp
public class SR560 extends VISADevice implements VPreAmp
-
-
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
-
-
Field Summary
-
Fields inherited from class jisa.visa.VISADevice
C_IDN, CR_TERMINATOR, CRLF_TERMINATOR, DEFAULT_EOI, DEFAULT_EOS, DEFAULT_TIMEOUT, EOS_RETURN, LF_TERMINATOR
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete 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.java.lang.StringgetIDN()Sends the standard identifications query to the device (*IDN?)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 class jisa.visa.VISADevice
addAutoRemove, checkLimit, checkLimit, clearBuffers, close, getAddress, getConnection, getName, manuallyClearReadBuffer, query, queryDouble, queryInt, read, read, readBytes, readDouble, readInt, setIOLimit, setReadBufferSize, setReadTerminator, setReadTerminator, setRetryCount, setTimeout, setWriteTerminator, write, writeBytes
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jisa.devices.interfaces.Instrument
close, getAddress, getConfigurationParameters, getConfigurationParameters, getLockObject, getName, setTimeout
-
-
-
-
Constructor Detail
-
SR560
public SR560(Address address) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getDescription
public static java.lang.String getDescription()
-
getIDN
public java.lang.String getIDN()
Description copied from class:VISADeviceSends the standard identifications query to the device (*IDN?)- Specified by:
getIDNin interfaceInstrument- Overrides:
getIDNin classVISADevice- Returns:
- The resposne of the device
-
setGain
public void setGain(double gain) throws java.io.IOExceptionDescription copied from interface:VPreAmpSets the gain to the given value, or as close to it as possible.
-
setInput
public void setInput(Input source) throws java.io.IOException
Description copied from interface:VPreAmpSets the source terminal to use, either A, B or DIFF (for A - B).
-
setCoupling
public void setCoupling(Coupling mode) throws java.io.IOException
Description copied from interface:VPreAmpSets the coupling mode of the pre-amplifier.- Specified by:
setCouplingin interfaceVPreAmp- Parameters:
mode- Coupling mode: GROUND, DC or AC.- Throws:
java.io.IOException- Upon communications error
-
setFilterMode
public void setFilterMode(Filter mode) throws java.io.IOException
Description copied from interface:VPreAmpSets the filter mode of the pre-amplifier.- Specified by:
setFilterModein interfaceVPreAmp- Parameters:
mode- Filter-mode: NONE, LOW_PASS, HIGH_PASS or BAND_PASS- Throws:
java.io.IOException- Upon communications error
-
setFilterRollOff
public void setFilterRollOff(double dbLevel) throws java.io.IOExceptionDescription copied from interface:VPreAmpSets the filter roll-off value in db/decade (or as close to it as one can get).- Specified by:
setFilterRollOffin interfaceVPreAmp- Parameters:
dbLevel- Roll-off (db/decade)- Throws:
java.io.IOException- Upon communications error
-
setFilterHighFrequency
public void setFilterHighFrequency(double frequency) throws java.io.IOExceptionDescription copied from interface:VPreAmpSets the high frequency value of the filter to the given value or as close as possible.- Specified by:
setFilterHighFrequencyin interfaceVPreAmp- Parameters:
frequency- High frequency value, in Hz- Throws:
java.io.IOException- Upon communications error
-
setFilterLowFrequency
public void setFilterLowFrequency(double frequency) throws java.io.IOExceptionDescription copied from interface:VPreAmpSets the low frequency value of the filter to the given value or as close as possible.- Specified by:
setFilterLowFrequencyin interfaceVPreAmp- Parameters:
frequency- Low frequency value, in Hz- Throws:
java.io.IOException- Upon communications error
-
getGain
public double getGain()
Description copied from interface:VPreAmpReturns the gain value of the amplifier currently.
-
getInput
public Input getInput()
Description copied from interface:VPreAmpReturns the source terminal configuration currently being used.
-
getCoupling
public Coupling getCoupling()
Description copied from interface:VPreAmpReturns the coupling configuration currently being used.- Specified by:
getCouplingin interfaceVPreAmp- Returns:
- Coupling configuration
-
getFilterMode
public Filter getFilterMode()
Description copied from interface:VPreAmpReturns the filter mode currently being used.- Specified by:
getFilterModein interfaceVPreAmp- Returns:
- Filter mode
-
getFilterRollOff
public double getFilterRollOff()
Description copied from interface:VPreAmpReturns the filter roll-off value currently being used in db/decade- Specified by:
getFilterRollOffin interfaceVPreAmp- Returns:
- Filter roll off (db/decade)
-
getFilterHighFrequency
public double getFilterHighFrequency()
Description copied from interface:VPreAmpReturns the high frequency value currently being used by the filter.- Specified by:
getFilterHighFrequencyin interfaceVPreAmp- Returns:
- High frequency value, in Hz.
-
getFilterLowFrequency
public double getFilterLowFrequency()
Description copied from interface:VPreAmpReturns the low frequency value currently being used by the filter.- Specified by:
getFilterLowFrequencyin interfaceVPreAmp- Returns:
- Low frequency value, in Hz.
-
-