Package jisa.visa
Class DDEDevice
- java.lang.Object
- 
- jisa.visa.DDEDevice
 
- 
- All Implemented Interfaces:
- Instrument
 - Direct Known Subclasses:
- Bruker70v
 
 public class DDEDevice extends java.lang.Object implements Instrument 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface jisa.devices.interfaces.InstrumentInstrument.AutoQuantity<S>, Instrument.OptionalQuantity<S>, Instrument.Parameter<S>, Instrument.Setter<S>, Instrument.TableQuantity
 
- 
 - 
Constructor SummaryConstructors Constructor Description DDEDevice(Address address)DDEDevice(LXIAddress address, java.lang.String service, java.lang.String topic, int timeout)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the connection to the instrument.AddressgetAddress()Returns any Address object used to connect to this instrument.java.lang.StringgetIDN()Returns an identifying String of the instrument.java.lang.StringgetName()Returns the name of the instrument or channel.java.lang.StringsendRequest(java.lang.String request)- 
Methods inherited from class java.lang.Objectclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jisa.devices.interfaces.InstrumentgetConfigurationParameters, getConfigurationParameters, getLockObject, setTimeout
 
- 
 
- 
- 
- 
Constructor Detail- 
DDEDevicepublic DDEDevice(LXIAddress address, java.lang.String service, java.lang.String topic, int timeout) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 - 
DDEDevicepublic DDEDevice(Address address) throws java.lang.Exception - Throws:
- java.lang.Exception
 
 
- 
 - 
Method Detail- 
getIDNpublic java.lang.String getIDN() throws java.io.IOException, DeviceExceptionDescription copied from interface:InstrumentReturns an identifying String of the instrument.- Specified by:
- getIDNin interface- Instrument
- Returns:
- Identifying String
- Throws:
- java.io.IOException- Upon communications error
- DeviceException- Upon incompatibility with device
 
 - 
getNamepublic java.lang.String getName() Description copied from interface:InstrumentReturns the name of the instrument or channel.- Specified by:
- getNamein interface- Instrument
- Returns:
- Name
 
 - 
closepublic void close() throws java.io.IOException, DeviceExceptionDescription copied from interface:InstrumentCloses the connection to the instrument.- Specified by:
- closein interface- Instrument
- Throws:
- java.io.IOException- Upon communications error
- DeviceException- Upon incompatibility with device
 
 - 
getAddresspublic Address getAddress() Description copied from interface:InstrumentReturns any Address object used to connect to this instrument.- Specified by:
- getAddressin interface- Instrument
- Returns:
- Address object, null if none
 
 - 
sendRequestpublic java.lang.String sendRequest(java.lang.String request) throws java.lang.Exception- Throws:
- java.lang.Exception
 
 
- 
 
-