From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error while burning code into teensy3.2 by using sys exec VI

Solved!
Go to solution

Hello everyone,

I want to burn my code in the controller (Teensy 3.2) by using sys exec VI.  

I can upload my code into teensy3.2 using the command line below, and it's working  command prompt.PNG

But when I am using this command in the exec VI, I am getting the following error

 

lab.PNG

how can I solve this problem, please help me. I will be very grateful to you. 

I have uploaded my VI also.

 

 

 

0 Kudos
Message 1 of 3
(1,977 Views)
Solution
Accepted by Aitzaz

From your LV screenshot you can see that the working directory is C:\Windows\System32, and this is where the program is looking for your hex file.

 

You either have to feed the full path to that file to your command, or use the input to set the Working Directory of System Exec to C:\te which seems to be where the file is located.

Message 2 of 3
(1,968 Views)

Thank you so much Darin.K now it's working 

0 Kudos
Message 3 of 3
(1,942 Views)