Showing results for 
Search instead for 
Did you mean: 

Running two VI's simultaneously

I have two VI"s- one for a motion controller and one for a amplifier. I need to see the changes in measurement due to movement of motor. I have stacked both the VI's in one panel. Will I be able to run both the VI's simultaneously ? If not please suggest me solutions if you have any.

Any suggestion will be much appreciated.



0 Kudos
Message 1 of 7

Unfortunately, insufficient information, maybe you can, maybe not, it depends.


Please provide all information

  • Motion controller - make, model, manual
  • Amplifier - make, model, manual
  • Please attach the VIs
  • Any NI hardware involved?
  • How are things wired up? - exact connection
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 7

I am using a newport 8742 motion controller to move mirrors sideways. The movement of the mirror causes change in the signal that the amplifier-Zurich labone lock in amplifier recieves. I need to start and stop both the instruments simultaneously and track changes in the signal.

I have attached the VI's.

Thank you for your suggestion.


Download All
0 Kudos
Message 3 of 7

Yes, no... maybe?


Honestly you should be able to run any number of VI's at the same time. The hard part is it they have to communicate with each other or have some sort of data dependency between them, and stopping them both at the same time.


There are several ways to handle these common issues. 


You should try it and then come back with any problems you ran into.

=== Engineer Ambiguously ===
0 Kudos
Message 4 of 7

Yes? Multithreading and the ease of it is one of LVs strength. If they don't have any dependencies or HW conflicts it's as easy as having a Main vi and placing them both in it.

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
0 Kudos
Message 5 of 7

Thank you all for your suggestions.

I was able to run both VI's in conjunction just by stacking them in a single block panel as I had said in my first question.

Any suggestions on how to stop both the VI's at once?



0 Kudos
Message 6 of 7

Here's some ideas...


Stopping Parallel While Loops in LabVIEW with One Stop Button

=== Engineer Ambiguously ===
0 Kudos
Message 7 of 7