for(int actuatorXIndex = 0; actuatorXIndex < actuatorsXNamesArray.length; ++actuatorXIndex) {
actuatorsXNamesArray[actuatorXIndex] = actuatorsXNamesArrayTmp[actuatorXIndex];
}
String[] actuatorsXValueKeysArray = scanServerProxy.read_attribute("actuatorsDataList").extractStringArray();
IActuator actuatorX;
String actuatorXValueKey;
double[] actuatorXValuesArray;
DeviceAttribute actuatorXValueAttribute;
for(int actuatorXIndex = 0;
actuatorXIndex < actuatorsXNamesArray.length && actuatorXIndex < actuatorsXValueKeysArray.length;
++actuatorXIndex) {
actuatorXName = actuatorsXNamesArray[actuatorXIndex];
actuatorX = new ActuatorImpl();
actuatorX.setName(actuatorXName);
actuatorX.setEnabled(true);
scanResult.getActuatorsXList().add(actuatorX);
actuatorXValueKey = actuatorsXValueKeysArray[actuatorXIndex];
actuatorXValueAttribute = scanServerProxy.read_attribute(actuatorXValueKey);
actuatorXValuesArray = AttributeHelper.extractToDoubleArray(actuatorXValueAttribute);
actuatorX.setScanServerAttributeName(scanServerProxy.get_name() + "/" + actuatorXValueKey);
pointIndex = 0;
for(double actuatorXValue : actuatorXValuesArray) {
// The reading can occur during the scan. Because of this, more values can have been added since
// scanPointsList was initialized. Hence the test scanPointsList.size() > pointIndex.