Examples of extractLong()


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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, SCAN_TYPE)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(SCAN_TYPE);
                    value = deviceAttribute.extractLong();
                } catch (final DevFailed e) {
                    LOGGER.error("Cannot read {}/{} {}", scanServerName, SCAN_TYPE, DevFailedUtils.toString(e));
                    LOGGER.debug("Stack trace", e);
                }
            }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, SCAN_TYPE)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(SCAN_TYPE);
                    value = deviceAttribute.extractLong();
                } catch (final DevFailed e) {
                    LOGGER.error("Cannot read {}/{} {}", scanServerName, SCAN_TYPE, DevFailedUtils.toString(e));
                    LOGGER.debug("Stack trace", e);
                }
            }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, SCAN_TYPE)) {
            final DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(SCAN_TYPE);
                    value = deviceAttribute.extractLong();
                } catch (final DevFailed e) {
                    LOGGER.error("Cannot read {}/{} {}", scanServerName, SCAN_TYPE, DevFailedUtils.toString(e));
                    LOGGER.debug("Stack trace", e);
                }
            }
View Full Code Here

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

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

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

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

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

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

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

            if (isScanResultReady()) {
                try {
                    // Type
                    actionName = "read_attribute(\"" + CurrentScanDataModel.SCAN_TYPE + "\")";
                    DeviceAttribute scanTypeAttribute = scanServerProxy.read_attribute(CurrentScanDataModel.SCAN_TYPE);
                    int scanType = scanTypeAttribute.extractLong();
                    // 0 -> time scan
                    // 1 -> scan 1d
                    // 2 -> scan 2d
                    switch (scanType) {
                    case 0:
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.