Examples of command_inout()


Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

                                + " is unknow on the scan server " + scanServerName + ".");
                    }
                }
            }

            scanServerProxy.command_inout("ExecuteAction");

        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            e.printStackTrace();
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();
        try {
            scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            if (scanServerProxy != null) {
                scanServerProxy.command_inout("Abort");
            }
        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            throw new SalsaDeviceException("Error : cannot stop the scan : " + e.getMessage(), e);
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        String scanServerName = context.getScanServerName();

        try {
            scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            if (scanServerProxy != null) {
                scanServerProxy.command_inout("Pause");
            }
        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            throw new SalsaDeviceException("Error : cannot pause the scan : " + e.getMessage(), e);
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        DeviceProxy scanServerProxy = null;
        String scanServerName = context.getScanServerName();
        try {
            scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            if (scanServerProxy != null) {
                scanServerProxy.command_inout("Resume");
            }
        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            throw new SalsaDeviceException("Error : cannot resume the scan : " + e.getMessage(), e);
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

     * @throws SalsaDeviceException
     */
    public void clearHistoric(String scanServerName) throws SalsaDeviceException {
        try {
            DeviceProxy scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            scanServerProxy.command_inout("ClearHistoric");
        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            e.printStackTrace();
            throw new SalsaDeviceException("Error : cannot read the historic : " + e.getMessage(),
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

                }
            }

            // TODO remove syso
            // System.out.println("ExecuteAction()=" + behaviour.getType());
            scanServerProxy.command_inout("ExecuteAction");

        }
        catch (DevFailed e) {
            scanServerManager.invalidateScanServerProxy(scanServerName);
            e.printStackTrace();
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        String scanServerName = context.getScanServerName();
        if (TangoDeviceHelper.isDeviceRunning(scanServerName)) {
            try {
                DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanServerProxy != null) {
                    scanServerProxy.command_inout("Abort");
                }
            }
            catch (DevFailed e) {
                throw new SalsaDeviceException("Error : cannot stop the scan : "
                        + DevFailedUtils.toString(e), e);
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        String scanServerName = context.getScanServerName();
        if (TangoDeviceHelper.isDeviceRunning(scanServerName)) {
            try {
                DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanServerProxy != null) {
                    scanServerProxy.command_inout("Pause");
                    // System.out.println(scanServerName + "Pause");
                }
            }
            catch (DevFailed e) {
                throw new SalsaDeviceException("Error : cannot pause the scan : "
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

        String scanServerName = context.getScanServerName();
        if (TangoDeviceHelper.isDeviceRunning(scanServerName)) {
            try {
                DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                if (scanServerProxy != null) {
                    scanServerProxy.command_inout("Resume");
                }
            }
            catch (DevFailed e) {
                throw new SalsaDeviceException("Error : cannot resume the scan : "
                        + DevFailedUtils.toString(e), e);
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.command_inout()

     */
    public void clearHistoric(String scanServerName) throws SalsaDeviceException {
        if (TangoDeviceHelper.isDeviceRunning(scanServerName)) {
            try {
                DeviceProxy scanServerProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                scanServerProxy.command_inout("ClearHistoric");
            }
            catch (DevFailed e) {
                throw new SalsaDeviceException("Cannot clear historic : "
                        + DevFailedUtils.toString(e), e);
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.