LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI2013 f1: how to cancel build process?

Solved!
Go to solution

how to cancel the build process after it's started?

I can't find a way...

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 1 of 8
(5,638 Views)

Unfortunately the Stop button is dimmed (let's assume its a bug Smiley Wink) BUT you can stop the build process using the menu command Build / Cancel Build

0 Kudos
Message 2 of 8
(5,632 Views)

Is there a bug ID and/or a CAR for this issue?

 

Even with f1 patch, I can't really use CVI 2013 for project development, since I has some important regressions compared to CVI 2012 SP1.

 

Thanks

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 3 of 8
(5,566 Views)

Hello vix!

 

Regarding Wolfgang's reply to your first post, the STOP button is not intended for controlling the build process (i.e. does not stop the current build). The STOP button is intended to stop the execution of a debugged program, and is dimmed when a build process is taking place, because CVI doesn't allow a user to run a project while a build is already taking place.

 

Despite of Wolfgang's remark, there isn't a known issue related to stopping the current build process. However, in response to your original question, in order to stop the current build, you have to press the 'Cancel Build' button located under Build » Cancel Build.

 

Have you tried to use the 'Cancel Build' button to stop the current build process? Is it not working properly?

0 Kudos
Message 4 of 8
(5,533 Views)

Hello jay_tee, despite your remarks Smiley Wink, where is the cancel button? 

 

As far as I understand your suggestion it's basically the same as mine, one has to use the menu due to the lack of a button Smiley Happy

 

So, if there is no cancel button now, why not improve CVI and use the available STOP button...:

 

If compilation is going on, the current STOP button will cancel/stop compilation, if the executable is running, the STOP button will stop the execution.

0 Kudos
Message 5 of 8
(5,528 Views)

Hello Wolfgang!

 

Yes, my answer to vix's initial question was basically the same as your's: the 'Cancel Build' menu item from the Build menu.

 

As of CVI 2013, the build process is not longer blocking the ADE UI anymore, so users can operate the CVI ADE independent of the currently running build process. Hence, the modal dialog from CVI 2012 has been removed. Because the dialog was removed, we moved the ability to cancel the current build over to the CVI ADE menu, amoung the other menu items related to the build process (e.g. Build, Rebuild, Batch Build...). However, we didn't want to modify the behavior of the STOP button, because it's main purpose has been closely targeted towards controlling the execution state of a debugged program. If we have changed it's behavior, we would also have to change it's naming, i.e. currently 'Terminate Execution' toolbar button.

Message 6 of 8
(5,523 Views)
Solution
Accepted by vix

Hello Wolfgang!

 

We have reached the conclusion, that there is a need for a 'Cancel Build' toolbar button in the CVI ADE. We will consider adding such a button in an upcoming CVI release. Thank you for your thoughts!

Message 7 of 8
(5,507 Views)

Great! I'm happy Smiley Happy

Message 8 of 8
(5,500 Views)