LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA close application with the "x"

Greetings,

Having a small problem with LABVIEW PDA. Made an application for a client. Works fine except the client is complaining that if he closes the program with the "x", it remains in memory(He then has to close it with the memory manager). I have given him a nice big EXIT button but sometimes by accident he still uses the "x". Is there any way to disable the "x" or make it Close the application. It looks like I can disable it from "VI PROPERTIES" but the PDA is at the client and I can no longer test. Will this work or does anybody have another solution.

Thank you
0 Kudos
Message 1 of 5
(4,260 Views)
Your suspicions are correct.

VI properties will prevent them from closing the FP.

You could also look at the FP >>> open property to decide if you should do what ever your big button does.

You could also configure an event that fires on FP >>>close.

Your idea if acceptable is the simplest aka best.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 5
(4,260 Views)
Ben,

Thanks for the detailed response.
I will just blocking the "x" from closing by using Vi properties. Client will be happy.

Thanks again.

J
0 Kudos
Message 3 of 5
(4,260 Views)
Currently the only way to hide the "x" button is to call the main VI as
a subVI and set the subVI's property to show its front panel (right
click and select SubVI Node Setup...).

By the way, tapping the "x" button makes the pda application runs in the
background. It does not kill the pda application. You can go back to the
pda application window by launching the task manager (Programs >> iTask)
and then tapping on the pda application name from the popup menu.

On an hp ipaq, you can launch the task manager (iTask) by pushing the
right most input button on the device (the one with the arrow symbol on it).

-mkm

ohw313 wrote:
> Greetings,
>
> Having a small problem with LABVIEW PDA. Made an application for a
> client. Works fine except the client is complainin
g that if he closes
> the program with the "x", it remains in memory(He then has to close it
> with the memory manager). I have given him a nice big EXIT button but
> sometimes by accident he still uses the "x". Is there any way to
> disable the "x" or make it Close the application. It looks like I can
> disable it from "VI PROPERTIES" but the PDA is at the client and I can
> no longer test. Will this work or does anybody have another solution.
>
> Thank you
Message 4 of 5
(4,260 Views)
Hold ON!

Check the other thread started by "uwmiko".

This behaviour may be different in the PDA's!

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(4,260 Views)