05-10-2019 03:46 AM - edited 05-10-2019 03:47 AM
I just spend a lot of time figuring out a problem with some LabView-Code, because the error only occurs in the build of the project. When running the VI in development environment the error is just not generated!
In the screenshot you can see, that a property node is used to set a splitter bar at a specific place.
If the resolution is not high enough, the property node throws error 1358 - but only in the build, in the IDE the problem is just ignored! That made it pretty hard to find the place, where I have to deal with the error (as I now did).
Can anybody explain the reason of that behaviour to me?
05-10-2019 05:01 AM
@jusaca wrote:
I just spend a lot of time figuring out a problem with some LabView-Code, because the error only occurs in the build of the project. When running the VI in development environment the error is just not generated!
In the screenshot you can see, that a property node is used to set a splitter bar at a specific place.
If the resolution is not high enough, the property node throws error 1358 - but only in the build, in the IDE the problem is just ignored! That made it pretty hard to find the place, where I have to deal with the error (as I now did).
Can anybody explain the reason of that behaviour to me?
What do you use as error notification? The development environment probably has automatic error handling turned off, for executables it's on by default IIRC.
Put a error handling dialog behind the error, might give a more consistent result.
05-10-2019 05:44 AM
There was no error at all at the error wire when running in the IDE. I used the probe to check the error wire and it always is false.