LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error occurs only in build, not in IDE

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?

 

Unbenannt.PNG

 

0 Kudos
Message 1 of 3
(2,145 Views)

@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?

 

Unbenannt.PNG

 


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.

0 Kudos
Message 2 of 3
(2,112 Views)

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.

0 Kudos
Message 3 of 3
(2,104 Views)