public interface CanOpenRemoteInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
void |
addReceivedPDO(int cobId)
Configures the pdo with the given cob_id for reception on the master node.
|
void |
clearReceivedPDOs() |
String |
info(int nodeID)
Returns the information for the given nodeID.
|
void |
init() |
void |
init(int master,
String baud,
String busName,
int nodeID)
Initialization of the master node.
|
boolean |
isReady() |
void |
quit() |
void |
reset(int nodeId) |
long |
rsdo(int nodeId,
int index,
int subindex)
Read device entry
|
int |
scan()
Sends a scan on the can bus.
|
void |
setBootMessageListener(BootMessageRemoteListener bml) |
void |
setEmergencyMessageListener(EmergencyMessageRemoteListener eml) |
void |
setTimeoutMillis(long to) |
void |
ssta(int nodeId)
Slave start
|
void |
ssto(int nodeId)
Slave stop
|
void |
start() |
void |
stop() |
PDOData |
sync()
Sends a sync message on the CANBus and synchronously waits for the received
PDO configured in the master to be received.
|
void |
wsdo(int nodeId,
int index,
int subindex,
int size,
long data) |
void init(int master,
String baud,
String busName,
int nodeID)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
master - 1 for master, 0 for slave.baud - "125K","1M",...busName - the bus name (0 for can0, 1 for can1)nodeID - the nodeIDRemoteExceptionorg.lsst.ccs.drivers.commons.DriverExceptionvoid addReceivedPDO(int cobId)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
cobId - RemoteExceptionorg.lsst.ccs.drivers.commons.DriverExceptionvoid clearReceivedPDOs()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionPDOData sync() throws org.lsst.ccs.drivers.commons.DriverException, RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionint scan()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
RemoteExceptionorg.lsst.ccs.drivers.commons.DriverExceptionString info(int nodeID) throws org.lsst.ccs.drivers.commons.DriverException, RemoteException
nodeID - the node idorg.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid wsdo(int nodeId,
int index,
int subindex,
int size,
long data)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
nodeId - the node idindex - the indexsubindex - the sub indexsize - the sizedata - the dataorg.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionlong rsdo(int nodeId,
int index,
int subindex)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
nodeId - the node idindex - the indexsubindex - the subindexorg.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid ssta(int nodeId)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
nodeId - org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid ssto(int nodeId)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
nodeId - org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid reset(int nodeId)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid quit()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid init()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid start()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid stop()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionboolean isReady()
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid setEmergencyMessageListener(EmergencyMessageRemoteListener eml) throws org.lsst.ccs.drivers.commons.DriverException, RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid setBootMessageListener(BootMessageRemoteListener bml) throws org.lsst.ccs.drivers.commons.DriverException, RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionvoid setTimeoutMillis(long to)
throws org.lsst.ccs.drivers.commons.DriverException,
RemoteException
org.lsst.ccs.drivers.commons.DriverExceptionRemoteExceptionCopyright © 2018 LSST. All rights reserved.