01-15-2009 09:29 AM
Hello,
I'm using the security features of LabVIEW 8.5.1 and the DSC module.
Does someone know how to enable the automatic logout feature (logout after a specified time without user interaction)?
Thanks in advance.
Tom
Solved! Go to Solution.
01-15-2009 09:45 AM
ThHagel wrote:Hello,
I'm using the security features of LabVIEW 8.5.1 and the DSC module.
Does someone know how to enable the automatic logout feature (logout after a specified time without user interaction)?
Thanks in advance.
Tom
The last time I looked there wasn't a way to automatically logout a user.
In my case I created a backgraound process that checked a timer VI (implemented as an Action Engine) to compare the last activity time, with the current and then explicitly log them out when the time expiered.
"Mouse Move" events in all of the GUIs reset the timer.
If this has been automated I would like to hear about this.
Ben
01-15-2009 10:16 AM
Hi Ben,
thank you for your answer.
I expected that feature because I read the document "Using LabVIEW to Create FDA 21 CFR 11 Compliant Applications" published in the NI Developer Zone (http://zone.ni.com/devzone/cda/tut/p/id/4570).
Here's the important section:
....
The DSC module includes a function to programmatically log out a user. In addition, you can design your application so that a user clicks a button to log out if he/she needs to leave the system. The DSC module also has an automatic logout feature. You can configure a time period of inactivity after which the user is automatically signed out to ensure that the system is vulnerable only for the amount of time you set. Once users sign out, they must provide their user name and password to access the system again.
....
This is exactly what I'm trying to do and during project planning phase I was (of course) relying on the existence of that functionality. Are you sure it's not available?
If your right, someone should change that document. This might be pitfall for others too!
Would you provide screenshots of your solution or even your VI's?
Thanks.
Best regards,
Tom
01-22-2009 10:23 AM
Hello Ben,
meanwhile a NI-Support-Engineer provided an answer for that issue:
....
If you are using LabVIEW DSC 7.1 there should be an
option in the menu where you can set the minutes of inactivity
until the automatic logout.
In LabVIEW 8.x you will have to implement this on your
own. There is a VI that will do the logout itself but the
timing needs to be implemented by yourself.
....
So Ben, you are right: this functionality is simply not available anymore in LabVIEW 8.x!
There is an KnowledgeBase document targeting that problem:
http://digital.ni.com/public.nsf/allkb/0A8C5B624365A25E8625721100548970?OpenDocument
but the contained example VI doesn't make too much sense.
The problem is that the DSC_Lougout.vi ignores the "idle" in "Minutes idle until logout". It simply logs out the user after a specific time elapsed without considering if the user is still active.
Regards,
Thomas
01-22-2009 11:17 AM - edited 01-22-2009 11:18 AM
Hi Thomas,
You indicated this Q was solved.
What approach did you use?
Just curious,
Ben
01-22-2009 11:37 AM
Hi Ben,
solved in the meaning of "knowing the facts".
I did not use any approach yet. I will have to implement it somehow. That's the solution.
The problem is that the application was already finished and I expected to simply switch on that security feature. Implementing it now has quite an impact to the projects timeline.
I guess your way to handle that problem will work for me too...
Regards,
Thomas