LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit the user access in the alarm and event display?

Hello

 

I am using DSC module in LabVIEW 2012 and find alarm and event display AcitiveX so interesting and useful. The only problem is that I do not want the user to have the ability to change the process or filter option. Is there a way to remove these options (i.e. “Filter Options…” and “Select Processes”) from right click menu? It should be mention that I would like the user to have the ability to acknowledge the alarms and events.

 

Thanks in advance

0 Kudos
Message 1 of 4
(2,922 Views)

If you create an EVENT handler for the event "Menu Activation? - user"  (note the question mark), then you have a chance to intercept the event AFTER the user has clicked on the control in question, and BEFORE the menu pops up. 

 

In that handler, you can remove items (if you know their tags), and offer your own items if needed.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 4
(2,858 Views)

Thanks a lot.

Is there an example for this?

I do not know how to remove items in right click menu and offer my own items.

0 Kudos
Message 3 of 4
(2,834 Views)

 Is there an example for this?

 

Yes:

Menu.PNG

 

 

I don't know anything about the "DSC module" but if YOU handle the control, then YOU can intercept the event and customize it.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 4 of 4
(2,817 Views)