+ attributeName);
if (tangoAttribute != null) {
int format = TangoAttributeHelper.getAttributeType(scanServerDeviceName,
attributeName);
if (format == TangoConstHelper.SCALAR_TYPE) {
return tangoAttribute.extract(double.class);
}
else if (format == TangoConstHelper.IMAGE_TYPE
|| format == TangoConstHelper.ARRAY_TYPE) {
double[] values = (double[]) tangoAttribute.extractArray(double.class);
if (values != null && index < values.length) {