scan.setType(IConfig.ScanType.SCAN_2D);
} else if (type.equals("ConfigHCSImpl") || type.equals("ConfigHCS")) {
scan = new ConfigHCSImpl();
scan.setType(IConfig.ScanType.SCAN_HCS);
} else if (type.equals("ConfigKImpl") || type.equals("ConfigK")) {
scan = new ConfigKImpl();
scan.setType(IConfig.ScanType.SCAN_K);
} else if (type.equals("ConfigEnergyImpl") || type.equals("ConfigEnergy")) {
scan = new ConfigEnergyImpl();
scan.setType(IConfig.ScanType.SCAN_ENERGY);
}