LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to switch from a program to another one

Hi all,

 

I would like to run a robotic system in autonomous mode.

To achieve this, i have two programs.

The firts one is to drive the robot autonomously.

The second one is to do another function, which doesn't have nothing to do with the first one.

 

My question is:

 

How, within my first program, could i call the second one.

I mean, i have for exemple Robot_function_1.vi

And i want to open Robot_funtion_2.vi AND, once its up, stop the first function.

 

I suppose there is a specific funtion to do this, but because i am new on Labview...i am just getting lost.

 

Thank you for your help.

 

Regards,

 

Chris.

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

Hi Chris,

 

you could use RobotFunction2 as a subVI in RobotFunction1...

Best regards,
GerdW


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

Hi,

 

Thank you so much for you quick answer...its usefull.

 

Regards,

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