Package fr.esrf.TangoApi

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


            // YActuatorList
            actuatorList = null;
            try {
                deviceAttribute = proxy.read_attribute(YACTUATORS_DATA_LIST);
                if (deviceAttribute != null) {
                    actuatorList = deviceAttribute.extractStringArray();
                }
            }
            catch (final DevFailed e) {
            }
            if (actuatorList != null) {
View Full Code Here


            // Y1 SensorList or sensor 2D
            String[] sensorDataList = null;
            try {
                deviceAttribute = proxy.read_attribute(CurrentScanDataModel.SENSORS_DATA_LIST);
                if (deviceAttribute != null) {
                    sensorDataList = deviceAttribute.extractStringArray();
                }
            }
            catch (final DevFailed e) {
            }
View Full Code Here

        if (TangoAttributeHelper.isAttributeRunning(scanServerDeviceName, actuatorsName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(actuatorsName);
                    String[] allattributeList = attribute.extractStringArray();
                    attributeList = Arrays.copyOf(allattributeList, attribute.getNbRead());
                } catch (Exception e) {
                    // TODO: handle exception
                }
            }
View Full Code Here

        if (TangoAttributeHelper.isAttributeRunning(scanServerDeviceName, actuatorsName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(actuatorsName);
                    String[] allattributeList = attribute.extractStringArray();
                    attributeList = Arrays.copyOf(allattributeList, attribute.getNbRead());
                }
                catch (Exception e) {
                    // TODO: handle exception
                }
View Full Code Here

            // XActuatorList
            String[] actuatorList = null;
            try {
                deviceAttribute = proxy.read_attribute(ACTUATORS_DATA_LIST);
                if (deviceAttribute != null) {
                    actuatorList = deviceAttribute.extractStringArray();
                }
            }
            catch (final DevFailed e) {
            }
View Full Code Here

            // YActuatorList
            actuatorList = null;
            try {
                deviceAttribute = proxy.read_attribute(YACTUATORS_DATA_LIST);
                if (deviceAttribute != null) {
                    actuatorList = deviceAttribute.extractStringArray();
                }
            }
            catch (final DevFailed e) {
            }
            if (actuatorList != null) {
View Full Code Here

            // Y1 SensorList or sensor 2D
            String[] sensorDataList = null;
            try {
                deviceAttribute = proxy.read_attribute(CurrentScanDataModel.SENSORS_DATA_LIST);
                if (deviceAttribute != null) {
                    sensorDataList = deviceAttribute.extractStringArray();
                }
            }
            catch (final DevFailed e) {
            }
View Full Code Here

        if (TangoAttributeHelper.isAttributeRunning(scanServerDeviceName, actuatorsName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(actuatorsName);
                    String[] allattributeList = attribute.extractStringArray();
                    attributeList = Arrays.copyOf(allattributeList, attribute.getNbRead());
                } catch (Exception e) {
                    // TODO: handle exception
                }
            }
View Full Code Here

        final DeviceProxy proxy = CurrentScanDataModel.getDeviceProxy(scanServerDeviceName);
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(actuatorsName);
                return deviceAttribute.extractStringArray();
            }
            catch (final DevFailed e) {
                return null;
            }
        }
View Full Code Here

        if (TangoAttributeHelper.isAttributeRunning(scanServerDeviceName, actuatorsName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerDeviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(actuatorsName);
                    String[] allattributeList = attribute.extractStringArray();
                    attributeList = Arrays.copyOf(allattributeList, attribute.getNbRead());
                }
                catch (Exception e) {
                    // TODO: handle exception
                }
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.