Package fr.esrf.TangoApi

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


        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(EXPERIMENTAL_FRAME_DEVICE_ATTR);
                experimentalFrameDeviceName = deviceAttribute.extractString();
                deviceAttribute = proxy.read_attribute(AUTH_SERVER_DEVICE_ATTR);
                authServerDeviceName = deviceAttribute.extractString();
            } catch (DevFailed exception) {
                exception.printStackTrace();
            }
        }
View Full Code Here


        // read the associated devices attributes from DataRecorder device
        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(dataRecorderPath);
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(TECHNICAL_DATA_DEVICE_ATTR);
                technicalDataPath = deviceAttribute.extractString();
            } catch (DevFailed exception) {
                exception.printStackTrace();
            }
        }
View Full Code Here

            // 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) {
                    exception.printStackTrace();
                }
            }
View Full Code Here

            // 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) {
                    exception.printStackTrace();
                }
            }
View Full Code Here

        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("configList");
                configList = deviceAttribute.extractString();
            }
            catch (DevFailed exception) {
                exception.printStackTrace();
            }
        }
View Full Code Here

        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(m_strDataRecorderPath);
        if (proxy != null) {
            String strPathTechnicalData = null;
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(TECHNICAL_DATA_DEVICE_ATTR);
                strPathTechnicalData = deviceAttribute.extractString();
            } catch (DevFailed exception) {
                exception.printStackTrace();
            }

            // Set path to pnl, pnlConfig & scrollpane which contains treetable
View Full Code Here

        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(m_strDataRecorderPath);
        if (proxy != null) {
            String strPathTechnicalData = null;
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(TECHNICAL_DATA_DEVICE_ATTR);
                strPathTechnicalData = deviceAttribute.extractString();
            } catch (DevFailed exception) {
                exception.printStackTrace();
            }

            // Set path to pnl, pnlConfig & scrollpane which contains treetable
View Full Code Here

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

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

            } catch (DevFailed exception) {
              AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "externalName",exception);
            }
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute("inHouseName");
                strIntProjDir = deviceAttribute.extractString();
                if (strIntProjDir == null) {
                    strIntProjDir = "";
                }
            } catch (DevFailed exception) {
              AuthServerMessageManager.notifyReadAttributeErrorDetected(m_strAuthPath, "inHouseName",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.