pythonSoftIOC icon indicating copy to clipboard operation
pythonSoftIOC copied to clipboard

Provide mechanism to get record type

Open AlexanderWells-diamond opened this issue 4 years ago • 0 comments

It would be convenient to have some method on a RecordWrapper that allows retrieving the record's type. For example, a get_type() record might return a string ao, to say that this record is an Analog Out type, or bi for Boolean In, etc.

This would allow users to query RecordWrapper instances dynamically to know what keyword arguments set() allows, for example.

AlexanderWells-diamond avatar Oct 13 '21 07:10 AlexanderWells-diamond