06-01-2018 11:40 AM
Hey there
I'm using Labview to control a stepper motor from Thorlabs. I want to apply a tangential movement in my system. This movement should be controlled regarding traveled distance, velocity and acceleration. I was able to do such controls. Additionally, I'd like to correspond motor positions with time to generate a graph/chart, when I set a distance of movement. I couldn't do that as I've not found a way to export motor positions from the APT interface in LabView.
To aid my explanation, I made a simplified version of my code and is attached. Its name is "saad_simplified_version". The file is compressed with other VIs downloaded from Thorlabs website regarding motor control.
OS: Windows 10
Software: LabView Professional Development System (2017-32bit)
06-06-2018 10:19 AM
Hey Saad,
Typically property and invoke nodes can be used to access specific values from front panel controls or indicators. Is this an option?
I don't have the APT interface so am unable to test this.
It may also be worthwhile contacting Thorlabs for information on this control.
Best,
-Jelmer
06-06-2018 11:27 AM
Hi JelmerD
Thanks for replying.
Yeah, I know that there should be a way to use property/invoke nodes to get these values. However, after reading description of the methods (these methods can be applied by invoke nodes) programmed by Thorlabs, I haven't found what I want to achieve. I contacted engineers in National Instruments and Thorlabs in the last two weeks. They tried to help, but unfortunately we were unable to to find a solution. So, I thought I might find a solution if I post this in the Discussion forum. Hopefully, I'll find a way to achieve my goal soon.
Regards,
Saad