diff --git a/pandablocks/utils.py b/pandablocks/utils.py index a5955c495..7f9b46107 100644 --- a/pandablocks/utils.py +++ b/pandablocks/utils.py @@ -64,7 +64,7 @@ def words_to_table( assert field_info.labels, f"Enum field {field_name} has no labels" packing_value = [field_info.labels[x] for x in value] else: - packing_value = value.astype(np.uint32) + packing_value = value unpacked.update({field_name: packing_value})