SDK¤
SDK
(Interface)
¤
SDK(
equipment: Equipment,
*,
libtype: LibType | None = None,
path: PathLike | None = None,
**kwargs: Any
)
Base class for equipment that use the manufacturer's Software Development Kit (SDK).
You can use the configuration file to add the directory that the SDK
is located at to the PATH environment variable.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
equipment
|
Equipment
|
An Equipment instance. |
required |
libtype
|
LibType | None
|
The library type. See LoadLibrary for more details. |
None
|
path
|
PathLike | None
|
The path to the SDK. Specifying this value will take precedence over the address value. |
None
|
kwargs
|
Any
|
All additional keyword arguments are passed to LoadLibrary. |
{}
|
Source code in src/msl/equipment/interfaces/sdk.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |
application
property
¤
application: Application | None
Application | None — Reference to the ActiveX application window.
If the loaded library is not an ActiveX library, returns None.
disconnect
¤
disconnect() -> None
Cleanup references to the SDK library.
Source code in src/msl/equipment/interfaces/sdk.py
60 61 62 63 64 65 | |