org.lsst.ccs.subsystems.fcs.common
Interface BridgeToHardware

All Known Implementing Classes:
BridgeForAPCTestBench, BridgeToCanOpenHardware, SimuBridgeToCanOpenHardware

public interface BridgeToHardware

Author:
virieux

Method Summary
 boolean isCWrapperConnected()
          This method returns true if the C-Wrapper is connected to the tcp proxy.
 boolean isHardwareReady()
          returns true if the hardware is booted, identified and initialized.
 CanOpenProxy.PDOStorage readPDOs()
           
 

Method Detail

isCWrapperConnected

boolean isCWrapperConnected()
This method returns true if the C-Wrapper is connected to the tcp proxy. The C-Wrapper has to send the tcpProxy clientName as a keyword before any communication can begin. So if the C-Wrapper doesn't send the good keyword or if it doesn't connect to the tcp proxy, this method returns false.


isHardwareReady

boolean isHardwareReady()
returns true if the hardware is booted, identified and initialized.


readPDOs

CanOpenProxy.PDOStorage readPDOs()
                                 throws HardwareError,
                                        org.lsst.ccs.bus.BadCommandException
Throws:
HardwareError
org.lsst.ccs.bus.BadCommandException


Copyright © 2013 LSST. All Rights Reserved.