Examples of command_inout()


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

                    }
                }

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

            } catch (DevFailed e) {
                e.printStackTrace();
                throw new SalsaDeviceException("Error : cannot perform scan function : " + DevFailedUtils.toString(e),
                        e);
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()

        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();

        try {
            scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            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()

    public void stopScan(IContext context) throws SalsaDeviceException {
        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();
        try {
            scanServerProxy = scanServerManager.getScanServerProxy(scanServerName);
            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()

        initConnexion(context);
        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();
        try {
            scanServerProxy = ScanServerManager.getScanServerProxy(scanServerName);
            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()

        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();

        try {
            scanServerProxy = scanServerManager.getScanServerProxy(scanServerName);
            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()

    public void resumeScan(IContext context) throws SalsaDeviceException {
        DeviceProxy scanServerProxy;
        String scanServerName = context.getScanServerName();
        try {
            scanServerProxy = scanServerManager.getScanServerProxy(scanServerName);
            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()

     * @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
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.