NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling the saving of Debug options with User Manager

Hi,

 

  I am trying to set the User Manager privileges in TestStand (version 3.5). Some operators need to use the debug features in the "Execute" menu like "Break on Step Failure". For these operators, setting any of the "Debug" privileges in User Manager enables this menu. My problem is that if these users leave any of these debug features (like turning on the "Break on Step Failure) and exit, this option is automatically saved and the next user will have this option turned on when he/she logs in. 

 

  Is there a way to turn off this automatic environment option saving on exit? Best would be to have a user-specific option for this automatic saving of the options.

 

  Thanks!

  Benoit

0 Kudos
Message 1 of 7
(3,839 Views)

Hello Benoit,

 

Are you setting these permissions for individual users (it sounds like you are) or are you setting users up to be governed by group permissions?  I do not have 3.5 on my machine, but I would be more than happy to try to reproduce this for you or help you find something you may have over looked.  Could you please add a screen shot of how you have these permissions set so that there is no confusion?  Thanks!

ColeR
Field Engineer
0 Kudos
Message 2 of 7
(3,817 Views)

Hi Cole,

 

  Thanks for your reply.  Attached you will see a snapshot of the User Manager window for a user that I would like to set as a Debugger. I would like to allow him to change the Execution settings such as "Break on Fail", but his changes should not be saved when he exits.

 

  Thanks,

  Benoit

Message Edited by BenoitProvost on 03-12-2010 09:55 AM
0 Kudos
Message 3 of 7
(3,799 Views)
You can modify the FrontEndCallbacks sequence to either reset when the user logs off or when a new user logs in.
0 Kudos
Message 4 of 7
(3,794 Views)

Thanks for the suggestion. Where can I find this sequence?  I searched in the model sequence, but could not find it.

 

Benoit

0 Kudos
Message 5 of 7
(3,746 Views)
No, it's in the Components\Callbacks\FrontEnd folder. The sequence is called before anything and is not part of any model.
Message 6 of 7
(3,742 Views)

Found it.

Actually, I ended up writing a small bat file that executes when a new user logs on Windows, which overwrites the configuration files with default versions. Not very elegant, but it works...  🙂

0 Kudos
Message 7 of 7
(3,735 Views)