LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the settings of Thorlabs APT software through LabVIEW

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.

0 Kudos
Message 1 of 7
(3,300 Views)

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!

 

 

0 Kudos
Message 2 of 7
(2,953 Views)

Does the APT software output a file of some kind that has the saved settings?

0 Kudos
Message 3 of 7
(2,945 Views)

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?

0 Kudos
Message 4 of 7
(2,935 Views)

@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.

0 Kudos
Message 5 of 7
(2,927 Views)

One thing to add...

 

Reach out to the manufacturer on where this file is located. They should be able to tell you.

0 Kudos
Message 6 of 7
(2,903 Views)

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.

 

0 Kudos
Message 7 of 7
(2,862 Views)