Examples of extractString()


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

        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) {
              TechnicalDataMessageManager.notifyReadAttributeErrorDetected(m_strDataRecorderPath, TECHNICAL_DATA_DEVICE_ATTR,exception);
            }

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

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

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

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

                    scanResult.setResultType(IScanResult.ResultType.RESULT_1D);

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

                    IScanPoint scanPoint;
                    List<IScanPoint> scanPointsList = new ArrayList<IScanPoint>();
View Full Code Here

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

        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

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

            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

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

        if (type == 1) { // Boolean
          send("read", attr.extractBoolean());
        } else if (type >= 2 && type <= 7) { // Number
          send("read", attr.extractDouble());
        } else if (type == 8) { // String
          send("read", attr.extractString());
        }

      } else {
        send("read", attr.extractString());
      }
View Full Code Here

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

        } else if (type == 8) { // String
          send("read", attr.extractString());
        }

      } else {
        send("read", attr.extractString());
      }

      /*
       * if(type == 1) { //Boolean send("read",attr.extractBoolean());
       * }if(type == 2) { //Short send("read",attr.extractShort());
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()

        String date = null;
        final DeviceProxy proxy = getDeviceProxy(aScanServerDeviceName);
        if (proxy != null) {
            try {
                DeviceAttribute deviceAttribute = proxy.read_attribute(START_SCAN_DATE);
                date = deviceAttribute.extractString();
            }
            catch (final DevFailed e) {
                return null;
            }
        }
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.