LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combining two VI and avoiding overlapping digital lines

I'm working on a VI which used to be two separate programs (top while loop and bottom while loop).  One program would run a stepper motor over time and pull an object to apply tension and read it through a load cell (top while loop).  The other program it used to move the motor rapidly in order to reset it's position back to a "default" (bottom loop).  I'm trying to get the functionality of both programs into one VI that I can control the stepper motor without having to switch programs (and mostly to have a "complete" program).  I'm not very skilled yet with the in's and out's of LabVIEW but I'll try my best to work with your suggestions! 

 

Thanks,

James

 

 

0 Kudos
Message 1 of 2
(2,372 Views)

James,

 

I want to get some more information about your application.  From what I can understand, the top loop ran first and when that was completed you ran the bottom loop in your program to reset the values to default. Now you combined both VIs and want it to programatically perform the same action?Do you want your code to run in such a way that when you press a button, it 'switches' from one mode to the other? Before giving suggestions, I'd like to verify what it is your are trying to do in order to give a suggestion.

Stephanie A.
Americas Marketing Manager
National Instruments
0 Kudos
Message 2 of 2
(2,346 Views)