Examples of read_attribute()


Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

    public IScanStatus getScanStatus(String scanServerName) throws SalsaDeviceException {
        try {

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = getScanServerProxy(scanServerName);
            DevState state = scanServerProxy.read_attribute("State").extractState();
            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            ScanStatusImpl result = new ScanStatusImpl();
            DeviceProxy scanServerProxy = getScanServerProxy(scanServerName);
            DevState state = scanServerProxy.read_attribute("State").extractState();
            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            DeviceProxy scanServerProxy = getScanServerProxy(scanServerName);
            DevState state = scanServerProxy.read_attribute("State").extractState();
            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

                    // Add Actuator list
                    if (TangoAttributeHelper.isAttributeRunning(deviceName, ACTUATORS_ATTRIBUTE)) {
                        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(deviceName);
                        try {
                            DeviceAttribute deviceAttribute = proxy.read_attribute(ACTUATORS_ATTRIBUTE);
                            String[] attributeList = deviceAttribute.extractStringArray();
                            IDimension dimension = config.getDimensionX();
                            if (dimension != null) {
                                List<IActuator> actuatorList = dimension.getActuatorsList();
                                // Check if the actuators are not already defined
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

                    // Add Sensor list
                    if (TangoAttributeHelper.isAttributeRunning(deviceName, SENSORS_ATTRIBUTE)) {
                        DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(deviceName);
                        try {
                            DeviceAttribute deviceAttribute = proxy.read_attribute(SENSORS_ATTRIBUTE);
                            String[] attributeList = deviceAttribute.extractStringArray();
                            List<ISensor> sensorList = config.getSensorsList();
                            String completeSensorName = null;
                            for (String sensorName : attributeList) {
                                completeSensorName = deviceName + "/" + sensorName;
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            result.setState("" + state.value());

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            result.setStatus(scanServerProxy.read_attribute("Status").extractString());
            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            result.setRunStartDate(scanServerProxy.read_attribute("runStartDate").extractString());
            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
            result.setRunRemainingTime(scanServerProxy.read_attribute("runRemainingTime")
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

            result
                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
            result.setRunRemainingTime(scanServerProxy.read_attribute("runRemainingTime")
                    .extractString());
View Full Code Here

Examples of fr.esrf.TangoApi.DeviceProxy.read_attribute()

                    .setScanStartDate(scanServerProxy.read_attribute("scanStartDate")
                            .extractString());
            result.setScanEndDate(scanServerProxy.read_attribute("scanEndDate").extractString());
            result.setRunEndDate(scanServerProxy.read_attribute("runEndDate").extractString());
            result.setScanDuration(scanServerProxy.read_attribute("scanDuration").extractString());
            result.setRunDuration(scanServerProxy.read_attribute("runDuration").extractString());
            result.setScanRemainingTime(scanServerProxy.read_attribute("scanRemainingTime")
                    .extractString());
            result.setRunRemainingTime(scanServerProxy.read_attribute("runRemainingTime")
                    .extractString());
            result.setScanElapsed(scanServerProxy.read_attribute("scanElapsed").extractString());
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.