piec.drivers.instrument
This is the top level instrument that dictates if something is scpi, dac, arduino, etc.
This class now includes the AutoCheckMeta framework for automatic parameter validation and state tracking.
Functions
|
Decorator to automatically call self._check_params on a method if the instance's check_params flag is True. |
|
|
|
|
|
|
|
|
|
Robustly checks if a value is in a list, handling strings, integers, and floats. |
|
|
|
Marks a base-class method as optional. |
|
Classes
|
Metaclass to apply the auto_check_params decorator to all public methods of a class (those not starting with '_'). |
|
All an instrument is required to have is an address! This is the top-level class that provides connection management and the automatic parameter-checking framework. |
|
This class replaces the resource manager object in the virtual case, just needs to replace the .write() and .query() methods |