From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-29-2024 02:08 AM
Hello everyone,
I need to make some calculations by calling execution file from LabVIEW, like adding two numbers and give back the result.
I attached an example.
but in my project this operation should be executed in less than 100ms.
and here it takes almost 1-second to open the command prompt and execute.
but when I call the execution directly from the CMD (without LabVIEW) it doesn't take more than some ms.
even when calling it from Test-stand using EXE-Call it takes only a few ms.
but when calling it from LabVIEW is takes more than 1-second
any advice?
Thanks in advance.
Solved! Go to Solution.
07-29-2024 04:10 AM
Hello,
since we don't have your CLI- program, we can't test your setting. As a hint:
07-30-2024 09:05 AM
Sorry, cannot currently look at your VI (consider "save for previous, 2020 or below before attaching), but just adding two numbers is probably more easily done directly. How complicated is the calculation and what would it take to implement it in LabVIEW, avoiding the middleman?
07-30-2024 09:12 AM
Thank you for you reply,
actually my executable is more complex, but I gave a simple example.
I solved the problem by wiring the terminal 'run minimized?' to a true boolean.
so, my command is executed without waiting the command prompt to open.