03-04-2013 03:31 PM
Hi,
Labview beginner here, trying to create a simple VI to have a two-axis stage motor move a desired circular path a certain number of runs. I thought this would have been more straight forward but I guess not.
I have the correct ports connecting the usb to the stage controllers and can create a simple script that runs the motors linearly.
However, I can't seem to find a circle or arc motion controls that doesn't require a BoardID. Any ideas?
Stage motors and controllers are Sigma Koki, if that's of any relevance.
03-05-2013 09:07 PM - last edited on 04-12-2024 09:14 AM by Content Cleaner
From my point of view there are two possible options:
A) The difficult one: Program Midpoint circle algorithm (Bresenham algorithm), create a matrix and then analyze the next step for each motor, and of course synchronize the movement of the motors.
B) Use the NI-Motion Software. This software will allow you to easily configure any kind of pattern needed.
https://www.ni.com/en/support/downloads/drivers/download.ni-motion.html
https://www.ni.com/docs/en-US/bundle/372134f/page/download.html
Of course, the first one will be the most difficult but the second will require an extra budget.
03-05-2013 11:45 PM
Unless you're going to do very slow moves or the accuracy of the arc isn't important, this will be impossible. You need continuous control of the motors and a desktop operating system (I assume you're on Windows) can't guarantee that level of timing precision, in LabVIEW or any other program. Many motor controllers have built-in commands to do arcs; does yours?
03-07-2013 04:10 PM - last edited on 04-12-2024 09:15 AM by Content Cleaner
@Richard_Smith wrote:
From my point of view there are two possible options:
A) The difficult one: Program Midpoint circle algorithm (Bresenham algorithm), create a matrix and then analyze the next step for each motor, and of course synchronize the movement of the motors.
B) Use the NI-Motion Software. This software will allow you to easily configure any kind of pattern needed.
https://www.ni.com/en/support/downloads/drivers/download.ni-motion.html
https://www.ni.com/docs/en-US/bundle/372134f/page/download.html
Of course, the first one will be the most difficult but the second will require an extra budget.
thanks for your reply, in my version of labview (8.5), there's a "NI-motion" segment with an Arc-Trajectory VI but this requires a BoardID, similair to the draw-circle VI which requires a same BoardID.
Is this the NI-Motion portion of the software that you mentioned?
03-07-2013 04:11 PM - edited 03-07-2013 04:11 PM
@nathand wrote:
Unless you're going to do very slow moves or the accuracy of the arc isn't important, this will be impossible. You need continuous control of the motors and a desktop operating system (I assume you're on Windows) can't guarantee that level of timing precision, in LabVIEW or any other program. Many motor controllers have built-in commands to do arcs; does yours?
The only controllers from the stage controller company is in a line; so no, no provided arc controls.