Examples of extractDouble()


Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

    public Double getPositionFor(String actuatorName) {
        Double result = null;
        try {
            DeviceAttribute attr = proxy.read_attribute(actuatorName);
            result = new Double(attr.extractDouble());
        } catch (DevFailed ex) {
            Logger.getLogger(GetPosition.class.getName()).log(Level.SEVERE, null, ex);
        }
        return result;
    }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

          && !stype.equals("")) {
        type = toType(stype);
        if (type == 1) { // Boolean
          send("read", attr.extractBoolean());
        } else if (type >= 2 && type <= 7) { // Number
          send("read", attr.extractDouble());
        } else if (type == 8) { // String
          send("read", attr.extractString());
        }

      } else {
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName, false);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                } catch (final DevFailed e) {
                }
            }
        }
        return value;
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(attributeName);
                    result = attribute.extractDouble();
                }
                catch (DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName, false);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                } catch (final DevFailed e) {
                }
            }
        }
        return value;
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                }
                catch (final DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(attributeName);
                    result = attribute.extractDouble();
                }
                catch (DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                }
                catch (final DevFailed e) {
                }
            }
        }
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                } catch (final DevFailed e) {
                }
            }
        }
        return value;
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceAttribute.extractDouble()

        if (TangoAttributeHelper.isAttributeRunning(aScanServerDeviceName, attributeName)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(aScanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(attributeName);
                    value = deviceAttribute.extractDouble();
                }
                catch (final DevFailed 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.