pyrolab.drivers.motion.max31x.MAX31X#
- class MAX31X[source]#
Bases:
BPC303A 3-Axis NanoMax stage controlled by a BPC303 piezo controller.
Assumes that the following physical mappings of the devices are true:
Axis
Channel
x
1
y
2
z
3
Sets a default home position at the halfway point of the full travel for each channel.
Notes
This class inherits from
pyrolab.drivers.motion.kinesis.bpc303.BPC303. Therefore, all public methods available to that class are available here. Note that the functions position and voltage should not be used, but rather move from this class.- Attributes:
- X_MAXint
Maximum travel for the first channel (nm)
- Y_MAXint
Maximum travel for the second channel (nm)
- Z_MAXint
Maximum travel for the third channel (nm)
Methods
Autoconnect to an instrument using internally stored parameters.
Checks connection of the device.
close()Disconnects and closes the device, releasing the resource.
connect([serialno, poll_period, ...])Connect to the device.
Detect all KCube DC Servo devices connected to the computer.
disable_channel([channel])Disables communication for a specific channel (or all).
enable_channel([channel])Enables communication for a specific channel (or all).
get_position([channel])Gets the current position of the requested channel, as measured by the device.
get_position_control_mode(channel)Gets the position control mode of the device.
get_position_microns(channel)Returns the position of the requested channel in microns.
identify(channel)Asks some channel of a device to identify itself.
jog(channel, step)Jog a channel's position by some step value in micrometers.
move(channel, position)Set the postion of a certain axis to the given position (nm).
move_all(x, y, z)Move all three channels simultaneously.
ping()Returns a bool (True) to indicate that the Daemon is alive and can be communicated with.
position(channel[, percent])Sets the position of the requested channel when in closed loop mode.
Return the version of PyroLab running the device.
set_behavior([instance_mode, instance_creator])Sets the Pyro5 behavior for the class (modified in place).
set_position_control_mode([channel, ...])Sets position control mode of the device.
set_position_microns(channel, position_microns)Sets the position of the requested channel in microns.
voltage(channel[, percent])Sets the output voltage of the requested channel.
zero([channel, block])Zeroes a channel (or all).