API Reference v9.2.0
Microscopeclass
Module: ZaberMotionMicroscopy
Represent a microscope. Parts of the microscope may or may not be instantiated depending on the configuration.
Requires at least Firmware 7.34.
The following example illustrates how you can obtain an instance of this type:
import ZaberMotionAscii
import ZaberMotionMicroscopy
let connection = try await Connection.openSerialPort(portName: "COM3")
let microscope = try await Microscope.find(connection: connection)Related Guides:
Index
pProperties
Constructor
try Microscope(connection, config)throwsCreates instance of `Microscope` from the given config. Parts are instantiated depending on device addresses in the config.
Arguments
| Name | Type | Description |
|---|---|---|
| connection | Connection | Connection of the microscope. |
| config | MicroscopeConfig | The configuration. The parts of the microscope are instantiated depending on the specified data. |
Properties
p
p
p
p
p
p
p
p
microscope.plateAxisGroup? Axis group consisting of X and Y axes representing the plate of the microscope.p
p
Methods
s
try await Microscope.find(connection, thirdPartyComponents = nil)Finds a microscope on a connection.
Arguments
| Name | Type | Description |
|---|---|---|
| connection | Connection | Connection on which to detect the microscope. |
| thirdPartyComponents | ThirdPartyComponents? | Third party components of the microscope that cannot be found on the connection. |
Return Value
Microscope New instance of microscope.m
m