02-21-2023 12:58 PM - edited 02-21-2023 01:00 PM
Hi,
I'm new to labVIEW, I prepared two LabVIEW code to control X and Y with different serial numbers. However, I'm not sure how to integrate/wire both code in single VI. Here I'm attaching VI file and the screenshot for kind consideration.
Thanks
02-21-2023 03:34 PM
Start by removing the outer While loops. You don't need them... all they will do is constantly restart your code over and over after you try to quit.
For how to make the inner loops work, I suggest you look into what an "event structure" is and start using that so that you only run the "Move" code when a button has been pressed, instead of running it over and over again forever. It will also allow you to only use one loop to control both.
02-21-2023 04:00 PM
Thanks for your prompt response and kind suggestion. I'll have a look on the event structure for more details about function.