added the command write_data in the DSG. the data type enum now contains the size of each type and the minimum and maximum values allowed for each type