LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to control the parameters of dynamic vi within the main program

Hello,

 

I have a main program which controls the CCD camera for a spectrometer. Now I use the dynamic vi which controls the monochromator(Mono) within the main program to move the mono to the appropriate position.  When I start the main program , the dynamic Vi moves to the corresponding position and then main program starts. My question would be that there is any way to control the parameters of the dynamic Vi within the main program which are steps to move  and current position of the Mono as shown below.  I want to these two parameters of the dynamic Vi show up in the main Program.

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

Hi Avral,

 

move the (block diagram) content of that "moto.vi" into your main VI block diagram!

(Or put Moto.vi as standard subVI into your main VI and wire it's inputs/outputs…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,399 Views)

Thanks, it works perfekt.

0 Kudos
Message 3 of 3
(2,365 Views)