From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to close Tabtip.exe programmatically

Hello.

I tried the search function but without success.

 

In my application that uses a touch screen, I open Tabtip.exe using 'system exec' vi and the user enters his data.

When that is done, I start a test, but would like to programmatically close Tabtip so the display is visible.

 

I tried using TASKKILL /F /IM TabTip.exe with 'system exec' but no luck.

When I use the physical keyboard with task manager to kill the process, there is a pop up that asks for a confirmation. May be that is the reason for Tabtip not responding to the LV kill command.

 

Anybody had success doing this?

 

Thank you.

 

0 Kudos
Message 1 of 8
(5,236 Views)

Hi LVmike,

 

Have you tried using taskkill with a different executable? Could you also post your VI or a screenshot of it? It would be helpful to determine whether it's a problem with your implementation of system exec or with the executable itself.

 

Thanks,

Applications Engineering
National Instruments
0 Kudos
Message 2 of 8
(5,191 Views)

Hi Daniel.

Here is an exemple vi. It is able to open Tabtip, but can't close it.

 

Thanks.

 

0 Kudos
Message 3 of 8
(5,187 Views)

Hm that looks like it should work. Have you tried opening command prompt while Tabtip is running and entering that command to see if it will close? Also, could you try executing the command with a different executable?

 

Thanks,

Applications Engineering
National Instruments
0 Kudos
Message 4 of 8
(5,180 Views)

Don't kill an application!  It could cause memory leak.  Close it nicely.

You can use "Quit Application.vi" in Windows API Function Utilities (32-bit) for LabVIEW:

http://www.ni.com/example/29935/en/

 

 

George Zou
0 Kudos
Message 5 of 8
(5,160 Views)

daniel.f a écrit :

Hm that looks like it should work. Have you tried opening command prompt while Tabtip is running and entering that command to see if it will close? Also, could you try executing the command with a different executable?

 

Thanks,


 

Daniel, I tried to kill Tabtip.exe from the command prompt, but got an error.

I tried to use notepad.exe instead. It is working with notepad.

Thanks.

 

Edit: I am admin on this computer.

0 Kudos
Message 6 of 8
(5,151 Views)

zou a écrit :

Don't kill an application!  It could cause memory leak.  Close it nicely.

You can use "Quit Application.vi" in Windows API Function Utilities (32-bit) for LabVIEW:

http://www.ni.com/example/29935/en/

 

 


Zou, I downloaded the libraries and tried them in LV 2013 and LV7.1, but they don't work.

I get error 6002.

 

Thanks.

 

0 Kudos
Message 7 of 8
(5,149 Views)

Did you entered the window title?  6002 indicates window not found.

Did you try it on a Notepad?

 

George Zou
0 Kudos
Message 8 of 8
(5,145 Views)