ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
07-28-2025 03:44 AM - edited 07-28-2025 03:44 AM
Hello, I need to lauch a Python script form Labview. Where I can find a procedure or example that lists all necessary operation to do it? Thank
Solved! Go to Solution.
07-28-2025 03:59 AM
Do you just want to launch as if you were calling it from command prompt?
If yes, you need to use System Execute VI
07-28-2025 04:21 AM
Thank you. Probably I managed to launch the script (I have no Labview errors).
This script print a PASS/FAIL string in the command windows (I tried form Windows, with command prompt).
How can I get the string that is printed by the script?
07-28-2025 04:37 AM
Hi V.,
@V.Life wrote:
Probably I managed to launch the script (I have no Labview errors).
This script print a PASS/FAIL string in the command windows (I tried form Windows, with command prompt).
How can I get the string that is printed by the script?
The CallPython node would allow you to (easily) send/receive data to/from your Python code!
07-28-2025 04:50 AM - edited 07-28-2025 04:52 AM
I used System Execute. Labview is version 2023 Q3. Is it possible to use the "Standard Output" line of the System Exec function to get all data printed by script (it is composed by more lines of text)?
07-28-2025 04:57 AM
Hi V.,
have you tried the Python node yet?
@V.Life wrote:
I used System Execute.
Is it possible to use the "Standard Output" line of the System Exec function to get all data printed by script…?
Have you tried? It is as simple as connecting a string indicator!