Examples of read_attribute_asynch()


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

                            String nexusFileName = null;
                            long startSTMP = System.currentTimeMillis();
                            long durationTry = 0;
                            while ((durationTry < 5000) && ((nexusFileName == null) || nexusFileName.isEmpty())) {
                                //attribute = scanProxy.read_attribute(NEXUS_FILE);
                                int replyIdx = scanProxy.read_attribute_asynch(NEXUS_FILE);
                                attributes = scanProxy.read_attribute_reply(replyIdx);
                                if ((attributes != null) && (attributes.length > 0)) {
                                    nexusFileName = attributes[0].extractString();
                                    if(!nexusFileName.isEmpty()) {
                                        LOGGER.info("{}/{}={}", scanServerName, NEXUS_FILE, nexusFileName);
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.