Package fr.esrf.TangoApi

Examples of fr.esrf.TangoApi.DbDatum


                            }
                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                    .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here


                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                    .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

                            if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
View Full Code Here

                    DeviceAttribute attribute = scanProxy.read_attribute("dataRecorded");
                    if (attribute.extractBoolean()) {
                        String dataRecorderDeviceName = "storage/recorder/datarecorder.1";
                        Database database = TangoDeviceHelper.getDatabase();
                        if (database != null) {
                            DbDatum dbDatum = database.get_device_property(scanServerName,
                                    "DataRecorder");
                            if (dbDatum != null) {
                                dataRecorderDeviceName = dbDatum.extractString();
                            }

                            if (dataRecorderDeviceName != null && !dataRecorderDeviceName.isEmpty()) {
                                TangoAttribute tangoAttribute = new TangoAttribute(
                                        dataRecorderDeviceName + "/targetDirectory");
View Full Code Here

                            }
                            nexusFileNameMap.put(scanServerName.toLowerCase(), nexusFileName);
                            String dataRecorderDeviceName = DEFAULT_RECORDER;
                            Database database = TangoDeviceHelper.getDatabase();
                            if (database != null) {
                                DbDatum dbDatum = database.get_device_property(scanServerName, DATA_RECORDER);
                                if (dbDatum != null) {
                                    dataRecorderDeviceName = dbDatum.extractString();
                                }

                                if (TangoDeviceHelper.isDeviceRunning(dataRecorderDeviceName)) {
                                    DeviceProxy dataRecorderProxy = TangoDeviceHelper
                                    .getDeviceProxy(dataRecorderDeviceName);
View Full Code Here

            if ("Publisher".equals(deviceTypeName) || "FacadeDevice".equals(deviceTypeName)) {
                // "FacadeDevice" and "Publisher" are used for tests. Maybe someone wants to
                // simulate an MCA device to test the application. Let's check it.
                String deviceType = deviceTypeName;
                try {
                    DbDatum property = device.get_property("DeviceType");
                    deviceTypeName = property.extractString();
                }
                catch (DevFailed df) {
                    // Simply ignore this case: The test device is not configured for this
                    // application.
                    deviceTypeName = deviceType;
View Full Code Here

            if ("Publisher".equals(deviceTypeName) || "FacadeDevice".equals(deviceTypeName)) {
                // "FacadeDevice" and "Publisher" are used for tests. Maybe someone wants to
                // simulate an MCA device to test the application. Let's check it.
                String deviceType = deviceTypeName;
                try {
                    DbDatum property = device.get_property("DeviceType");
                    deviceTypeName = property.extractString();
                } catch (DevFailed df) {
                    // Simply ignore this case: The test device is not configured for this
                    // application.
                    deviceTypeName = deviceType;
                }
View Full Code Here

            if ("Publisher".equals(deviceTypeName) || "FacadeDevice".equals(deviceTypeName)) {
                // "FacadeDevice" and "Publisher" are used for tests. Maybe someone wants to
                // simulate an MCA device to test the application. Let's check it.
                String deviceType = deviceTypeName;
                try {
                    DbDatum property = device.get_property("DeviceType");
                    deviceTypeName = property.extractString();
                } catch (DevFailed df) {
                    // Simply ignore this case: The test device is not configured for this
                    // application.
                    deviceTypeName = deviceType;
                }
View Full Code Here

            if ("Publisher".equals(deviceTypeName) || "FacadeDevice".equals(deviceTypeName)) {
                // "FacadeDevice" and "Publisher" are used for tests. Maybe someone wants to
                // simulate an MCA device to test the application. Let's check it.
                String deviceType = deviceTypeName;
                try {
                    DbDatum property = device.get_property("DeviceType");
                    deviceTypeName = property.extractString();
                }
                catch (DevFailed df) {
                    // Simply ignore this case: The test device is not configured for this
                    // application.
                    deviceTypeName = deviceType;
View Full Code Here

            if ("Publisher".equals(deviceTypeName) || "FacadeDevice".equals(deviceTypeName)) {
                // "FacadeDevice" and "Publisher" are used for tests. Maybe someone wants to
                // simulate an MCA device to test the application. Let's check it.
                String deviceType = deviceTypeName;
                try {
                    DbDatum property = device.get_property("DeviceType");
                    deviceTypeName = property.extractString();
                }
                catch (DevFailed df) {
                    // Simply ignore this case: The test device is not configured for this
                    // application.
                    deviceTypeName = deviceType;
View Full Code Here

TOP

Related Classes of fr.esrf.TangoApi.DbDatum

Copyright © 2018 www.massapicom. 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.