LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

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

Solved!
Go to solution
Highlighted

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
(78 Views)
Solution
Accepted by topic author Aitzaz
06-12-2019 12:25 AM

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
(69 Views)

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

0 Kudos
Message 3 of 3
(43 Views)