LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tag names in MultiColumnListbox

Hi
I am trying to extract alarms from the historical alarm database and displaying it on a multicolumnlistbox. Instaed of displaying the alarm URL I would like to display the tag name. Is it possible? If so how do I go about doing it.
 
Thanks in advance
Sala
0 Kudos
Message 1 of 6
(2,869 Views)

Hi Sala,

I am guessing you're uding LabVIEW-DSC.  What version?  Also, are you using the 'Summary' display or the 'Alarm & Event' display?  The former displays just the tag names (in 7.1 at least). 

Regards,

-Khalid

0 Kudos
Message 2 of 6
(2,862 Views)
Hi Khalid
 
Its LabVIEW DSC version 7.1. I am using Alarms and Events display. I m trying to retriew historical data using the alarms and events enquiry.vi which doesn't let me connect an alarms summary display. I have attached my VI
 
Sala
0 Kudos
Message 3 of 6
(2,855 Views)

Sala, how are you?

I have come accross a very good example that will illustrate the different viewing options in LabVIEW DSC for alarms and events. Go to Help>>Find Examples>>Toolkits and Modules>>Datalogging and Supervisory Control>>Alarms and Events>>Alarms and Events Viewing Options.vi.

This VI displays different alarm viewing options when an alarm is generated. Please keep us posted and let us know if you have further questions. Thanks

Efosa O.
NIC

0 Kudos
Message 4 of 6
(2,812 Views)

Greetings Sala,

I have attached a zip file containing a modification to your VI which should do what you are asking but it comes with a big caveat and a warning/question.

First the caveat - in this modification I make use of an internal NI sub-VI.  Generally their use iis discouraged as NI makes no guarantee that their behavior will remain constant between releases.

Next the warning/question - the alarms in the database use the URL to store a great deal of information - machine name, process name, tagname and alarm condition.  While this modification makes it possible to see only the tagname you lose the additional information so, if you have multiple alarms associated with a single tag, the output could be confusing.

I hope this helps.

Khalid - the summary only shows data in the engine rather than historical.

 

Regards,
Robert
0 Kudos
Message 5 of 6
(2,786 Views)
Hi Robert
 
Thanks for the help. This is exactly what I need. Thank you
 
Sala
0 Kudos
Message 6 of 6
(2,760 Views)