Examples of extractString()


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

                    scanResult.setResultType(IScanResult.ResultType.RESULT_1D);

                    // Name.
                    DeviceAttribute runNameAttribute = scanServerProxy.read_attribute("runName");
                    String runName = runNameAttribute.extractString();
                    scanResult.setRunName(runName);

                    // Time
                    double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps")
                            .extractDoubleArray();
View Full Code Here

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

                    scanResult.setResultType(IScanResult.ResultType.RESULT_1D);

                    // Name.
                    DeviceAttribute runNameAttribute = scanServerProxy.read_attribute("runName");
                    String runName = runNameAttribute.extractString();
                    scanResult.setRunName(runName);

                    // Time
                    double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps")
                            .extractDoubleArray();
View Full Code Here

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

                scanResult = new ScanResult2DImpl();
                scanResult.setResultType(IScanResult.ResultType.RESULT_2D);

                // Name.
                DeviceAttribute runNameAttribute = scanServerProxy.read_attribute("runName");
                String runName = runNameAttribute.extractString();
                scanResult.setRunName(runName);

                // Building empty matrix.
                DeviceAttribute sensorsTimeStampsAttribute = scanServerProxy
                        .read_attribute("sensorsTimeStamps");
View Full Code Here

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

                scanResult = new ScanResult1DImpl();
                scanResult.setResultType(IScanResult.ResultType.RESULT_1D);
               
                // Name.
                DeviceAttribute runNameAttribute = scanServerProxy.read_attribute("runName");
                String runName = runNameAttribute.extractString();
                scanResult.setRunName(runName);
               
                // Time
                double[] timesArray = scanServerProxy.read_attribute("sensorsTimeStamps").extractDoubleArray();
                List<IScanPoint> scanPointsList = new ArrayList<IScanPoint>(timesArray.length);
View Full Code Here

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

                if (config == null && TangoDeviceHelper.isDeviceRunning(scanserver)) {
                    DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanserver);
                    if (deviceProxy != null) {
                        try {
                            DeviceAttribute attribute = deviceProxy.read_attribute("runName");
                            logScan = attribute.extractString();
                        }
                        catch (DevFailed e) {
                        }
                    }
                }
View Full Code Here

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

                if (config == null && TangoDeviceHelper.isDeviceRunning(scanserver)) {
                    DeviceProxy deviceProxy = TangoDeviceHelper.getDeviceProxy(scanserver);
                    if (deviceProxy != null) {
                        try {
                            DeviceAttribute attribute = deviceProxy.read_attribute("runName");
                            logScan = attribute.extractString();
                        }
                        catch (DevFailed e) {
                        }
                    }
                }
View Full Code Here

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

            // read the auth server attribute from DataRecorder device
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(deviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(AUTH_SERVER_DEVICE_ATTR);
                    authServerDeviceName = deviceAttribute.extractString();
                } catch (DevFailed exception) {
                  AuthServerMessageManager.notifyReadAttributeErrorDetected(deviceName, AUTH_SERVER_DEVICE_ATTR,exception);
                }
            }
View Full Code Here

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

        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(m_strAuthPath);
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("dirAccessRights");
                strDirAccess = deviceAttribute.extractString();
                if (strDirAccess == null) {
                    strDirAccess = "";
                }
            } catch (DevFailed exception) {
               AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath,"dirAccessRights",exception);
View Full Code Here

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

            } catch (DevFailed exception) {
               AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath,"dirAccessRights",exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("fileAccessRights");
                strFileAccess = deviceAttribute.extractString();
                if (strFileAccess == null) {
                    strFileAccess = "";
                }
            } catch (DevFailed exception) {
              AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath,"fileAccessRights",exception);
View Full Code Here

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

            // read the auth server attribute from DataRecorder device
            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(deviceName);
            if (proxy != null) {
                try {
                    DeviceAttribute deviceAttribute = proxy.read_attribute(AUTH_SERVER_DEVICE_ATTR);
                    authServerDeviceName = deviceAttribute.extractString();
                } catch (DevFailed exception) {
                  AuthServerMessageManager.notifyReadAttributeErrorDetected(deviceName, AUTH_SERVER_DEVICE_ATTR,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.