Package fr.esrf.Tango

Examples of fr.esrf.Tango.DevState


        // Do not test if the device is running, it is overload the database
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (proxy != null) {
            try {

                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            } catch (DevFailed devFailed) {
                LOGGER.error("Cannot execute " + scanServerName + "/State" + " " + DevFailedUtils.toString(devFailed));
            } catch (Exception e) {
                LOGGER.error("Cannot execute " + scanServerName + "/State" + " " + e.getMessage());
View Full Code Here


    public static String getState(String scanServerName) {
        String state = StateUtilities.getNameForState(DevState.UNKNOWN);
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
        try {
            if (proxy != null) {
                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            }
        }
        catch (Exception e) {
            e.printStackTrace();
View Full Code Here

    public static String getState(String scanServerName) {
        String state = StateUtilities.getNameForState(DevState.UNKNOWN);
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
        try {
            if (proxy != null) {
                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            }
        }
        catch (Exception e) {
            e.printStackTrace();
View Full Code Here

        // Do not test if the device is running, it is overload the database
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (proxy != null) {
            try {

                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            } catch (DevFailed devFailed) {
                LOGGER.error("Cannot execute {}/State {}", scanServerName, DevFailedUtils.toString(devFailed));
                LOGGER.debug("Stack trace", devFailed);
            } catch (Exception e) {
View Full Code Here

        // Do not test if the device is running, it is overload the database
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (proxy != null) {
            try {

                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            } catch (DevFailed devFailed) {
                LOGGER.error("Cannot execute {}/State {}", scanServerName, DevFailedUtils.toString(devFailed));
                LOGGER.debug("Stack trace", devFailed);
            } catch (Exception e) {
View Full Code Here

        // Do not test if the device is running, it is overload the database
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (proxy != null) {
            try {

                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            } catch (DevFailed devFailed) {
                LOGGER.error("Cannot execute {}/State {}", scanServerName, DevFailedUtils.toString(devFailed));
                LOGGER.debug("Stack trace", devFailed);
            } catch (Exception e) {
View Full Code Here

    public static String getState(String scanServerName) {
        String state = StateUtilities.getNameForState(DevState.UNKNOWN);
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
        try {
            if (proxy != null) {
                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            }
        }
        catch (Exception e) {
            e.printStackTrace();
View Full Code Here

    public static String getState(String scanServerName) {
        String state = StateUtilities.getNameForState(DevState.UNKNOWN);
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
        try {
            if (proxy != null) {
                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            }
        }
        catch (Exception e) {
            e.printStackTrace();
View Full Code Here

        // Do not test if the device is running, it is overload the database
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
        if (proxy != null) {
            try {

                DevState devState = proxy.state();
                state = StateUtilities.getNameForState(devState);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
View Full Code Here

TOP

Related Classes of fr.esrf.Tango.DevState

Copyright © 2018 www.massapicom. 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.