Examples of extractDoubleArray()


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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, trajectoriesName)) {
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy.read_attribute(trajectoriesName);
                    double[] allValues = attribute.extractDoubleArray();
                    if (allValues != null && allValues.length > 0) {
                        double[] flatValues = Arrays.copyOf(new double[attribute.getNbRead()],
                                attribute.getNbRead());
                        int dimX = attribute.getDimX();
                        int dimY = attribute.getDimY();
View Full Code Here

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

            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (proxy != null) {
                try {
                    DeviceAttribute attribute = proxy
                            .read_attribute(CurrentScanDataModel.INTEGRATION_TIMES);
                    double[] allValues = attribute.extractDoubleArray();
                    if (allValues != null && allValues.length > 0) {
                        integrationTime = allValues[0];
                    }
                }
                catch (DevFailed e) {
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if ((values != null) && (values.length > 0)) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                } catch (DevFailed e) {
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                } catch (DevFailed e) {
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
View Full Code Here

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

        if (TangoAttributeHelper.isAttributeRunning(scanServerName, INTEGRATION_TIMES)) {
            DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
            if (deviceProxy != null) {
                try {
                    DeviceAttribute deviceAttribute = deviceProxy.read_attribute(INTEGRATION_TIMES);
                    double[] values = deviceAttribute.extractDoubleArray();
                    // System.out.println(Arrays.toString(values));
                    if (values != null && values.length > 0) {
                        integrationTime = Double.valueOf(values[0] * 1000).intValue();
                    }
                }
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.