03-23-2017 07:29 AM
03-23-2017 08:05 AM
What is an exit code and how are you getting that? Is this an application that is built into an .exe? How are you calling it that it gives you an exit code?
Please provide more details on your application. Perhaps even attach a VI that shows how you get that code.
03-23-2017 09:25 AM
Say, my LabVIEW VI has two components which are generating error codes. I want to be able get these error codes out of LabVIEW and pass it to another application. Currently, I am doing this operation by writing the error codes to an error file(txt file) and calling python to parse the contents of this file and send it to the other application as exit codes(python can generate custom exit codes). Exit codes are codes generated when an application terminates.
Link about exit codes:
https://msdn.microsoft.com/en-us/library/ms194959(v=vs.100).aspx
The problem here is that the other application that is supposed to receive information from LabVIEW, only reads exit codes to show if the run has passed/failed.
PFA, the VI that I have implemented using python
03-23-2017
10:00 AM
- last edited on
09-14-2025
04:04 PM
by
Content Cleaner
I searched the NI Site and only found 1 thing that is relevant.
Exit Code or Return Code Status Bit Returned from LabVIEW [broken link removed]