ebilab.experiment.devices.visa package
Utility and base class related to visa
This library depends on pyvisa for VISA control.
- class ebilab.experiment.devices.visa.VisaDevice(*, addr: str | None = None, **kwargs: Any)[ソース]
ベースクラス:
objectBase class of visa device.
You can inherit this class and implement class to new device.
- pyvisa_inst
instance from ResourceManager.open_resource of pyvisa module Please use this only when you use method which is not supported in VisaDevice class
- Type:
Any
- pyvisa_inst: Any
- class ebilab.experiment.devices.visa.VisaManager[ソース]
ベースクラス:
objectManager class of visa device based on pyvisa module
Do not intialize directory, use
get_visa_manager()method instead.- get_inst(pattern: str) Any | None[ソース]
Get pyvisa instance from pattern that matches *IDN? result.
- パラメータ:
pattern (str) -- regex pattern
- 戻り値:
pyvisa Resource
- property rm: ResourceManager | None
ResourceManager of pyvisa module
- ebilab.experiment.devices.visa.get_visa_manager() VisaManager[ソース]
Function to get
VisaManagerclass. Many times of call of this function returns same VisaManager.- 戻り値:
VisaManager class