diff --git a/src/fprime_gds/common/loaders/xml_loader.py b/src/fprime_gds/common/loaders/xml_loader.py index 8a2d612e..397c48e4 100644 --- a/src/fprime_gds/common/loaders/xml_loader.py +++ b/src/fprime_gds/common/loaders/xml_loader.py @@ -261,7 +261,11 @@ def get_serializable_type(self, type_name, xml_obj): type_obj = self.parse_type(memb_type_name, memb, xml_obj) # memb_size is not None for member array if(memb_size is not None): - type_obj = ArrayType.construct_type("Array_"+type_name, type_obj, int(memb_size), fmt_str) + type_obj = ArrayType.construct_type( + f"Array_{type_obj.__name__}_{memb_size}", + type_obj, + int(memb_size), + fmt_str) members.append((name, type_obj, fmt_str, desc))