|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An abstract GPIB driver interface that any driver implementation should implement.
Method Summary | |
void |
clearDevice(int _descriptor)
Clears a specific device |
be.ac.ulb.gpib.GPIBDevice |
getDevice(int address)
returns a GPIB device using its GPIB address. |
void |
initialize()
initialize() will be called by the GPIBDeviceIdentifier's static initializer. |
int |
openDevice(int _address)
Opens a GPIB device present at specific address. |
java.lang.String |
sendCommand(java.lang.String _message,
int _address)
sends a valid GPIB command to the device. |
void |
writeCommand(java.lang.String _message,
int _address)
sends a valid GPIB command to the device. |
Method Detail |
public void initialize()
public be.ac.ulb.gpib.GPIBDevice getDevice(int address)
address
- the GPIB address (from 0 to 31)public java.lang.String sendCommand(java.lang.String _message, int _address) throws java.io.IOException
java.io.IOException
public void writeCommand(java.lang.String _message, int _address) throws java.io.IOException
java.io.IOException
public void clearDevice(int _descriptor) throws java.io.IOException
_descriptor
- an unique integer referecing the device internally. It is not necessarely the GPIB address.
java.io.IOException
public int openDevice(int _address) throws java.io.IOException
_address
- the GPIB address of the device.
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |