Package fr.esrf.TangoApi

Examples of fr.esrf.TangoApi.AttributeInfo


     * @param device
     * @throws SalsaDeviceException
     */
    public static String getFormat(IDevice device) throws SalsaDeviceException {
        String format = null;
        AttributeInfo info = getAttributeInfo(device);
        if (info != null) {
            format = info.format;
        }
        return format;
    }
View Full Code Here


     * @param device
     * @return
     * @throws SalsaDeviceException
     */
    private static AttributeInfo getAttributeInfo(IDevice device) throws SalsaDeviceException {
        AttributeInfo attributeInfo = null;
        AttributeProxy attributeProxy = getAttributeProxy(device);
        if (attributeProxy != null) {
            try {
                attributeInfo = attributeProxy.get_info();
            } catch (Exception e) {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if (attributeInfo != null && attributeInfo.display_unit != "1000") {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                    if (proxy != null) {
                        try {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if ((attributeInfo != null) && (attributeInfo.display_unit != "1000")) {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                    if (proxy != null) {
                        try {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if ((attributeInfo != null) && (attributeInfo.display_unit != "1000")) {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                    if (proxy != null) {
                        try {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if ((attributeInfo != null) && (attributeInfo.display_unit != "1000")) {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                    if (proxy != null) {
                        try {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if ((attributeInfo != null) && (attributeInfo.display_unit != "1000")) {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName, false);
                    if (proxy != null) {
                        try {
View Full Code Here

            }
            // TODO write Display Unit properties because it is not done
            // Set 1000 to convert the value in ms
            else {
                TangoAttributeHelper.isAttributeRunning(scanServerName, attributeName);
                AttributeInfo attributeInfo = TangoAttributeHelper.getAttributeInfo(scanServerName, attributeName);
                if ((attributeInfo != null) && (attributeInfo.display_unit != "1000")) {
                    attributeInfo.display_unit = "1000";
                    DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
                    if (proxy != null) {
                        try {
View Full Code Here

TOP

Related Classes of fr.esrf.TangoApi.AttributeInfo

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.