Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

really need help (motor control using labview)

Hi jeremylim51,

 

Are you referring to the above problem in using Thorlabs or to the original first post? As per this forum's guide, please create a new thread if your question is unrelated to the original post. You will get better response by doing so.

 

If you are referring to the help in interfacing LabVIEW with Thorlabs (APT program), the following resources should be useful:

 

User Guide to LabVIEW & APT

APT Programming Examples for LabVIEW

APT Support Package

 

According to the documents in APT Support Package, there seems to be a Handbook that explains in more details the available functions for specific hardware that can be accessed in LabVIEW. This Handbook comes together with the hardware, so do check with Thorlabs for it. They may also have more specific examples that you can use.

 

If you are new to LabVIEW, go to LabVIEW Skills Guide for resources on getting started. After that, since APT interfaces with LabVIEW via ActiveX, do read up on Using ActiveX with LabVIEW, available in LabVIEW Help (LabVIEW >> Help >> LabVIEW Help >> Fundamentals >> Windows Connectivity).

 

I do not have Thorlabs, so this is about as far I can help you on.

 

Regards,

A.Yodha

NI Singapore

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 11 of 13
(1,949 Views)

I would like to ask, Is labview contains anything that called the condition loop in a while loop, lets say u create a while loop engulfed the whole system but then in the 2nd or 3rd running, I would like to change the position automatically and not to return the value to its original position.

0 Kudos
Message 12 of 13
(1,938 Views)

There a few ways to do that. One of the basics is to use Shift Register to store values from one iteration to the next or use First Call? function. It sounds that your application would benefit from using a State Machine design pattern. If you are using LabVIEW 2012, there is a template for this design that you can access from File >> Create Project. For example, the first state may be to initialize the machine, then it moves to the continuous running state.

 

I would recommend you to post such questions on LabVIEW programming to its dedicated board here. You would get better response if you post on the right board.

 

Regards,

A. Yodha

NI Singapore

0 Kudos
Message 13 of 13
(1,921 Views)