08-31-2010 12:38 PM
Hello,
I was wondering on how to check who is logon so I can disable some buttons on the simple interface.
Also, how do I disable the loginLogout Front-End callback once we start the simple interface.
I'm using CVI 2009.
Thanks
09-01-2010 04:01 AM
Hi,
There should be a variable in StationGlobals about the last user logged-in.
You can use its value and check its priviliges to decide on disabling the buttons.
For disabling the FrontEnd callback, I suggest defining your own Model.
Copy-paste the NI model files into the <User> folder and modify them according to your needs.
Do not forget to adjust the settings of your sequence file to use the modified model.
Hope this helps,
09-01-2010 07:16 AM
Thanks for you information, but it's not exactly what I was expecting.
I more interested in using the activeX control to do that directly in the simple interface source code but I never used it before.
I want to learn how to use the function that starts with TSUI_.
I know that the TSUI_ApplicationMgrStart() will lunch the communication with TestStand and will ask for the login before everything if the LoginOnStart is True. I want to modified that property to false so I wont ask the login until the operator press the loginlogout button by him self.
09-01-2010
12:20 PM
- last edited on
10-20-2024
12:22 PM
by
Content Cleaner
Hi Goncalo,
I'd reccomend that you use some of the User Management features. Here is some more info from the TestStand Online Help.
You can set permission and then disable certain features depedning on what permissions the users has.
Post back if you have more questions!
Regards,
09-01-2010 12:44 PM
Is there a website with some tutorials or exemple on how to use TestStand activeX in CVI?
I see that in the simple interface source code a lot of activeX jis used and I wish I could understand how it works.
Thanks