08-20-2013 06:47 AM
HI,
I'm creating an executable whose purpose and to make the creation of a winPE bootable USB key easier.
In order to create the key, i need to run several commands with the systemexec.vi. Many of these command take ages to finish so i need to know if the command is still running or not.
What would be great is to have a live update of the command prompt. I guess there should be a way to insert the command prompt in a subpanel or another container?
Best regards
Solved! Go to Solution.
08-20-2013 06:50 AM - edited 08-20-2013 06:53 AM
Hi
yes you can : function -> Connectivite -> librairy -> Cmd system
I think this is what you are looking for. Tell me if it's ok.
EDIT : I'm bad... it's not live. I keep searching
08-20-2013 06:56 AM
Hi,
thanks for asnwering.
Yes, what you explain is how to run a command with labview.
This works great but all i can see is a black screen while i want to have what the command returns in live. For the moment, i can just have the standard output of the command once it has finished and not in live.
08-20-2013 08:18 AM
Try redirecting the standard output to a file, like in this example:
ping 192.168.0.46 > out.txt
If your utility supports redirection, you can read the file content from time to time.
Beware to choose a working directory where your user has write permissions.
08-20-2013 09:11 AM
So neat !
I works, thanks pincpanter!