12-03-2014 03:24 PM
I have a piece of code, inside a larger application, which is in a diagram disable structure. When I run the main vi, no errors or warning. When a different person logs in and runs the code, a warning pops up stating there are errors inside the disabled piece of code. You can simply close the warning box and the code runs but I would prefer the warning not popup and cause panic in my operators. I don't find anything about this issue.
Thanks,
Vickie
12-04-2014 09:50 AM
Hello vickielfl,
I have a few questions for you to help you troubleshoot this issue:
1. Are you running this application as an executable or just as a VI? If it is an executable, did you build it with debug mode enabled?
2. Under File >> VI Properties >> Execution, do you have the "Allow Debugging" and "Enable automatic error handling" boxes checked?
3. Can you provide a quick screenshot of the error?
Regards,
Jae
12-05-2014 11:30 AM
1. Running a vi (not executable)
2. Turns out the problem went away the 2nd time the operator opened and ran the code so I couldn't duplicate the error.
Thanks for the reply.
Vickie
12-05-2014 12:21 PM
You sure these weren't crosslinking warnings? That could be a subtle, but serious issue.
12-05-2014 12:27 PM
Yes I am sure.
It was a warning saying the code in the disabled diagram was not executable because a tunnel assignment was missing.
12-05-2014 12:30 PM
@vickielfl wrote:
Yes I am sure.
It was a warning saying the code in the disabled diagram was not executable because a tunnel assignment was missing.
That's good. I just had to ask to get that question out of the way. 🙂