LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with manage user operation on multiple instant of LabVIEW applications.

Solved!
Go to solution

I am in responsible for maintaining applications created by my ex coworker. Let says he created 3 LabVIEW applications A, B, C. When A is launched it will also launch B and C (use command line-vi to call exe of B and C). Now I need to add the user management features which user need to login when launch A or re-login when he interact with either A, B, and C after time out. I also need to know the event the user generate on each instant. I want to focus on the second feature here. Is there a way I can catch the event when user click on any instant of LabVIEW? Because I hope that I can build a central vi to monitor all of this at once. Or should I monitor the interaction with user on individual application?

 

 

Thanks in advance.

0 Kudos
Message 1 of 2
(2,565 Views)
Solution
Accepted by topic author NTT

I don't think you will be able to have a separate event structure that will capture events from multiple front panels very easily. You cold register for events based on references to the controls buyt them you need to pass the references around your application. What I would do is create a set of user defined events and when the local event structure detects an event of interest it can generate the specific user event associated with that control. If you simply need to know that there is user activity you could use a generalized user event to specify that there was user actions. You can create a very simply action engine that creates the user events and then the other areas of code can get the reference to your user events by calling the action engine.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 2
(2,536 Views)