charly.server.devices
Interface ChRobDevice

All Superinterfaces:
ChDevice, java.rmi.Remote
All Known Implementing Classes:
ChRobDeviceImpl

public interface ChRobDevice
extends ChDevice, java.rmi.Remote

The methods of this interface are usually called by ChRobClient


Field Summary
static java.lang.String NAME
          name is "GPIB"
 
Method Summary
 int[] getAxes(java.lang.String taskID)
           
 int getAxisPos(java.lang.String taskID, int axisNr)
           
 void setAxes(java.lang.String taskID, int[] pos)
          Setzt Position aller sechs Achsen
 void setAxisPos(java.lang.String taskID, int axisNr, int pos)
          Setzt Position der Achse axisNr
 
Methods inherited from interface charly.server.devices.ChDevice
getName, setRsrcMgr
 

Field Detail

NAME

public static final java.lang.String NAME
name is "GPIB"

See Also:
ChDevice.getName(), Constant Field Values
Method Detail

setAxisPos

public void setAxisPos(java.lang.String taskID,
                       int axisNr,
                       int pos)
                throws ChRobDeviceException,
                       java.rmi.RemoteException,
                       ChTaskNotStartedException,
                       ChAccessDeniedException
Setzt Position der Achse axisNr

Parameters:
axisNr - Achsennummer (0-5)
pos - Neue Position (0-255)
Throws:
ChRobDeviceException
java.rmi.RemoteException
ChTaskNotStartedException
ChAccessDeniedException

getAxisPos

public int getAxisPos(java.lang.String taskID,
                      int axisNr)
               throws ChRobDeviceException,
                      java.rmi.RemoteException
Parameters:
axisNr - (0-5)
Returns:
Achsenposition (0-255)
Throws:
ChRobDeviceException
java.rmi.RemoteException

setAxes

public void setAxes(java.lang.String taskID,
                    int[] pos)
             throws ChRobDeviceException,
                    java.rmi.RemoteException,
                    ChTaskNotStartedException,
                    ChAccessDeniedException
Setzt Position aller sechs Achsen

Parameters:
pos - Neue Positionen: Array mit sechs Elementen mit Werten zwischen 0 und 255
Throws:
ChRobDeviceException
java.rmi.RemoteException
ChTaskNotStartedException
ChAccessDeniedException

getAxes

public int[] getAxes(java.lang.String taskID)
              throws ChRobDeviceException,
                     java.rmi.RemoteException
Returns:
Positionen - Array mit sechs Elementen mit Werten zwischen 0 und 255 - oder null bei Misserfolg bspw. bei Timeout????!!!!
Throws:
ChRobDeviceException
java.rmi.RemoteException