Skip to content
/ KDC101 Public

Controlling PRM1/MZ8 with KDC101 from THORLABS

Notifications You must be signed in to change notification settings

ak70gb/KDC101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a basic package to work with KDC101 for controlling PRM1/MZ8.
It controlls the motor through THORlabs .NET DLLs
//Quick Start
first  we need to call the neccessary files for the motor to work.
>>KDC101_init.m
move to the desired position 'x' by calling funtion
>>KDC101moveto(KDC101,x,timeout_val)
disconnect the motor by calling funtion 
>>KDC101disconnect(KDC101)
//test can be done by running Mototest.m
To use the funtions, first we have to call the neccessary files. To do this call 
>>KDC101_init.m
//To move the motor
there are multiple ways to rotate the motor 
after calling KDC101_init, we create an object KDC101 . Let 'x' be the value of the desired position
value in degree 
#1
>>KDC101moveto(KDC101,x,timeout_val) //where x is desired position value in degree 
#2
>>MoveTo(KDC101,x,timeout_val)
#3
>>KDC101.MoveTo(x,timeout_val) 
//to Know the current position
>>KDC101pos(KDC101)
//To goto Home(0degree)
>>KDC101home(KDC101,timeout_val)
//disconnect the motor by calling funtion 
>>KDC101disconnect(KDC101)

About

Controlling PRM1/MZ8 with KDC101 from THORLABS

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages