12-22-2005 12:53 PM
12-22-2005 01:22 PM
7.1 has the properties for this inside the Toolbar part of the VI class.
The Front Panel Window part includes a Closable property.
Another option is to hide the abort button and instead use the Abort VI, which can be found in the Application Control palette. Add a case for it in your UI loop or make an indepedent loop for it. Obviously, the best solution would be to write the VI in such a way that you will be able to properly stop it, but I understand you can do that (why, by the way?).
12-22-2005 01:28 PM
Sure. You can do all that you requested.
1) Application Control --> Property Node
2) Right-Click --> Select Class --> VISA Server --> VI
3) Right-Click --> Properties --> Toolbar --> Show Abort Button (to control the abort button)
or --> Visible (to control the visibility of the toolbar)
and/or --> Front Panel Window --> Closable (to control the ability to close the window)
See the attachment (LV v7.1.1)
12-22-2005 01:34 PM
12-22-2005 01:37 PM
12-22-2005 06:39 PM
12-23-2005 03:08 AM
Riggy,
you should try to educate your users not to use the abort button. Start with yourself!
12-23-2005 03:14 AM
Warren,
Could you provide your Stop Example.vi for version 7.0 at all please? I don't have version 7.1.1 and cannot load it.
Thanks,
Riggy
12-23-2005 08:38 AM - edited 12-23-2005 08:38 AM
Message Edited by Warren Massey on 12-23-2005 06:39 AM
12-23-2005 08:50 AM
Henrik,
Since there is no way to intercept a press of the toolbar abort button, if it is important for the user to not press it during some phase of the execution of the program then I agree with Riggy, it must be hidden during those phases.
Warren