LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DSC and security features: automatic logout

Solved!
Go to solution

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

0 Kudos
Message 1 of 6
(3,954 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 6
(3,951 Views)

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

 

0 Kudos
Message 3 of 6
(3,948 Views)
Solution
Accepted by topic author ThHagel

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

0 Kudos
Message 4 of 6
(3,905 Views)

Hi Thomas,

 

You indicated this Q was solved.

 

 

What approach did you use?

 

Just curious,

 

Ben

Message Edited by Ben on 01-22-2009 11:18 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,896 Views)

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. :smileyindifferent:

 

I guess your way to handle that problem will work for me too...

 

Regards,

Thomas

 

 

 

0 Kudos
Message 6 of 6
(3,892 Views)