//this counter is used to track serial port initialization errors
int errorCounter=0;
this.rainbowduinoV3Devices = new RainbowduinoV3[devices.size()];
GammaTable gammaTable = new GammaTable();
// construct RainbowduinoV3 instances
for (int i = 0; i < devices.size(); i++) {
LOG.log(Level.INFO, "Try to open serial port "+devices.get(i));
this.rainbowduinoV3Devices[i] = new RainbowduinoV3(devices.get(i), gammaTable);
if (!this.rainbowduinoV3Devices[i].isInitialized()) {