Examples of DoubleMatrix


Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                    TangoAttribute tangoAttribute = new TangoAttribute(scanServerDeviceName + "/" + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                } catch (DevFailed e) {
                    e.printStackTrace();
                } catch (UnsupportedDataTypeException e) {
                    e.printStackTrace();
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                            + attributeName);
                    double[] doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if (doubleValues != null && x < dimX && y < dimY) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                }
                catch (DevFailed e) {
                    e.printStackTrace();
                }
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                    TangoAttribute tangoAttribute = new TangoAttribute(scanServerDeviceName + "/" + attributeName);
                    doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if ((doubleValues != null) && (x < dimX) && (y < dimY)) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                } catch (DevFailed e) {
                    LOGGER.error("Cannot read {}/{} {}", scanServerDeviceName, attributeName,
                            DevFailedUtils.toString(e));
                    LOGGER.debug("Stack trace", e);
View Full Code Here

Examples of fr.soleil.data.container.matrix.DoubleMatrix

                    TangoAttribute tangoAttribute = new TangoAttribute(scanServerDeviceName + "/" + attributeName);
                    doubleValues = (double[]) tangoAttribute.readArray(Double.TYPE);
                    int dimX = tangoAttribute.getDimX();
                    int dimY = tangoAttribute.getDimY();
                    if ((doubleValues != null) && (x < dimX) && (y < dimY)) {
                        DoubleMatrix matrix = new DoubleMatrix();
                        matrix.setFlatValue(doubleValues, dimY, dimX);
                        value = matrix.getValueAt(y, x);
                    }
                } catch (DevFailed e) {
                    LOGGER.error("Cannot read {}/{} {}", scanServerDeviceName, attributeName,
                            DevFailedUtils.toString(e));
                    LOGGER.debug("Stack trace", e);
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.