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.
I am writing a VI which is launching a PERL script through CMD using the LabVIEW system exec.vi block. I am trying to redirect the standard output to a text file. Based on the link below, I am told that this is impossible. I am wondering if anyone has figured out a way around this without using a batch file or something like that. I want to use the redirection with the system exec block , and not have to add any extra steps.
What I mean is that it is impossible to directly do so, in my application, using the batch file is probably unacceptable. I need to be able to directly use cmd without that batch file trick.
What I mean is that it is impossible to directly do so, in my application, using the batch file is probably unacceptable. I need to be able to directly use cmd without that batch file trick.
Just for pure curiosity: what is the reason you exclude using a batch file? You can easily create a temporary batch file using LabVIEW, run it, then delete the file...