03-25-2019 07:18 AM
The lines below are from a batch file that downloads code to a MSP430 microcontroller. I am executing it with the System Exec.vi, and it works fine. Once. When I try to execute it a second time the DOS window opens and immediately closes without downloading the program to the micro. The only way to get it to run properly again is to quit LabVIEW and re-open it. I get the same results with the development environment and the runtime.
Jim
@echo off
C:\MSPFlasher\MSP430Flasher.exe -w "C:\Folder\hex\ep1b.txt" -e ERASE_ALL -v -g -s -z [RESET, VCC=3300]
exit
03-27-2019 11:37 AM
What's the scope of the VI? Are you modifying the code that will be uploaded to the MSP430 in it and downloading it to the target next?