Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

AlarmEvent Browser will not print to a htm report.

I am running multiple simultaneous batch processes that print a report at the end of each batch.  In addition to the process data I want to include a summary of the alarms that occured during that batch.  I tried usin gthe AlarmEvent Browser object but it shows up as a black block on the .htm report.  I tried this both by connecting the browser's graphic member to the report's display member and by dropping the browser onto a panel and connecting the panel's graphic member to the report's display member.
 
I was going just do another SQL call via a datatable into the database but I read online that there is no direct SQL acess to the alarms.  One article said I could export all the alarm info to a .csv file and then query the .csv file with SQL to get the data.  This sounds really involved and I would like some assurance that this will work without operator intervention and that there is no easier way to do this.
 
Thanks in advance for your help.
0 Kudos
Message 1 of 3
(5,008 Views)
Aother possible way occured to me is to write the alarm to datatable one by one.
When an alarm is generated, $alarm.update will pulse. Then you can get the alarm information from $alarm.message, $alarm.process, $alarm.tagname, etc.
When $alarm.update is on, write the alarm's information to the datatable using the cursor.
Ryan Shi
National Instruments
0 Kudos
Message 2 of 3
(4,999 Views)

Thanks Ryan,

That's probably slightly less involved.  Still have to do all my filtering manually to exlcude the alarms reported by other batches but should be managable.  Too bad the activeX control could not be displayed properly.  Good intentions.



Message Edited by bythmuster on 12-20-2007 12:48 PM
0 Kudos
Message 3 of 3
(4,993 Views)