NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Enable/Disable Login/Logout Options in TestStand

Hi,
I have problem usign my TS3.1 and user interface.My concern is once i logged in(File->login) as administrator in TS,why is the login option in the  file menu appear again.Also how can i disable this appearance in logged in state.Same is the case with "logout" option in File menu.
Please cooperate with me to resolve this issue.Let me know your valuable comments.
Regards,
Nandu
+91-080-28412015 EXt (373)
0 Kudos
Message 1 of 7
(5,052 Views)

Hi,

This is normal operation.

If you were to select Login, the current user would be logged out before the Login Dialog appears.

You can't change this with the SeqEditor, but you could change this behaviour with your Operator Interface, but you would have to modify the code and rebuild the Operator Interface. I haven't looked at the code, so I dont know if it would be an easy or complex task.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 7
(5,044 Views)

Hi,

Thanks for the reply.We glanced  into the OI codeset,but we dont have any idea to disable this option.

Please let me know if any of you have other ideas.

Regards,

Nandu

0 Kudos
Message 3 of 7
(5,041 Views)

What version of the Operator Interface are you using.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 7
(5,019 Views)
Hi Ray,
We have have taken OI which comes with TS3.1 as the baseline codeset.We have a lot of revised versions internally.
Also we could enable/disable the login entry as well as privileges with various combination like (user to user login )(user to admin login)(admin to user login)(admin to admin login)modes in theOI codeset,but we couldnt mask the display of login in the file menu once we are inside logged in state.Please let me know how to mask out login and logout buttons in the file menu.
Regards,
Nandu
0 Kudos
Message 5 of 7
(5,011 Views)
Hi Nandu,
 
You didn't mention what programming language your operator interface is in so I am going to assume its in LabVIEW. The Full-Featured LabVIEW Operator Interface contains a Run-Time Menu which displays the File, Edit, ... menu bar.  This menu bar can be edited during development time by selecting Edit >> Run-Time Menu.  To access the menu bars programmatically, see the Menus palette under Programming >> Functions >> Dialog & User Interface >> Menus. This palette contains a VI called "Set Menu Item Info". This VI allows you to disable a item in the menu. Thus you could disable the Login item. 
 
Now the question occurs when do you want to call this VI. I would suggest looking at maybe using UI Messages for this task. You could post a UI message in your FrontEnd Callback after the login step occurs. Then in the UI Message Callback, call this VI that disables the menu item.
 
Hope this helps!
 
Best Regards, 
Jonathan N.
National Instruments
0 Kudos
Message 6 of 7
(4,964 Views)

Hi ,

Thanks for your replay.I am very sorry that i forgot to state about the language i used.Its LabWindows CVI 7.1.Anyway we had contacted

NI guys here locally and got the issue resolved.One again thanking you for the extended support.

Regards,

Nandu

0 Kudos
Message 7 of 7
(4,956 Views)