if (TangoAttributeHelper.isAttributeRunning(scanServerName, trajectoriesName)) {
DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(scanServerName);
if (proxy != null) {
try {
DeviceAttribute attribute = proxy.read_attribute(trajectoriesName);
double[] allValues = attribute.extractDoubleArray();
if (allValues != null && allValues.length > 0) {
double[] flatValues = Arrays.copyOf(new double[attribute.getNbRead()],
attribute.getNbRead());
int dimX = attribute.getDimX();
int dimY = attribute.getDimY();