def get_parameter(self, name):
default_value = "<STR_LIT>"<EOL>value = self.lib.tdGetDeviceParameter(self.id, name, default_value)<EOL>if value == default_value:<EOL><INDENT>raise AttributeError(name)<EOL><DEDENT>return value<EOL>
Get a parameter.