Package jisa.devices.smu
Class AgilentSPA.GNDU
- java.lang.Object
-
- jisa.devices.smu.AgilentSPA.GNDU
-
- All Implemented Interfaces:
Instrument
,Switch
- Enclosing class:
- AgilentSPA
public class AgilentSPA.GNDU extends java.lang.Object implements Switch
-
-
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
-
-
Constructor Summary
Constructors Constructor Description GNDU(java.lang.String name, int channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the connection to the instrument.Address
getAddress()
Returns any Address object used to connect to this instrument.java.lang.String
getIDN()
Returns an identifying String of the instrument.java.lang.String
getName()
Returns the name of the instrument or channel.boolean
isOn()
void
turnOff()
void
turnOn()
-
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
getConfigurationParameters, getConfigurationParameters, getLockObject, setTimeout
-
-
-
-
Constructor Detail
-
GNDU
public GNDU(java.lang.String name, int channel) throws java.io.IOException, DeviceException
- Throws:
java.io.IOException
DeviceException
-
-
Method Detail
-
getIDN
public java.lang.String getIDN() throws java.io.IOException, DeviceException
Description copied from interface:Instrument
Returns an identifying String of the instrument.- Specified by:
getIDN
in interfaceInstrument
- Returns:
- Identifying String
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
getName
public java.lang.String getName()
Description copied from interface:Instrument
Returns the name of the instrument or channel.- Specified by:
getName
in interfaceInstrument
- Returns:
- Name
-
close
public void close() throws java.io.IOException, DeviceException
Description copied from interface:Instrument
Closes the connection to the instrument.- Specified by:
close
in interfaceInstrument
- Throws:
java.io.IOException
- Upon communications errorDeviceException
- Upon incompatibility with device
-
getAddress
public Address getAddress()
Description copied from interface:Instrument
Returns any Address object used to connect to this instrument.- Specified by:
getAddress
in interfaceInstrument
- Returns:
- Address object, null if none
-
turnOn
public void turnOn() throws java.io.IOException, DeviceException
- Specified by:
turnOn
in interfaceSwitch
- Throws:
java.io.IOException
DeviceException
-
turnOff
public void turnOff() throws java.io.IOException, DeviceException
- Specified by:
turnOff
in interfaceSwitch
- Throws:
java.io.IOException
DeviceException
-
isOn
public boolean isOn() throws java.io.IOException, DeviceException
- Specified by:
isOn
in interfaceSwitch
- Throws:
java.io.IOException
DeviceException
-
-