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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Close windows application by Labview 2009

hi,

i would like to close a windows application (ie : scientific calculator) automatically by LabView 2009

i've read on differents posts that we must use API Win32 with the user32.dll, i have followed recommandations and procedures.

i have written the vi in attached file and tested it but unfortunatly it doesn't work, the windows "calculator" remains open without error message in the error cluster

Could you help me?

thaks a lot

 

0 Kudos
Message 1 of 6
(2,634 Views)

Hi Pimpon,

 

As you already got an answer on the French forum, I just place a link to it here for english talking people.

There were two suggestions :

Use Windows API Function Utilities (32-bit) for LabVIEW

Use .NET (see VI Snippet in the other forum post)

 

Regards,

Mathieu P. | Certified LabVIEW Associate Developer
National Instruments France


Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

0 Kudos
Message 2 of 6
(2,600 Views)

merci Mathieu,

 

Nous avons eu des réponses à notre problème et nous nous orientons vers l'utilisation de .NET

merci de votre réactivité...

0 Kudos
Message 3 of 6
(2,594 Views)

There is one function in labview called quit labview at programming --> application control -- > quit labview

 

Hope this will work

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 4 of 6
(2,584 Views)

Hi Ranjeet,

 

Thanks for your proposition. In fact your solution is for quiting LabVIEW itself, Pimpon wanted to close another program from LabVIEW Smiley Wink

 

Regards,

Mathieu P. | Certified LabVIEW Associate Developer
National Instruments France


Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

0 Kudos
Message 5 of 6
(2,579 Views)

hey Mathieu_P.,

                                    I didn't see that...i think i need my eye checked Smiley Very Happy

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 6 of 6
(2,569 Views)