Examples of readSpecOrImage()


Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

                    rawData = AttributeHelper.extractToDoubleArray(attribute.getDeviceAttribute());
                    int xDim = attribute.getDeviceAttribute().getDimX();
                    int yDim = attribute.getDeviceAttribute().getDimY();
                    Double[][] readImageData;
                    Double[][] writeImageData;
                    Double[] writtenImage = tangoAttribute.readSpecOrImage(Double.class);
                    int yOffset;
                    if (readable) {
                        readImageData = new Double[yDim][xDim];
                        if (writeable) {
                            writeImageData = new Double[yDim][xDim];
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

                    }

                    if (writeable) {
                        writeSpectrumData = new Double[spectrumLength];
                        for (int index = 0; index < spectrumLength; ++index) {
                            writeSpectrumData = tangoAttribute.readSpecOrImage(Double.class);

                        }

                    }
                    report.setReadScalarData(null);
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

                    rawData = AttributeHelper.extractToDoubleArray(attribute);
                    int xDim = attribute.getDimX();
                    int yDim = attribute.getDimY();
                    Double[][] readImageData;
                    Double[][] writeImageData;
                    Double[] writtenImage = tangoAttribute.readSpecOrImage(Double.class);
                    int yOffset;
                    if (readable) {
                        readImageData = new Double[yDim][xDim];
                        if (writeable) {
                            writeImageData = new Double[yDim][xDim];
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

            tangoAttribute = m_tangoAttribute.get(attributeName);
        }

        if (tangoAttribute != null) {
            try {
                return tangoAttribute.readSpecOrImage(String.class);
            }
            catch (DevFailed e) {
                return null;
            }
        }
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

                    }

                    if (writeable) {
                        writeSpectrumData = new Double[spectrumLength];
                        for (int index = 0; index < spectrumLength; ++index) {
                            writeSpectrumData = tangoAttribute.readSpecOrImage(Double.class);

                        }

                    }
                    report.setReadScalarData(null);
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

                    rawData = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int xDim = attribute.getDeviceAttribute().getDimX();
                    int yDim = attribute.getDeviceAttribute().getDimY();
                    Double[][] readImageData;
                    Double[][] writeImageData;
                    Double[] writtenImage = tangoAttribute.readSpecOrImage(Double.class);
                    int yOffset;
                    if (readable) {
                        readImageData = new Double[yDim][xDim];
                        if (writeable) {
                            writeImageData = new Double[yDim][xDim];
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

    public List<HistoricRecord> getHistoric(String scanServerName) throws SalsaDeviceException {
        TangoAttribute historicAttribute;
        String historicStringArray[];
        try {
            historicAttribute = new TangoAttribute(scanServerName + "/historic");
            historicStringArray = historicAttribute.readSpecOrImage(String.class);
        }
        catch (DevFailed e) {
            invalidateScanServerProxy(scanServerName);
            e.printStackTrace();
            throw new SalsaDeviceException("Error : cannot read the historic : " + e.getMessage(),
View Full Code Here

Examples of fr.soleil.tango.clientapi.TangoAttribute.readSpecOrImage()

            return null;
        }

        try {
            TangoAttribute tangoAttribute = new TangoAttribute(attributeName);
            return tangoAttribute.readSpecOrImage(String.class);
        }
        catch (DevFailed e) {
        }

        // TangoAttribute tangoAttribute = null;
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.