How can you stop a LabVIEW VI from MATLAB script?

8 views (last 30 days)
Hey!
I was wondering if I could stop a LabVIEW VI through a command/function in MATLAB. I just want to stop the VI at a specific time through my MATLAB code.
I have learned how to run a LabVIEW VI through a command/function in MATLAB from the blog https://forums.ni.com/t5/LabVIEW/MATLAB-calling-subVi/td-p/906758
Does anybody have an idea?

Accepted Answer

Sachin
Sachin on 12 May 2023
Hi
I understand that you want to stop the LabVIEW from MATLAB script.
You can use “Abort” function to stop a LabVIEW VI.
Refer the following link to Abort LabVIEW VI.
Refer the following MATLAB Answer for more information:

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!