LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execute a ".cmd" in Labview

Solved!
Go to solution

Hello ! 

 

I want to execute a Windows script ".cmd". This script execute other script so i execute the main script using System exec but it doesn't work and gives me differentes error  :

Douke_0-1656599653532.png

For information the script i using program a STM32 micro

Douke_1-1656600114979.png

Can you  help to resolve this problem ? 

 

The script work without Labview

 

Thank you 🙂 

 

Jason 

 

0 Kudos
Message 1 of 4
(680 Views)
Solution
Accepted by topic author Douke

It's often useful to connect the "Working directory"

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(668 Views)

Thank you ! Why i didn't think of that before ahah ... 

0 Kudos
Message 3 of 4
(657 Views)

That's actually a tricky one! Most things work without it as long as %PATH% is correct, but sometimes it's needed.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 4
(624 Views)