|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface InstrumentPort
Interface that encompasses power control and communications to an instrument.
| Field Summary | |
|---|---|
static boolean |
RTS_SENSE
|
| Method Summary | |
|---|---|
void |
connectPower()
Connect instrument to power. |
void |
disableCommunications()
Disable communications |
void |
disconnectPower()
Disconnect instrument from power. |
void |
enableCommunications()
Enable communications |
java.lang.String |
getCommPortName()
get the name of the communications port |
float |
getCurrentLevel()
Get the current level of the PowerPort (amps). |
int |
getCurrentLimit()
Get current limit of port. |
java.io.InputStream |
getInputStream()
get an InputStream to the instrument |
InstrumentConsole |
getInstrumentConsole()
get a console to an Instrument |
InstrumentPortOutputStream |
getOutputStream()
get an OutputStream to the instrument |
java.lang.String |
getStatusMessage()
Get health/status string. |
java.lang.String |
getStatusSummaryMessage()
Get health/status summary string. |
java.lang.String |
getTerseStatus()
Get terse summary string. |
float |
getVoltageLevel()
Get the voltage level of the PowerPort (volts). |
void |
initialize()
Initialize the port. |
void |
isolatePort()
Isolate comms and power from port. |
boolean |
isSuspended()
get the suspend state of the instrument port |
void |
resetStatus()
Reset status. |
void |
resume()
resumes instruents comms from suspended state |
void |
setCommsMode(CommsMode commsMode)
Set communications mode (RS422,RS485,RS232) |
void |
setCurrentLimit(int currentLimit)
Set current limit on port. |
void |
shutDown()
Power down the instrument and close the communications port |
void |
suspend()
suspends comms so another application can communicate with the instrument |
| Field Detail |
|---|
static final boolean RTS_SENSE
| Method Detail |
|---|
void initialize()
throws InitializeException
InitializeExceptionvoid resume()
void suspend()
void shutDown()
boolean isSuspended()
java.lang.String getCommPortName()
java.io.InputStream getInputStream()
throws java.io.IOException
java.io.IOException
InstrumentPortOutputStream getOutputStream()
throws java.io.IOException
java.io.IOException
InstrumentConsole getInstrumentConsole()
throws java.io.IOException
java.io.IOExceptionvoid enableCommunications()
void disableCommunications()
void connectPower()
void disconnectPower()
void setCurrentLimit(int currentLimit)
throws RangeException,
NotSupportedException
RangeException
NotSupportedException
int getCurrentLimit()
throws NoDataException,
NotSupportedException
NoDataException
NotSupportedException
float getVoltageLevel()
throws NoDataException,
NotSupportedException
NoDataException
NotSupportedException
float getCurrentLevel()
throws NoDataException,
NotSupportedException
NoDataException
NotSupportedExceptionvoid isolatePort()
java.lang.String getStatusMessage()
java.lang.String getStatusSummaryMessage()
java.lang.String getTerseStatus()
void resetStatus()
void setCommsMode(CommsMode commsMode)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||