From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I want to synchronize the movement of two ThorLabs stepper motors which use ActiveX controllers. How can I make sure that the "move absolute" of both motors execute at the exact same time? I have tried putting them in different sequence structures and synchronizing them using 'rendezvous' but, even if the dataflow arrives at the same time to both, one executes first than the other.
There is no way for you to achieve synchronization at a software level with your motors. One will always execute first once everything is compiled. You need to be looking into ways for hardware synchronization for these.
There will always be a time lag between motors through a software start execution. You may want to try the Digital I/O ports on the controllers. Each motor is given instruction on a specific move and will wait (armed) till a TTL pulse is initiated through the port. Then motion is enabled.