|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectjGpibEnet.GpibEnetDriver
public class GpibEnetDriver
Constructor Summary | |
---|---|
GpibEnetDriver()
Constructor For This Class. |
|
GpibEnetDriver(ControllerType type,
java.lang.String ipAddress)
Constructor For This Class. |
|
GpibEnetDriver(java.lang.String ipAddress)
Constructor For This Class. |
Method Summary | |
---|---|
void |
clear()
Clear Device |
void |
closeDevice()
Close Communication With Device |
java.lang.Integer |
getCommTimeoutParam()
|
ControllerType |
getControllerType()
|
java.util.logging.Level |
getDebugLevel()
|
java.lang.String |
getIpAddress()
|
void |
openDevice(int gpibAddr,
int timeOutms)
Open Device To Prepare It For Communication |
java.lang.String |
read(int size)
Read Data From Instrument - If Communication Timeout (not GPIB) has been exceeded Then This Method Will Re-Establish Communication First. |
void |
setCommTimeoutParam(java.lang.Integer commTimeoutParam)
This Needs To Be Set Before Calling openDevice |
void |
setControllerType(ControllerType controllerType)
|
void |
setDebugLevel(java.util.logging.Level debugLevel)
|
void |
setIpAddress(java.lang.String ipAddress)
|
void |
write(java.lang.String data)
Write Data To Device - If Communication Timeout (not GPIB) has been exceeded Then This Method Will Re-Establish Communication First. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GpibEnetDriver()
ipAddress
- Ip Address Of Controllerpublic GpibEnetDriver(java.lang.String ipAddress)
ipAddress
- Ip Address Of Controllerpublic GpibEnetDriver(ControllerType type, java.lang.String ipAddress)
type
- Controller TypeipAddress
- Ip Address Of ControllerMethod Detail |
---|
public void openDevice(int gpibAddr, int timeOutms) throws GpibEnetException
gpibAddr
- Gpib Address Of Instrument You Wish To Talk To.timeOutms
- Gpib Timeout In milliseconds
GpibEnetException
public void closeDevice()
public void write(java.lang.String data) throws GpibEnetException
data
- The Data You Wish To Write To The Device
GpibEnetException
public java.lang.String read(int size) throws GpibEnetException
size
- The Size In Bytes - Does not need to be exact but must be at lest the minimum
size. This Method Used For Backward Compatibility With Most GPIB Interfaces.
GpibEnetException
public void clear() throws GpibEnetException
GpibEnetException
public java.util.logging.Level getDebugLevel()
public void setDebugLevel(java.util.logging.Level debugLevel)
public java.lang.Integer getCommTimeoutParam()
public void setCommTimeoutParam(java.lang.Integer commTimeoutParam)
commTimeoutParam
- Set Network Timeout in Seconds. If it is null, no value will be set.public ControllerType getControllerType()
public void setControllerType(ControllerType controllerType)
public java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |