09-22-2022 02:49 AM - edited 09-22-2022 02:51 AM
I'm writing an application perform some programming and testing of a PCBA.
To perform the programming i run a windows batch file - calling it with the system exec vi.
When i run this in command line i can see what is happening (see attached image)
When I call it in labview with System Exec - I just get a White underscore that flashes while the batch file
runs (see attached image), but i do know it runs successfully.
I get the same issue when I call a test script to run later in the program.
Does anyone know around this?
I'd really like to be able to see what is happening when the program is running.
Solved! Go to Solution.
09-22-2022 03:18 AM
You probably want it like this:
Add a space after /c
Check https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cmd for a reference on the cmd switches.
09-22-2022 03:34 AM
Hi.
Thanks for your response.
I did try your suggestions but still get the same flashing underscore and nothing else.
Many Thanks,
09-22-2022 05:13 AM
Then try to slowly work up to it:
Try
Then, create a file test.bat in that folder
echo this is a test
timeout /t 5
and call it:
The output should then come up in standard output.
If you want to actually see the output in the window, you can try setting the boolean to false:
10-14-2022 07:33 AM
That's worked - thank you.