diff --git a/C++/Integrated Motors/MFF/MFF10x_example.cpp b/C++/Integrated Motors/MFF/MFF10x_example.cpp index 3ea1936..c168937 100644 --- a/C++/Integrated Motors/MFF/MFF10x_example.cpp +++ b/C++/Integrated Motors/MFF/MFF10x_example.cpp @@ -34,9 +34,9 @@ int main() { // get device list size short n = TLI_GetDeviceListSize(); - // get BBD serial numbers + // get MFF serial numbers char serialNos[100]; - TLI_GetDeviceListByTypeExt(serialNos, 100, 70); + TLI_GetDeviceListByTypeExt(serialNos, 100, 37); // output list of matching devices { @@ -89,7 +89,7 @@ int main() FF_StopPolling(testSerialNo); // close device FF_Close(testSerialNo); - // TLI_UnitializeSimulations(); + // TLI_UninitializeSimulations(); } } } diff --git a/C++/Integrated Motors/MFF/Required DLLs.txt b/C++/Integrated Motors/MFF/Required DLLs.txt index 7812b91..ec47450 100644 --- a/C++/Integrated Motors/MFF/Required DLLs.txt +++ b/C++/Integrated Motors/MFF/Required DLLs.txt @@ -1,4 +1,4 @@ Thorlabs.MotionControl.DeviceManager.dll -Thorlabs.MotionControl.KCube.FilterFlipper.dll -Thorlabs.MotionControl.KCube.FilterFlipper.h -Thorlabs.MotionControl.KCube.FilterFlipper.lib \ No newline at end of file +Thorlabs.MotionControl.FilterFlipper.dll +Thorlabs.MotionControl.FilterFlipper.h +Thorlabs.MotionControl.FilterFlipper.lib \ No newline at end of file diff --git a/Labview/Kinesis - BBD30X - Connect Abs Rel Move/BBD301ConnectMoveTo.vi b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/BBD301ConnectMoveTo.vi new file mode 100644 index 0000000..6282279 Binary files /dev/null and b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/BBD301ConnectMoveTo.vi differ diff --git a/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Block.PNG b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Block.PNG new file mode 100644 index 0000000..0c45d39 Binary files /dev/null and b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Block.PNG differ diff --git a/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Front.PNG b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Front.PNG new file mode 100644 index 0000000..80d9643 Binary files /dev/null and b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Front.PNG differ diff --git a/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Read Me.txt b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Read Me.txt new file mode 100644 index 0000000..ac2911b --- /dev/null +++ b/Labview/Kinesis - BBD30X - Connect Abs Rel Move/Read Me.txt @@ -0,0 +1,14 @@ +Thorlabs Hardware: BBD30X - Benchtop 3-Phase Brushless DC Servo Controller +https://www.thorlabs.com/thorproduct.cfm?partnumber=BBD303 + +Description: This VI will enable you to communicate with BBD30X series to control Brushless Stages & Actuators. + +Instructions: +1) Connect your BBD30X device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website. +2) Enter the device serial number as well as channel number below. +3) Click 'Run' in the LabVIEW Toolbar which will attempt a connection, and enable the device. +4) Ensure the device move path is clear for homing, and press Home. +5) Await for device to be be available, and to have finished homing (Home indicator in control panel should be green). +6) Input desired absolute position, and press 'Set Abs Pos' to set that for absolute moves. +7) Similarly input desired direction and step size for relative moves. +8) To end the Program click 'STOP'. \ No newline at end of file diff --git a/Labview/Kinesis - BNT - Connect/Block.PNG b/Labview/Kinesis - BNT - Connect/Block.PNG new file mode 100644 index 0000000..8fbc5a6 Binary files /dev/null and b/Labview/Kinesis - BNT - Connect/Block.PNG differ diff --git a/Labview/Kinesis - BNT - Connect/Front.PNG b/Labview/Kinesis - BNT - Connect/Front.PNG new file mode 100644 index 0000000..842a5c7 Binary files /dev/null and b/Labview/Kinesis - BNT - Connect/Front.PNG differ diff --git a/Labview/Kinesis - BNT - Connect/Kinesis - BNT - Connect.vi b/Labview/Kinesis - BNT - Connect/Kinesis - BNT - Connect.vi new file mode 100644 index 0000000..6187bff Binary files /dev/null and b/Labview/Kinesis - BNT - Connect/Kinesis - BNT - Connect.vi differ diff --git a/Labview/Kinesis - BNT - Connect/Read Me.txt b/Labview/Kinesis - BNT - Connect/Read Me.txt new file mode 100644 index 0000000..d1da87b --- /dev/null +++ b/Labview/Kinesis - BNT - Connect/Read Me.txt @@ -0,0 +1,11 @@ +Thorlabs Hardware: BNT001/IR +https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=1194&pn=BNT001/IRDescription: This VI will enable you to connect to & safely disconnect to a BNT001 device. + +Description: This VI will enable you to connect to & safely disconnect to a BNT001 device. + +Instructions: +1) Connect your BNT001 device to your PC & power the device. For full device setup, the device product manual can be found on our website here. + - https://www.thorlabs.com/thorproduct.cfm?partnumber=BNT001/IR +2) Enter the device serial number below. +3) Click 'Run' in the LabVIEW Toolbar. +4) To end the Program, click 'END'. \ No newline at end of file diff --git a/Labview/Kinesis - BNT - Set Circle Home Position/Block.PNG b/Labview/Kinesis - BNT - Set Circle Home Position/Block.PNG new file mode 100644 index 0000000..7516b26 Binary files /dev/null and b/Labview/Kinesis - BNT - Set Circle Home Position/Block.PNG differ diff --git a/Labview/Kinesis - BNT - Set Circle Home Position/Front.PNG b/Labview/Kinesis - BNT - Set Circle Home Position/Front.PNG new file mode 100644 index 0000000..492c31c Binary files /dev/null and b/Labview/Kinesis - BNT - Set Circle Home Position/Front.PNG differ diff --git a/Labview/Kinesis - BNT - Set Circle Home Position/Kinesis - BNT - Set Circle Home Position.vi b/Labview/Kinesis - BNT - Set Circle Home Position/Kinesis - BNT - Set Circle Home Position.vi new file mode 100644 index 0000000..8b22506 Binary files /dev/null and b/Labview/Kinesis - BNT - Set Circle Home Position/Kinesis - BNT - Set Circle Home Position.vi differ diff --git a/Labview/Kinesis - BNT - Set Circle Home Position/Read Me.txt b/Labview/Kinesis - BNT - Set Circle Home Position/Read Me.txt new file mode 100644 index 0000000..380d060 --- /dev/null +++ b/Labview/Kinesis - BNT - Set Circle Home Position/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: BNT001/IR +https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=1194&pn=BNT001/IR + +Description: This VI will enable you to set the Scanning Circle Home Position, throught the GetCircleHomePosition() method. +Horizontal and Vertical positions can be adjusted in the range of 0 to 10 in NanoTrak Units. + +Instructions: +1) Connect your BNT001 device to your PC & power the device. For full device setup, the device product manual can be found on our website here. + - https://www.thorlabs.com/thorproduct.cfm?partnumber=BNT001/IR +2) Enter the device serial number below. +3) Click 'Run' in the LabVIEW Toolbar. +5) Enter values for Horizontal & Vertical Position (0-10 NT Units). +5) To end the Program, click 'END'. \ No newline at end of file diff --git a/Labview/Kinesis - BSC20X - Connect Abs Rel Move/BSC203ConnectMoveTo.vi b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/BSC203ConnectMoveTo.vi new file mode 100644 index 0000000..a3e8ac4 Binary files /dev/null and b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/BSC203ConnectMoveTo.vi differ diff --git a/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Block.PNG b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Block.PNG new file mode 100644 index 0000000..e2d6846 Binary files /dev/null and b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Block.PNG differ diff --git a/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Front.PNG b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Front.PNG new file mode 100644 index 0000000..7f9c639 Binary files /dev/null and b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Front.PNG differ diff --git a/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Read Me.txt b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Read Me.txt new file mode 100644 index 0000000..de4c285 --- /dev/null +++ b/Labview/Kinesis - BSC20X - Connect Abs Rel Move/Read Me.txt @@ -0,0 +1,14 @@ +Thorlabs Hardware: BSC20X -Benchtop Stepper Motor Controllers +https://www.thorlabs.com/thorproduct.cfm?partnumber=BSC203 + +Description: This VI will enable you to communicate with BSC20X series to control stepper motors. + +Instructions: +1) Connect your BSC20X device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website. +2) Enter the device serial number as well as channel number below. +3) Click 'Run' in the LabVIEW Toolbar which will attempt a connection, and enable the device. +4) Ensure the device move path is clear for homing, and press Home. +5) Await for device to be be available, and to have finished homing (Home indicator in control panel should be green). +6) Input desired absolute position, and press 'Set Abs Pos' to set that for absolute moves. +7) Similarly input desired direction and step size for relative moves. +8) To end the Program click 'STOP'. \ No newline at end of file diff --git a/Labview/Kinesis - KBD101 - Connect Jog/Block.PNG b/Labview/Kinesis - KBD101 - Connect Jog/Block.PNG new file mode 100644 index 0000000..8be602d Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Jog/Block.PNG differ diff --git a/Labview/Kinesis - KBD101 - Connect Jog/Front.PNG b/Labview/Kinesis - KBD101 - Connect Jog/Front.PNG new file mode 100644 index 0000000..eb79c00 Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Jog/Front.PNG differ diff --git a/Labview/Kinesis - KBD101 - Connect Jog/KBDConnectJog.vi b/Labview/Kinesis - KBD101 - Connect Jog/KBDConnectJog.vi new file mode 100644 index 0000000..025a804 Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Jog/KBDConnectJog.vi differ diff --git a/Labview/Kinesis - KBD101 - Connect Jog/Read Me.txt b/Labview/Kinesis - KBD101 - Connect Jog/Read Me.txt new file mode 100644 index 0000000..5ef033c --- /dev/null +++ b/Labview/Kinesis - KBD101 - Connect Jog/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: KBD - K-Cube Brushless DC Servo Driver +https://www.thorlabs.com/thorproduct.cfm?partnumber=KBD101 + +Description: This VI will enable you to communicate with KBD101 to control Brushless Stages & Actuators. The VI will first connect and initialize the device, home it, and await user command to move to a specified location. + +Instructions: +1) Connect your KBD101 device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website here. -https://www.thorlabs.com/thorproduct.cfm?partnumber=KBD101 +2) Enter the device serial number below. +3) Ensure the device move path is clear for homing. +4) Click 'Run' in the LabVIEW Toolbar which will attempt a connection, and send a home command in that order. +5) Await for device to be be available, and to have finished homing. +6) Input desired Jog Direction and step size position, and press 'Jog'. +7) To end the Program click 'STOP'. \ No newline at end of file diff --git a/Labview/Kinesis - KBD101 - Connect Move/Block.PNG b/Labview/Kinesis - KBD101 - Connect Move/Block.PNG new file mode 100644 index 0000000..259a6da Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Move/Block.PNG differ diff --git a/Labview/Kinesis - KBD101 - Connect Move/Front.PNG b/Labview/Kinesis - KBD101 - Connect Move/Front.PNG new file mode 100644 index 0000000..f49070e Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Move/Front.PNG differ diff --git a/Labview/Kinesis - KBD101 - Connect Move/KBDConnectMoveTo.vi b/Labview/Kinesis - KBD101 - Connect Move/KBDConnectMoveTo.vi new file mode 100644 index 0000000..f0b6c41 Binary files /dev/null and b/Labview/Kinesis - KBD101 - Connect Move/KBDConnectMoveTo.vi differ diff --git a/Labview/Kinesis - KBD101 - Connect Move/Read Me.txt b/Labview/Kinesis - KBD101 - Connect Move/Read Me.txt new file mode 100644 index 0000000..b0c1b6f --- /dev/null +++ b/Labview/Kinesis - KBD101 - Connect Move/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: KBD - K-Cube Brushless DC Servo Driver +https://www.thorlabs.com/thorproduct.cfm?partnumber=KBD101 + +Description: This VI will enable you to communicate with KBD101 to control Brushless Stages & Actuators. The VI will first connect and initialize the device, home it, and await user command to move to a specified location. + +Instructions: +1) Connect your KBD101 device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website here. -https://www.thorlabs.com/thorproduct.cfm?partnumber=KBD101 +2) Enter the device serial number below. +3) Ensure the device move path is clear for homing. +4) Click 'Run' in the LabVIEW Toolbar which will attempt a connection, and a home command in that order. +5) Await for device to be be available, and to have finished homing. +6) Input desired movement position, and press 'Move To Position'. +7) To end the Program click 'STOP'. \ No newline at end of file diff --git a/Labview/Kinesis - KIM101 - Set Jog/Block.PNG b/Labview/Kinesis - KIM101 - Set Jog/Block.PNG new file mode 100644 index 0000000..469c124 Binary files /dev/null and b/Labview/Kinesis - KIM101 - Set Jog/Block.PNG differ diff --git a/Labview/Kinesis - KIM101 - Set Jog/Front.PNG b/Labview/Kinesis - KIM101 - Set Jog/Front.PNG new file mode 100644 index 0000000..184fb4e Binary files /dev/null and b/Labview/Kinesis - KIM101 - Set Jog/Front.PNG differ diff --git a/Labview/Kinesis - KIM101 - Set Jog/Kinesis - KIM101 - Set Jog.vi b/Labview/Kinesis - KIM101 - Set Jog/Kinesis - KIM101 - Set Jog.vi new file mode 100644 index 0000000..6a1574e Binary files /dev/null and b/Labview/Kinesis - KIM101 - Set Jog/Kinesis - KIM101 - Set Jog.vi differ diff --git a/Labview/Kinesis - KIM101 - Set Jog/Read Me.txt b/Labview/Kinesis - KIM101 - Set Jog/Read Me.txt new file mode 100644 index 0000000..44d2a39 --- /dev/null +++ b/Labview/Kinesis - KIM101 - Set Jog/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: KIM101 - K-Cube Inertial Motor Controller +https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=9790&pn=KIM101#9791 + +This VI will enable you to run the Kinesis Device panel for the KIM101 Intertial Motor Controller. +You will also be able to set Jog Parameters & toggle the Jog Mode, as well as assert control to a particular channel. + +Instructions: +1. Connect your KIM101 device to your PC via USB & power your device. See the product manual for details of device setup +https://www.thorlabs.com/thorproduct.cfm?partnumber=KIM101 +2. Enter the serial number of the controller into the SerialNumber box below. +3. Run the VI from the LabVIEW Toolbar. +6. To end the program, click 'END'. + diff --git a/Labview/Kinesis - KNA - Latch Trak/Block.PNG b/Labview/Kinesis - KNA - Latch Trak/Block.PNG new file mode 100644 index 0000000..d963fc4 Binary files /dev/null and b/Labview/Kinesis - KNA - Latch Trak/Block.PNG differ diff --git a/Labview/Kinesis - KNA - Latch Trak/Front.PNG b/Labview/Kinesis - KNA - Latch Trak/Front.PNG new file mode 100644 index 0000000..c6f3140 Binary files /dev/null and b/Labview/Kinesis - KNA - Latch Trak/Front.PNG differ diff --git a/Labview/Kinesis - KNA - Latch Trak/Kinesis - KNA - Latch Trak.vi b/Labview/Kinesis - KNA - Latch Trak/Kinesis - KNA - Latch Trak.vi new file mode 100644 index 0000000..015f648 Binary files /dev/null and b/Labview/Kinesis - KNA - Latch Trak/Kinesis - KNA - Latch Trak.vi differ diff --git a/Labview/Kinesis - KNA - Latch Trak/Read Me.txt b/Labview/Kinesis - KNA - Latch Trak/Read Me.txt new file mode 100644 index 0000000..2557b72 --- /dev/null +++ b/Labview/Kinesis - KNA - Latch Trak/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: KNA - K-Cube Nanotrak Controller +https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=2877 + +Description: This VI will enable you to run the Kinesis Device panel for KNA-nnn devices. +You will also be able to set the Operating Mode to Track or Latch. + +Track - When tracking, the NanoTrak detects any drop in signal strength resulting from misalignment of the input and output devices, and makes positional adjustments to maintain the maximum signal strength. + +Latch - Scanning is disabled and the piezo drives are held at their present position. + +1. Connect your KNA-nnn device to your PC via USB & power your device. +2. Enter the serial number of the controller into the SerialNumber box below. +3. Run the VI diff --git a/Labview/Kinesis - KNA - Set Circle Diameter/Block.PNG b/Labview/Kinesis - KNA - Set Circle Diameter/Block.PNG new file mode 100644 index 0000000..31105d5 Binary files /dev/null and b/Labview/Kinesis - KNA - Set Circle Diameter/Block.PNG differ diff --git a/Labview/Kinesis - KNA - Set Circle Diameter/Front.PNG b/Labview/Kinesis - KNA - Set Circle Diameter/Front.PNG new file mode 100644 index 0000000..a136368 Binary files /dev/null and b/Labview/Kinesis - KNA - Set Circle Diameter/Front.PNG differ diff --git a/Labview/Kinesis - KNA - Set Circle Diameter/Kinesis - KNA - Set Circle Diameter.vi b/Labview/Kinesis - KNA - Set Circle Diameter/Kinesis - KNA - Set Circle Diameter.vi new file mode 100644 index 0000000..92bd764 Binary files /dev/null and b/Labview/Kinesis - KNA - Set Circle Diameter/Kinesis - KNA - Set Circle Diameter.vi differ diff --git a/Labview/Kinesis - KNA - Set Circle Diameter/Read Me.txt b/Labview/Kinesis - KNA - Set Circle Diameter/Read Me.txt new file mode 100644 index 0000000..2557b72 --- /dev/null +++ b/Labview/Kinesis - KNA - Set Circle Diameter/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: KNA - K-Cube Nanotrak Controller +https://www.thorlabs.com/newgrouppage9.cfm?objectgroup_id=2877 + +Description: This VI will enable you to run the Kinesis Device panel for KNA-nnn devices. +You will also be able to set the Operating Mode to Track or Latch. + +Track - When tracking, the NanoTrak detects any drop in signal strength resulting from misalignment of the input and output devices, and makes positional adjustments to maintain the maximum signal strength. + +Latch - Scanning is disabled and the piezo drives are held at their present position. + +1. Connect your KNA-nnn device to your PC via USB & power your device. +2. Enter the serial number of the controller into the SerialNumber box below. +3. Run the VI diff --git a/Labview/Kinesis - KST101 - Move Relative/Block.PNG b/Labview/Kinesis - KST101 - Move Relative/Block.PNG new file mode 100644 index 0000000..156a3a3 Binary files /dev/null and b/Labview/Kinesis - KST101 - Move Relative/Block.PNG differ diff --git a/Labview/Kinesis - KST101 - Move Relative/Front.PNG b/Labview/Kinesis - KST101 - Move Relative/Front.PNG new file mode 100644 index 0000000..73919ae Binary files /dev/null and b/Labview/Kinesis - KST101 - Move Relative/Front.PNG differ diff --git a/Labview/Kinesis - KST101 - Move Relative/Kinesis - KST101 - Move Relative.vi b/Labview/Kinesis - KST101 - Move Relative/Kinesis - KST101 - Move Relative.vi new file mode 100644 index 0000000..ec73544 Binary files /dev/null and b/Labview/Kinesis - KST101 - Move Relative/Kinesis - KST101 - Move Relative.vi differ diff --git a/Labview/Kinesis - KST101 - Move Relative/Read Me.txt b/Labview/Kinesis - KST101 - Move Relative/Read Me.txt new file mode 100644 index 0000000..ad4204e --- /dev/null +++ b/Labview/Kinesis - KST101 - Move Relative/Read Me.txt @@ -0,0 +1,10 @@ +Thorlabs Hardware: KST101 - K-Cube Brushless DC Servo Motor Controller + https://www.thorlabs.com/thorproduct.cfm?partnumber=KST101 + +Description: This VI will enable you to communicate with KST101 to control Stepper Motor Stages & Actuators. The VI will allow you to home the device and move it by any valid distance in any direction. + +Instructions: +1) Connect your KST101 device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website here. - https://www.thorlabs.com/thorproduct.cfm?partnumber=KST101 +2) Enter the device serial number below. +3) Click 'Run' in the LabVIEW Toolbar. +4) To end the Program click the 'STOP' button. \ No newline at end of file diff --git a/Labview/Kinesis - M30XY - Set Velocity Step/Block.PNG b/Labview/Kinesis - M30XY - Set Velocity Step/Block.PNG new file mode 100644 index 0000000..52c1cc1 Binary files /dev/null and b/Labview/Kinesis - M30XY - Set Velocity Step/Block.PNG differ diff --git a/Labview/Kinesis - M30XY - Set Velocity Step/Front.PNG b/Labview/Kinesis - M30XY - Set Velocity Step/Front.PNG new file mode 100644 index 0000000..6413a54 Binary files /dev/null and b/Labview/Kinesis - M30XY - Set Velocity Step/Front.PNG differ diff --git a/Labview/Kinesis - M30XY - Set Velocity Step/M30XYConnectSetVelocityStep.vi b/Labview/Kinesis - M30XY - Set Velocity Step/M30XYConnectSetVelocityStep.vi new file mode 100644 index 0000000..ee7b12b Binary files /dev/null and b/Labview/Kinesis - M30XY - Set Velocity Step/M30XYConnectSetVelocityStep.vi differ diff --git a/Labview/Kinesis - M30XY - Set Velocity Step/Read Me.txt b/Labview/Kinesis - M30XY - Set Velocity Step/Read Me.txt new file mode 100644 index 0000000..bedc539 --- /dev/null +++ b/Labview/Kinesis - M30XY - Set Velocity Step/Read Me.txt @@ -0,0 +1,13 @@ +Thorlabs Hardware: M30XY - 30 mm Motorized XY Translation Stage +https://www.thorlabs.com/thorproduct.cfm?partnumber=M30XY + +Description: This VI will enable you to communicate with M30XY series to control Brushless Stages & Actuators. + +Instructions: +1) Connect your M30XY device to your PC & power the device, ensuring your stage/actutator is connected. For full device setup, the device product manual can be found on our website. +2) Enter the device serial number. +3) Click 'Run' in the LabVIEW Toolbar which will attempt a connection, and enable the device. +4) Ensure the device move path is clear for homing, and press Home. +5) Await for device to be be available, and to have finished homing (Home indicator in control panel should be green). +6) Input direction and step size for relative move. +7) To end the Program click 'STOP'. \ No newline at end of file diff --git a/Python/Integrated Stages/Cage Rotator/K10CR1_pythonnet.py b/Python/Integrated Stages/Cage Rotator/K10CR1_pythonnet.py index b7b495e..71d889e 100644 --- a/Python/Integrated Stages/Cage Rotator/K10CR1_pythonnet.py +++ b/Python/Integrated Stages/Cage Rotator/K10CR1_pythonnet.py @@ -1,14 +1,18 @@ """ -K10CR1_pythonnet +Example Title: K10CR1_pythonnet.py +Example Date of Creation(YYYY-MM-DD) 2023-02-23 +Example Date of Last Modification on Github 2025-04-09 +Version of Python: 3.11 +Version of the Thorlabs SDK used: 1.14.52 ================== - -An example of using the K10CR1 integrated rotation stages with python via pythonnet +Example Description +Using the .NET Dlls +Example runs the K10CR1 or K10CR2 stage. It shows how to initialize, home and move. +Tested with K10CR2 """ import clr -import os import time -import sys # Write in file paths of dlls needed. clr.AddReference("C:\\Program Files\\Thorlabs\\Kinesis\\Thorlabs.MotionControl.DeviceManagerCLI.dll") @@ -26,14 +30,14 @@ def main(): """The main entry point for the application""" # Uncomment this line if you are using - # SimulationManager.Instance.InitializeSimulations() + #SimulationManager.Instance.InitializeSimulations() try: # Build device list. DeviceManagerCLI.BuildDeviceList() # create new device. - serial_no = "55000114" # Replace this line with your device's serial number. + serial_no = "55507804" # Replace this line with your device's serial number. device = CageRotator.CreateCageRotator(serial_no) # Connect to device. @@ -55,8 +59,7 @@ def main(): print(device_info.Description) # Load any configuration settings needed by the controller/stage. - device.LoadMotorConfiguration(serial_no, DeviceConfiguration.DeviceSettingsUseOptionType.UseDeviceSettings) - motor_config = device.LoadMotorConfiguration(serial_no) + motor_config=device.LoadMotorConfiguration(serial_no, DeviceConfiguration.DeviceSettingsUseOptionType.UseFileSettings) # Call device methods. print("Homing Device") @@ -76,7 +79,7 @@ def main(): print(e) # Uncomment this line if you are using Simulations - # SimulationManager.Instance.UninitializeSimulations() + #SimulationManager.Instance.UninitializeSimulations() if __name__ == "__main__":