06-07-2019 08:13 AM
I have to use the Thorlabs APT software through LabVIEW, to control a stepper motor. For this purpose, I had referred to Thorlabs' Guide to LabVIEW and APT (below). However, I ran into a roadblock. My project requires me to use APT with certain settings as default. While it is possible to "save" your settings as a template in the APT software, I was unclear about how these templates/default settings can be set/accessed/changed when using APT through LabVIEW.
Specifically, I needed to change the Limit Switch settings to "Switch Makes".
Below are my .vi file, the Return Code Insertion .vi file for the same, and Thorlabs' Guide to LabVIEW and APT.
07-31-2020 07:43 AM - edited 07-31-2020 07:44 AM
Hi adinkar1999..Did you manage to solve this problem?.. I have the same system and this issue remains unsolved. If you have solved it, could you share it with us?
Thank you in advance!
07-31-2020 08:50 AM
Does the APT software output a file of some kind that has the saved settings?
07-31-2020 09:42 AM
In theory the APT User interface outputs a file with APT settings, because I am able to save and load an APT_parameters file. However, the GUI doesn't show the filepath, thus I cannot find the location where it is saved. Do you might know a possible location of that file?
07-31-2020 10:52 AM
@tsila155 wrote:
In theory the APT User interface outputs a file with APT settings, because I am able to save and load an APT_parameters file. However, the GUI doesn't show the filepath, thus I cannot find the location where it is saved. Do you might know a possible location of that file?
I do not have the APT software on my machine so I don't know the answer to that. If a file dialog box appears asking you where the file is for the APT software to comsume it, it should be pretty easy to locate where that directory & the file resides.
07-31-2020 03:10 PM
One thing to add...
Reach out to the manufacturer on where this file is located. They should be able to tell you.
08-03-2020 04:15 AM
Hi Eric1977,
I will do reach Thorlabs to give me feedback for the file path, because no prompt window appears with file location when asking if I'd like to save the file.
Thanks for your help.