Package fr.esrf.TangoApi

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


                        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


                        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

                        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

                            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

                            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

                            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

                        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

                        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

                            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

                // "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
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.