LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Published Variable Monitor

Hi all,

I would like to know if there's any way to access the "Alarms & Event Part" of the "NI Published Variable Monitor" and its "Select Process" property into a VI.

0 Kudos
Message 1 of 4
(3,036 Views)

Hi Maryam,

What is it that you want to do with this feature? What data do you want to be able to retrieve. There are some functions available for engine control in the DSC Module, so that you can deploy and undeploy libraries, see all current processes and their run state etc. These function are available on the 'All Functions>>DSC' palette.

If these aren't what you are looking for, can you give me some more information on what you want to do, and I'll get back to you

Regards

Hannah
NIUK & Ireland

 

 

 

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

Hi Hannah,

Well, what I want to do is listing all real time alarms accruing in a process. I used an Activx countainer with an AlertBrowser control but I couldn't determine the process I want to read alarms from. But it's possible in Published Variable Monitor by right clicking on the alarms and selecting the Select Proccess from the shortcut menu. I need such a property for AlertBrowser but it doesn't work. And it lists all the alarms of any process on the machine.

 

Now I'm using Read Alarm function for real time Alarm reading. I have another problem with Event structure. Using value change for Alarm instance, I want to update an Alarm list. But ValueChange option for this case (a programmatically change) doesn't work. I guess I should use value (signaling) property for alarm instance as an indicator (the output of Read Alarm function) but I don't know how.

 

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

Hi Maryam,

There are some examples that ship with LabVIEW and the DSC module that should show you how to do it. There is an example called 'DSC Module Simple Process Monitor' that when run will give a list of all the currently deployed processes (libraries), when you click on the process you are interested in, it will display all the variables and the alarms that occur.

There are other examples for the DSC module that give you ideas of how you can achieve what you need. Open the example finder from 'Help>Find Examples' menu, and then expand the 'Toolkits and Modules' section, under here expand 'Datalogging and Supervisory Control' and then 'Alarms and Events'.

This shows the example I mentioned, which should demonstrate the kind of feature you are looking for.

I hope this helps

Regards

Hannah
NIUK & Ireland

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