![]() |
BioImager
3.9.1
A .NET microscopy imaging library. Supports various microscopes by using imported libraries & GUI automation. Supported libraries include PriorĀ® & ZeissĀ® & all devices supported by Micromanager 2.0 and python-microscope.
|
Public Member Functions | |
| None | __init__ (self, _ZaberConnection conn, int device_address) |
| _ZaberReply | command (self, bytes command, int axis=0) |
| bool | is_busy (self) |
| None | wait_until_idle (self, float timeout=10.0) |
| int | get_number_axes (self) |
| bool | been_homed (self, int axis=0) |
| None | home (self, int axis=0) |
| int | get_rotation_length (self, int axis) |
| int | get_index_distance (self, int axis) |
| int | get_current_index (self, int axis) |
| None | move_to_index (self, int axis, int index) |
| None | move_to_absolute_position (self, int axis, int position) |
| None | move_by_relative_position (self, int axis, int position) |
| int | get_absolute_position (self, int axis) |
| int | get_limit_max (self, int axis) |
| int | get_limit_min (self, int axis) |
| None | lamp_off (self, int channel) |
| None | lamp_on (self, int channel) |
| float | get_lamp_max_flux (self, int channel) |
| float | get_lamp_flux (self, int channel) |
| None | set_lamp_flux (self, int channel, float flux) |
| bool | get_lamp_is_on (self, int channel) |
| float | get_lamp_temperature (self, int channel) |
A Zaber connection to control a single device.
This class provides a Python interface to the Zaber commands. It
also does the routing of commands to the correct device in the
chain.
Args:
conn: the :class:`_ZaberConnection` instance for this device.
device_address: the device address for the specific device.
This is the number used at the start of all Zaber
commands.
| None microscope.controllers.zaber._ZaberDeviceConnection.__init__ | ( | self, | |
| _ZaberConnection | conn, | ||
| int | device_address | ||
| ) |
| bool microscope.controllers.zaber._ZaberDeviceConnection.been_homed | ( | self, | |
| int | axis = 0 |
||
| ) |
True if all axes, or selected axis, has been homed.
Definition at line 231 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| _ZaberReply microscope.controllers.zaber._ZaberDeviceConnection.command | ( | self, | |
| bytes | command, | ||
| int | axis = 0 |
||
| ) |
Send command and return reply.
Args:
command: a bytes array with the command and its
parameters.
axis: the axis number to send the command. If zero, the
command is executed by all axis in the device.
Definition at line 189 of file zaber.py.
References microscope.controllers.zaber._ZaberDeviceConnection._address_bytes, microscope.controllers.coolled._CoolLEDChannelConnection._conn, microscope.controllers.coolled._CoolLEDChannel._conn, microscope.controllers.lumencor._LightChannelConnection._conn, microscope.controllers.lumencor._SpectraIIILightChannel._conn, microscope.controllers.prior.ProScanIII._conn, microscope.controllers.prior._ProScanIIIFilterWheel._conn, microscope.controllers.toptica._iChromeLaserConnection._conn, microscope.controllers.toptica._iChromeLaser._conn, microscope.controllers.zaber._ZaberDeviceConnection._conn, microscope.controllers.zaber.ZaberDaisyChain._conn, microscope.lights.toptica.TopticaiBeam._conn, microscope.stages.ludl.ludlMC2000._conn, microscope.controllers.zaber._ZaberDeviceConnection._validate_reply(), microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
Referenced by microscope.controllers.zaber._ZaberDeviceConnection.been_homed(), microscope.controllers.zaber._ZaberDeviceConnection.command(), microscope.controllers.zaber._ZaberDeviceConnection.get_absolute_position(), microscope.controllers.prior._ProScanIIIConnection.get_command(), microscope.stages.ludl._LudlController.get_command(), microscope.controllers.zaber._ZaberDeviceConnection.get_current_index(), microscope.controllers.prior._ProScanIIIConnection.get_description(), microscope.stages.ludl._LudlController.get_description(), microscope.controllers.zaber._ZaberDeviceConnection.get_index_distance(), microscope.controllers.zaber._ZaberDeviceConnection.get_limit_max(), microscope.controllers.zaber._ZaberDeviceConnection.get_limit_min(), microscope.controllers.zaber._ZaberDeviceConnection.get_number_axes(), microscope.controllers.zaber._ZaberDeviceConnection.get_rotation_length(), microscope.controllers.zaber._ZaberDeviceConnection.home(), microscope.lights.toptica._iBeamConnection.laser_off(), microscope.lights.toptica._iBeamConnection.laser_on(), microscope.lights.toptica._iBeamConnection.set_normal_channel_power(), microscope.lights.toptica._iBeamConnection.show_power_uW(), and microscope.lights.toptica._iBeamConnection.status_laser().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_absolute_position | ( | self, | |
| int | axis | ||
| ) |
Current absolute position of an axis, in microsteps.
Definition at line 265 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_current_index | ( | self, | |
| int | axis | ||
| ) |
The current index number or zero if between index positions.
Definition at line 252 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_index_distance | ( | self, | |
| int | axis | ||
| ) |
The distance between consecutive index positions.
Definition at line 248 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_flux | ( | self, | |
| int | channel | ||
| ) |
| bool microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_is_on | ( | self, | |
| int | channel | ||
| ) |
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_max_flux | ( | self, | |
| int | channel | ||
| ) |
| float microscope.controllers.zaber._ZaberDeviceConnection.get_lamp_temperature | ( | self, | |
| int | channel | ||
| ) |
| int microscope.controllers.zaber._ZaberDeviceConnection.get_limit_max | ( | self, | |
| int | axis | ||
| ) |
The maximum position the device can move to, in microsteps.
Definition at line 269 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_limit_min | ( | self, | |
| int | axis | ||
| ) |
The minimum position the device can move to, in microsteps.
Definition at line 273 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_number_axes | ( | self | ) |
Reports the number of axes in the device.
Definition at line 227 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| int microscope.controllers.zaber._ZaberDeviceConnection.get_rotation_length | ( | self, | |
| int | axis | ||
| ) |
Number of microsteps needed to complete one full rotation. This is only valid on controllers and rotary devices including filter wheels and filter cube turrets.
Definition at line 240 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| None microscope.controllers.zaber._ZaberDeviceConnection.home | ( | self, | |
| int | axis = 0 |
||
| ) |
Move the axis to the home position.
Definition at line 236 of file zaber.py.
References microscope.controllers.prior._ProScanIIIConnection.command(), microscope.lights.toptica._iBeamConnection.command(), microscope.stages.ludl._LudlController.command(), and microscope.controllers.zaber._ZaberDeviceConnection.command().
| bool microscope.controllers.zaber._ZaberDeviceConnection.is_busy | ( | self | ) |
Definition at line 209 of file zaber.py.
Referenced by microscope.controllers.zaber._ZaberDeviceConnection.wait_until_idle().
| None microscope.controllers.zaber._ZaberDeviceConnection.lamp_off | ( | self, | |
| int | channel | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.lamp_on | ( | self, | |
| int | channel | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_by_relative_position | ( | self, | |
| int | axis, | ||
| int | position | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_to_absolute_position | ( | self, | |
| int | axis, | ||
| int | position | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.move_to_index | ( | self, | |
| int | axis, | ||
| int | index | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.set_lamp_flux | ( | self, | |
| int | channel, | ||
| float | flux | ||
| ) |
| None microscope.controllers.zaber._ZaberDeviceConnection.wait_until_idle | ( | self, | |
| float | timeout = 10.0 |
||
| ) |
Wait, or error, until device is idle. A device is busy if *any* of its axis is busy.
Definition at line 212 of file zaber.py.
References microscope.controllers.zaber._ZaberDeviceConnection.is_busy(), and microscope.stages.ludl._LudlController.is_busy().