From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Interactive Execution Window kills CVI?

Consider the following code:

 

#include <ansi_c.h>

double y;

y = cosh ( 1000.0 );

 

This (correctly) yields an ERANGE error. If this code is run in the interactive execution window a popup shows up reporting the non-fatal run time error. So far everything is fine...

However, if you now choose to select 'Continue' the complete CVI window disappears from screen - the only chance to continue is to use the task bar icon and select 'Close Window'. This closes CVI. Quite annoying.

 

As a side note: If the source code window contained changed unsaved code, the changes are saved without asking. Usually, if I want to close CVI I am asked if I want to save the changes - obviously, the task bar icon does not ask...

0 Kudos
Message 1 of 2
(768 Views)

Hi,

 

I had reported this bug some time ago and for my part it has been fixed in the latest release, CVI 2020. Which version are you using?

0 Kudos
Message 2 of 2
(748 Views)