Skip to content

Commit dfa8f4a

Browse files
author
Itom Build Server
committed
Updated Plugins for Release v4.3.0
1 parent 9aaf0b3 commit dfa8f4a

File tree

164 files changed

+48706
-12765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+48706
-12765
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Install the Python Package **requirementsDocuBuild.txt** from [itom](https://git
1414
Update Plugin-Doc
1515
-----------------
1616

17-
* Run script: ``../mainsite_hidden/update_plugindoc_source_plugins.py``. Skript will ask you for a folder. Select the ``itom/source`` folder. Script will update exsiting plugin's ``*.rst`` files.
17+
* Run script: ``../mainsite_hidden/update_plugindoc_source_plugins.py``. Skript will ask you for a folder. Select the ``itomProject/plugins`` folder. Script will update exsiting plugin's ``*.rst`` files.
1818
* Run Script: ``../mainsite_hidden/create_plugin_documentation.py``. This creates the plugin docu for the website.
1919

2020
Update Website

plugindoc/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 41290cfdf81e7e2a3fe13134bd6d72e1
3+
config: 2df66b5e8e5dfa784717e20d00588449
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

plugindoc/_sources/plugins/actuators/FirgelliLAC.rst.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
**Devices**: One axis motor controller FirgelliLAC
1111
**Author**: :pluginauthor:`FirgelliLAC`
1212
=============== ========================================================================================================
13-
13+
1414
Overview
1515
========
1616

@@ -22,9 +22,9 @@ tested with the product version PQ12-SS-GG-VV-P.
2222

2323
Initialization
2424
==============
25-
25+
2626
The following parameters are mandatory or optional for initializing an instance of this plugin:
27-
27+
2828
.. plugininitparams::
2929
:plugin: FirgelliLAC
3030

@@ -38,7 +38,7 @@ parameters can be changed using *setParam*.
3838
**accuracy**: {float}
3939
Accuracy in %; range: 0.0..100.0 %
4040
**async**: {int}
41-
asychronous (1) or sychronous (0) mode
41+
asynchronous (1) or synchronous (0) mode
4242
**device_id**: {str}, read-only
4343
Name of controller
4444
**device_num**: {int}, read-only
@@ -63,3 +63,5 @@ Changelog
6363
* 2016-04-07: This plugin will be delivered with itom 2.2.0 for the first time
6464
* 2016-04-07: The required library MPUSBAPI is delivered with the sources of this plugin in version 1.1.0.
6565
* itom 4.1.0: This plugin has been compiled
66+
* itom 4.2.0: This plugin has been compiled
67+
* itom 4.3.0: This plugin has been compiled

plugindoc/_sources/plugins/actuators/NanotecStepMotor.rst.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
**Devices**: Motor-Controller Nanotec SMCP
1111
**Author**: :pluginauthor:`NanotecStepMotor`
1212
=============== ========================================================================================================
13-
13+
1414
Overview
1515
========
1616

@@ -21,9 +21,9 @@ The plugin implements the controllers SMCP from Nanotec.
2121

2222
Initialization
2323
==============
24-
24+
2525
The following parameters are mandatory or optional for initializing an instance of this plugin:
26-
26+
2727
.. plugininitparams::
2828
:plugin: NanotecStepMotor
2929

@@ -37,7 +37,7 @@ parameters can be changed using *setParam*.
3737
**accel**: {seq. of int}
3838
motor shaft acceleration, range: 1..65.535 [default 2.364]
3939
**async**: {int}
40-
asychronous (1) or sychronous (0) [default] mode
40+
asynchronous (1) or synchronous (0) [default] mode
4141
**axisID**: {seq. of int}
4242
internal ID of axis
4343
**axisSteps**: {seq. of float}, read-only
@@ -78,4 +78,10 @@ In the following example, the axes 1 and 4 are connected (controllable by the pl
7878
They both run at 10 full steps per mm (1) (hence: linear axes):
7979

8080
ser = dataIO("SerialIO",4,115200,"\r",8,1)
81-
mot = actuator("NanotecStepMotor",ser,[1,4],[10,10],[1,1])
81+
mot = actuator("NanotecStepMotor",ser,[1,4],[10,10],[1,1])
82+
83+
84+
Changelog
85+
==========
86+
87+
* itom setup 2.1.0: Release

plugindoc/_sources/plugins/actuators/SMC100.rst.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
**Author**: :pluginauthor:`NewportSMC100`
1212
**Requires**: Plugin SerialIO
1313
=============== ========================================================================================================
14-
14+
1515
Overview
1616
========
1717

@@ -22,9 +22,9 @@ The plugin implements the Motioncontroller Newport SMC100cc/pp. It can manage up
2222

2323
Initialization
2424
==============
25-
25+
2626
The following parameters are mandatory or optional for initializing an instance of this plugin:
27-
27+
2828
.. plugininitparams::
2929
:plugin: NewportSMC100
3030

@@ -42,7 +42,7 @@ parameters can be changed using *setParam*.
4242
**ctrlId**: {str}, read-only
4343
device information string
4444
**current_status**: {intArray}, read-only
45-
This intArray stores the status of each controller. While no error occures, the controller should be
45+
This intArray stores the status of each controller. While no error occurs, the controller should be
4646
notReferenced (LED = orange)
4747
Referenced (LED = green)
4848
ConfigMode (LED = red [blinking])
@@ -51,18 +51,18 @@ parameters can be changed using *setParam*.
5151
**async**: {int} [0,1]
5252
Defines if the code continues while a controller is processing a task.
5353
**accel**: {doubleArray}
54-
Array of the accelerations of each axis. Notice that if the acceleration is too high, errors can occure because of physical boundaries. These boundaries might be changeable due the serialport. For further information refer to the datasheet.
54+
Array of the accelerations of each axis. Notice that if the acceleration is too high, errors can occur because of physical boundaries. These boundaries might be changeable due the serialport. For further information refer to the data sheet.
5555
**calib_mode**: {intArray} [0,4]
56-
Defines the calibration mode, each axis performs when exec_calib is called with an 1 for the corresponding axis.
56+
Defines the calibration mode, each axis performs when exec_calib is called with an 1 for the corresponding axis.
5757
0 use MZ switch and encoder Index.
5858
1 use current position as HOME.
5959
2 use MZ switch only.
6060
3 use EoR- switch and encoder Index.
6161
4 use EoR- switch only.
6262
**config_state**: {intArray} [0,1]
63-
Defines wheather an axis switches to config mode. Notice that if an axis is in referenced state a reset is automatically performed to set the axis to notRef state and further into config state.
63+
Defines whether an axis switches to config mode. Notice that if an axis is in referenced state a reset is automatically performed to set the axis to notRef state and further into config state.
6464
**speed**: {doubleArray}
65-
Array of the velocity of each axis.
65+
Array of the velocity of each axis.
6666
**exec_calib**: {intArray} [0,1]
6767
By setting this parameter with either a 1 or a 0 for each axis, all axis marked with 1 are calibrated.
6868

@@ -79,13 +79,13 @@ Create new Instance:
7979
8080
Switch acceleration, velocity and calib_mode
8181

82-
.. code-block:: python
82+
.. code-block:: python
8383
8484
# switch 2 controller to config mode
8585
plugin.setParam("config_state", [1,1])
86-
# plugin.setParam("config_state", [1,0]) => switch ctrl0 to config and if ctrl1 is on config, leave config
86+
# plugin.setParam("config_state", [1,0]) => switch ctrl0 to config and if ctrl1 is on config, leave config
8787
88-
# set velocity
88+
# set velocity
8989
plugin.setParam("speed", [5.0,7.0])
9090
9191
# set acceleration
@@ -101,8 +101,8 @@ Switch acceleration, velocity and calib_mode
101101
plugin.calib(0,1) #calibrate first and second axis
102102
103103
# Controller calibrate and move to referenced state
104-
104+
105105
Known Issues
106106
============
107107

108-
In special cases an error occures that leaves the controller in notReferenced state with an error. The LED is constantly red. In this case you have to read the error buffer by sending xTE and xTS where x is the controller number. Notice that the hardware numbers from 1..32 not 0..31 as itom does. Afterwards you can switch into the config mode using xPW1. Choose another calibration mode xHTy, leave the config mode xPW0 and recalibrate the controller with xOR. Further you can send reset commands to the controller (xRS) or unplug the powersupply.
108+
In special cases an error occurs that leaves the controller in notReferenced state with an error. The LED is constantly red. In this case you have to read the error buffer by sending xTE and xTS where x is the controller number. Notice that the hardware numbers from 1..32 not 0..31 as itom does. Afterwards you can switch into the config mode using xPW1. Choose another calibration mode xHTy, leave the config mode xPW0 and recalibrate the controller with xOR. Further you can send reset commands to the controller (xRS) or unplug the powersupply.

plugindoc/_sources/plugins/actuators/ST8SMC4USB.rst.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
**Devices**: Motor-Controller STANDA 8SMC4-USB-B8-1
1111
**Author**: :pluginauthor:`Standa8SMC4USB`
1212
=============== ========================================================================================================
13-
13+
1414
Overview
1515
========
1616

@@ -21,9 +21,9 @@ The plugin implements the controller 8SMC4-USB from STANDA.
2121

2222
Initialization
2323
==============
24-
24+
2525
The following parameters are mandatory or optional for initializing an instance of this plugin:
26-
26+
2727
.. plugininitparams::
2828
:plugin: Standa8SMC4USB
2929

@@ -65,12 +65,14 @@ parameters can be changed using *setParam*.
6565
Installation
6666
============
6767

68-
Before using the motor you need to install the communcation driver that is requested once you plug the motor controller to the USB host.
69-
You get this driver either by installing the software XILab from Standa or by directly downloading the driver's inf file (Windows only). For more information see
70-
https://en.xisupport.com/projects/enxisupport/wiki/Software. The driver might require the Microsoft Visual C++ 2008 Redistributable package.
68+
Before using the motor you need to install the communication driver that is requested once you plug the motor controller to the USB host.
69+
You get this driver either by installing the software XILab from Standa or by directly downloading the driver's inf file (Windows only).
70+
For more information see https://en.xisupport.com/projects/enxisupport/wiki/Software.
71+
The driver might require the Microsoft Visual C++ 2008 Redistributable package.
7172

7273
Changelog
7374
=========
7475

7576
* 2015-06-15: The XiLab SDK currently delivered with the source files of the itom plugin has the version 2.3.2.
76-
* itom setup 4.1.0: plugin uses the XiLab SDK in version 2.3.2.
77+
* itom setup 4.1.0: plugin uses the XiLab SDK in version 2.3.2.
78+
* itom setup 4.3W.0: plugin uses the XiLab SDK in version 2.14.0.

plugindoc/_sources/plugins/actuators/ThorlabsBDCServo.rst.txt

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,21 @@
1010
**Devices**: Thorlabs 30 mm XY Stage with Integrated Controller, Brushed DC Servo Motors
1111
**Author**: :pluginauthor:`ThorlabsBDCServo`
1212
=============== ========================================================================================================
13-
13+
1414
Overview
1515
========
1616

1717
.. pluginsummaryextended::
1818
:plugin: ThorlabsBDCServo
1919

20+
ITOM Plugin to be used for interaction with the Thorlabs Benchtop Brushless DC Motor Controllers Series.
21+
22+
2023
Initialization
2124
==============
22-
25+
2326
The following parameters are mandatory or optional for initializing an instance of this plugin:
24-
27+
2528
.. plugininitparams::
2629
:plugin: ThorlabsBDCServo
2730

@@ -34,15 +37,15 @@ parameters can be changed using *setParam*.
3437

3538
**acceleration**: Sequence[float]
3639
Acceleration values for each axis in mm/s^2.
37-
40+
3841
*2 values required, Value range: [0, 5], Default: [5, 5]*
3942
**async**: int
40-
asychronous (1) or synchronous (0) mode
41-
43+
asynchronous (1) or synchronous (0) mode
44+
4245
*Value range: [0, 1], Default: 0*
4346
**backlash**: Sequence[float]
4447
Backlash distance setting in mm (used to control hysteresis).
45-
48+
4649
*2 values required, Value range: [0, 5], Default: [0, 0]*
4750
**channel**: Sequence[int], read-only
4851
Channel number of each axis.
@@ -51,44 +54,45 @@ parameters can be changed using *setParam*.
5154
**enabled**: Sequence[int]
5255
If 1, the axis is enabled and power is applied to the motor. 0: disabled, the motor can
5356
be turned by hand.
54-
57+
5558
*Allowed number of values: 0 - 2, Value range: [0, 1], Default: [1, 1]*
5659
**firmwareVersion**: int, read-only
5760
Firmware version of the device
5861
**homed**: Sequence[int], read-only
5962
If 0, the axis is not homed. 1: homed.
60-
63+
6164
*Allowed number of values: 0 - 2, Value range: [0, 1], Default: [1, 1]*
6265
**maximumTravelPosition**: Sequence[float], read-only
6366
Maximum travel position for each axis in mm.
64-
67+
6568
*2 values required, Value range: [15, 15], Default: [15, 15]*
6669
**minimumTravelPosition**: Sequence[float], read-only
6770
Minimum travel position for each axis in mm.
68-
71+
6972
*2 values required, Value range: [-15, -15], Default: [-15, -15]*
7073
**name**: str, read-only
7174
name of plugin
7275
**numaxis**: int, read-only
7376
number of axes (channels)
74-
77+
7578
*Value range: [0, 100], Default: 2*
7679
**serialNumber**: str, read-only
7780
Serial number of the device
7881
**timeout**: float
7982
Timeout for positioning in seconds.
80-
83+
8184
*Value range: [0, 200], Default: 5*
8285
**velocity**: Sequence[float]
8386
Velocity values for each axis in mm/s.
84-
87+
8588
*2 values required, Value range: [0, 2.6], Default: [2.6, 2.6]*
8689

8790

8891
Exemplary usage from Python
8992
=======================================
9093

91-
In the following examples, it is shown how to use this Plugin in itom. The example shows a typical measurement routine. First the homing run is performed, then the stage moves to a start position and from there a certain range is rastered in both axes.
94+
In the following examples, it is shown how to use this Plugin in itom. The example shows a typical measurement routine. First the homing run is performed,
95+
then the stage moves to a start position and from there a certain range is rastered in both axes.
9296

9397
.. code-block:: python
9498
@@ -99,6 +103,7 @@ In the following examples, it is shown how to use this Plugin in itom. The examp
99103
mot = actuator("ThorlabsBDCServo")
100104
101105
# set some parameter
106+
mot.setParam("enabled", [1,1])
102107
mot.setParam("velocity", [2.6, 2.6])
103108
mot.setParam("acceleration", [5.0,5.0])
104109
mot.setParam("backlash", [0,0])
@@ -129,7 +134,7 @@ In the following examples, it is shown how to use this Plugin in itom. The examp
129134
130135
# move by using absolute positions
131136
for absX in xVec:
132-
mot.setPosAbs(0, absX)
137+
mot.setPosAbs(0, absX, 1, measureStartPos[1])
133138
for absY in yVec:
134139
mot.setPosAbs(1, absY)
135140
print("x: {}, y: {}".format(mot.getPos(0), mot.getPos(1)))
@@ -148,13 +153,22 @@ In the following examples, it is shown how to use this Plugin in itom. The examp
148153
Compilation
149154
===========
150155

151-
To compile this plugin, install the Thorlabs KINESIS driver package in the same bit-version than itom (32/64bit).
156+
To compile this plugin, install the Thorlabs KINESIS from
157+
https://www.thorlabs.com/software_pages/ViewSoftwarePage.cfm?Code=Motion_Control&viewtab=0
158+
driver package in the same bit-version than itom (32/64bit).
152159
It has been implemented using KINESIS version 1.14.32.
153-
Then set the CMake variable **THORLABS_KINESIS_DIRECTORY** to the base directory of Kinesis (e.g. C:/Program Files/Thorlabs/Kinesis).
154-
The required libraries from Kinesis will automatically be copied to the *lib* folder of itom. Do not use Kinesis 1.6.0 or below for compiling this plugin.
160+
Then set the CMake variable **THORLABS_KINESIS_DIRECTORY** or the environment variable **THORLABS_KINESIS_ROOT**
161+
to the base directory of Kinesis (e.g. C:/Program Files/Thorlabs/Kinesis).
162+
The required libraries from Kinesis will automatically be copied to the *lib* folder of itom.
163+
Do not use Kinesis 1.6.0 or below for compiling this plugin.
155164

156165
Kinesis 1.7.0 requires the Microsoft C++ Redistributable 2012.
157166

158167
Changelog
159168
==========
160169

170+
* itom setup 4.0.0: This plugin has been compiled with Thorlabs Kinesis 1.14.23;
171+
* itom setup 4.1.0: This plugin has been compiled with Thorlabs Kinesis 1.14.25.
172+
* itom setup 4.2.0: This plugin has been compiled with Thorlabs Kinesis 1.14.28.
173+
* Fix bug of timeout during ``setPosAbs``.* itom setup 4.3.0: This plugin has been compiled with Thorlabs Kinesis 1.14.35.
174+
* itom setup 4.2.0: This plugin has been compiled with Thorlabs Kinesis 1.14.47.

0 commit comments

Comments
 (0)