11-27-2025 08:51 AM
i want to detect the abort excution button in labview so that i can use its signal
( if a signal can be generated when the user click non the abort button of labview ) to make one last call to the termination task inside the vi
11-27-2025 09:04 AM
you can detect the X as panel close? event, but not the abort button afaik. code on rt doesn't support ui events at all, despite your device supports embedded ui and is enabled
11-27-2025 09:14 AM
11-27-2025 09:20 AM
Don't try and detect it, instead, remove it.
11-27-2025 09:20 AM
not an application but subvies i want to use the abort button to stop the excution of the running task and then i want to run the terminatoin task after the abort button has been pressed ( tis is the requirnement no my design option )
11-27-2025 09:25 AM
11-27-2025 09:26 AM
The abort button can be removed from any VI.
If you want to stop your application from a sub-vi, then maybe create a stop button in your sub-vi? 😇
11-27-2025 10:58 AM
@thesara wrote:
not an application but subvies i want to use the abort button to stop the excution of the running task and then i want to run the terminatoin task after the abort button has been pressed ( tis is the requirnement no my design option )
It's a terrible requirement. I'm just gonna say it. Is there an explanation as to why you would want to do this and possibly leave the station (and more importantly the UUT) in an unknown state?
11-27-2025 11:06 AM
@thesara wrote:
not an application but subvies i want to use the abort button to stop the excution of the running task and then i want to run the terminatoin task after the abort button has been pressed ( tis is the requirnement no my design option )
Out of context, this sounds ridiculous and hints at serious architectural problems. Written by a non programmer.
Can you show the full requirements?
Anything on the he LabVIEW toolbar is for use during development and debugging. It has no purpose on any program operated by a user.
As a fists step, also define your terminology, for example what do you mean by "stop the execution". Going back to edit mode? Again, edit mode has no purpose for the user.
A proper application used by others will be a state machine that runs hen opened and ends when done. All running dependencies will end automatically.
11-28-2025 01:14 AM - edited 11-28-2025 01:15 AM
Hi thesara,
@thesara wrote:
not an application but subvies i want to use the abort button to stop the excution of the running task and then i want to run the terminatoin task after the abort button has been pressed ( tis is the requirnement no my design option )
You already have been told NOT to use the "stop execution" button in the VI menu, but still you ask for it.
And you have been told to keep your discussion in one place so ALL have the same information about your questions and requirements, but again you started a new thread for the very same problem!
It seems to me you ask us questions but refuse to learn from the answers…