08-07-2019 04:12 AM
Hello, guys, I am working on a project which involves rotating a camera lens with the help of stepper motor. project is basically determining the max focused position of lense that's why I need to know by how much degrees the motor is moving. I have attached LabVIEW file in which motor is moving in steps I want it to move in degrees
As I am new to LabVIEW I will be very thankful if anyone of you could help me with this.
Thanks in Advance
Solved! Go to Solution.
08-07-2019 04:20 AM - edited 08-07-2019 04:21 AM
08-07-2019 04:35 AM
Hi, GerdW
Thanks for reply 48 steps make a full revolution, I request you please see the LabVIEW file I have attached
08-07-2019 04:41 AM
Hi diehard,
48 steps make a full revolution
So the angle calculation is "360° * steps/48"…
I request you please see the LabVIEW file I have attached
I don't see how that VI is related to your question.
There's a missing subVI and no comments at all in the VI…
08-07-2019 04:44 AM
Of course the math will be a lot easier to implement if you're code is clean.
Before:
After:
Just a thought...
08-12-2019 01:49 AM
Hello all, I am working on one project in which I am rotating a lense with the help of stepper motor by 1 mm, 0.1 mm for determining a point of maximum focus for the lense. The problem is attached vi was given by my professor in which it is moving stepper motor in mm I want to change it to a degree of rotation. since I am new to LabVIEW I am not able to understand this vi's. it would be very helpful if anyone could help me with this problem and also suggest some good source for learning LabVIEW.
for stepper motor 48 steps= 1 rotation
08-12-2019 04:48 AM
Hi diehard,
why don't you stick with your thread?
We already "solved" the conversion from steps to rotation angle - so what's your problem now/again?
suggest some good source for learning LabVIEW.
See the "Training resources" offered in the header of this LabVIEW board!