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.

Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a push button to position control?

Hi,

I am driving a thorlabs stepper motor. In my project, first I want to create a position control and a push button associated with that. Whenever I click the push button, the motor should have to go back to value inserted in the position control. Could you guys please help me how to insert the push button to the position control.

Download All
0 Kudos
Message 1 of 3
(1,995 Views)

Hey,

 

You could do something similar to what I have attached. You can create a Boolean control to activate a case structure  and use an Express VI or Property Node inside that case structure. Or however you feel comfortable implementing the Boolean control.

 

Thanks,

-Brian J. PositionExample.PNG

0 Kudos
Message 2 of 3
(1,971 Views)

Thank you so much. I will try this.

0 Kudos
Message 3 of 3
(1,965 Views)