07-16-2013
11:25 PM
- last edited on
05-15-2025
05:11 PM
by
Content Cleaner
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:
APT Programming Examples for LabVIEW
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
07-18-2013 05:12 AM
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.
07-21-2013
08:26 PM
- last edited on
05-15-2025
05:12 PM
by
Content Cleaner
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