LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Monitoring All Alarms

I am just getting started with my first DSC application.  The application I'm building requires the monitoring of hundreds of alarms.
 
Looking at the DSC functions, I see there is a ReadAlarms.vi that takes a shared variables array as an input.  I am able to implement this function, but it requires me to select each one of my shared variables explicitly.  Is there a way to tell the ReadAlarms.vi to monitor every shared variable in a library?  If not, is there another function you can suggest to monitor all of my alarms.
 
Thanks for your help.
0 Kudos
Message 1 of 5
(3,436 Views)
In the older DSC versions, you could assign each tag to a group. Then you could get a list of all of the tags in a group. This would result in an array of tagnames. I don't have 8.0, so I'm not sure if you can use groups with shared variables.
0 Kudos
Message 2 of 5
(3,425 Views)

There are no tag groups in LV 8.0 to wire into the Read Alarms function.

PhilP - do you just need to display the alarm information or use that information in other functions?

Regards,
Robert
0 Kudos
Message 3 of 5
(3,414 Views)
Robert,
For now, I just want to display the alarm information.
 
Phil
0 Kudos
Message 4 of 5
(3,410 Views)
In case anyone is interested, I found a solution to my problem.
 
I passed the name of my variable library (without the .lvlib extension) into Get Shared Variable List.vi.  If fed the output of that function into the ReadAlarms.vi.
 
phil
0 Kudos
Message 5 of 5
(3,405 Views)