Alarm and event logging has stopped

Alarm & Event Logging with Citadel 5 and Lookout 6.02.
I have a continuously running application that stopped logging alarms and events approx. 6 weeks ago. (March 07, 2010) The problem went unnoticed until a recent event/alarm sequence needed to be investigated. Data traces are not a problem. They are visible using MAX as well as with Lookout hypertrends. However, MAX shows nothing for alarms or events past that date. (No problem earlier, going back to 2002)
The Alarm panel in Lookout will show the alarms and events as they occur so I know they're being detected.
I understand that the data traces are logged to Citadel, whereas alarms and events are passed to the MSSQL server. (In my case the free version that comes with XP - SQL Server Express I believe.)
This version has a database size limit of 4 GB. What exactly does that mean?
An *.mdf file >4GB cannot be created?
An *.mdf file >4GB cannot be read?
The total size of all *.mdf files cannot exceed 4GB?
Curiously the file in use is 1.99GB. When archived, it is only about 750 MB, yet the total number of alarms and events are the same in each. There are other *.mdf files that exist on the system but aren't in use.
NI document 4GPBLT21 states  "Once that limit is reached, the alarm and event data is logged to the high performance Citadel database". Then what? Is that data viewable with MAX?
MAX doesn't appear to have any tools to selectively delete old alarms or events.
How can I determine what has happened and what do I need to do to restart the logging?
Any and all help most welcome.
Bob L

Lookout 6.0.2 uses SQL Server Desktop Engine which has the limit of 2G, so your alarm/event database has already reached the limit.
After the SQL database is full, the alarm/event will be logged to Citadel database. But this maybe reduces the performance of Citadel, that's why we log alarm/event to SQL Server first. But I'm not sure why the alarm logging is stoppted.
To delete the alarms from SQL Server is not straightforward. One way is to archive it. Follow the steps below.
1. In MAX, create a new database in different folder.
2. Create a Trace View and add the whole old database to the trace view.
3. Right click on the Trace View and select Archive. Archive all to the new database. You don't need to specify the time range.
4. After the achiving, the new database will have all the trace data and no alarm data in it. You can detach the old database.
In Lookout, select File->Modify Process to change the database to the new database. Or you can change the system default database from Option->System. And then the lookout process will use the new database which has no alarm in it.
You can keep the old database files. All the data and alarm/events won't be lost. When you need them, you can attach the database.
Ryan Shi
National Instruments

Similar Messages

  • Alarm and Event Query Very Slow

    Group,
    I am using the DSC Alarm and Event Query vi to pull data from the SQL database (not the Citadel).  I have a filter set up that specifies the "Alarm Area" and the start and stop dates with maximun results set to 22.  These dates are set to only pull the last 24 hrs.  This vi will return around 10 to 20 entries out of perhaps 80-90 total events in the last 24 hours in the database.   This database is ~2M in size.   I have to set the timeout to almost 10 min for this vi to not produce a timeout error.  The results returned are correct but it just seems that the time to run this vi is excessive.  It is quering a database on the same system that the quering vi is running on.  Should I expect better preformance?
    Thanks
    Todd

    Verne,
    I have boiled down the code to this attachment.  This query took almost 7 min to return 22 results from a database size that is listed as 2.09877E+6.  I have also tried the Alarms and Event Query to spreadsheet vi also and it takes the same amount of time.  I am wondering if I place the Alarms and Events into the same (Citidel) database that the traces are going if it would be much faster.  I seem to get trace data back very fast.  If I recall correctly I seperated the alarms from the trace because I was having some sort of problem accessing the alarm data in the combined database...but that was several labVIEW versions ago.  Anyone else having this problem?
    Thanks
    Todd
    Attachments:
    Generate Alarm Log General Test.vi ‏19 KB

  • "alarm and event display" crashes my application

    Dear All,
    I use the "alarm and event disply.vi" in my DSC application. It works fine: I can acknowledge alarms, events etc. BUT...
    When I double click the alarm item (or press Alt-Enter) and watch the alarm properties in the Alarm Properties dialog, I can usually watch the properties for some time, selecting the next or previous alarm item, but most often than not, my application just crashes. I don't get any LabVIEW error dialogs. Only Windows is telling me that the application stopped working and it just closes giving me no explanation. Sometimes I don't even see the Windows message. 
    I've tried this on two different computers... same boat!
    I'm using:
    - LV2011
    - Windows 7
    In my application I create the shared variables programmatically, set alarm thresholds programmatically etc.
    Anybody had the same problem?
    regards
    Witold Nocon

    Well…I think I have isolated the problem, and I have recreated it in the Boiler example. Here’s what’s happening:
    If you watch the properties of the alarm in the Alarm and Event Display, and if this alarm “disappears” at this time, the application will crash. This will happen for example when this variable is set to AUTO ACK.
    You can try setting the R02 pump to zero. This will cause the L01 level  to increase reporting an alarm. Now if you set the flows so that the level start decreasing (I set the outflow to max, and the inflow tozero), and immediately click the HI HI alarm and watch it’s properties, the application will crash at the time when this alarm is cleared due to the decreasing level  (AUTO ACK).
    It also seems a “little non-deterministic” but this may be my own impression.
    Anybody had a similar problem or is able to recreate it?

  • Alarm and event notification DSC

    I can't understand the functionality of these DSC VIs:
    Acknowledge Alarms .vi
    Set user Defined Alarms .vi
    Request Alarm & Event Notifications .vi
    I appreciate any guide.

    Hi Maryam,
    Acknowledge is where the sequence action that indicates recognition of a new alarm.
    Where an alarm is an abnormal process condition. In the LabVIEW Datalogging and Supervisory Control (DSC) Module, an alarm occurs if a shared variable value goes out of its defined alarm limits or if a shared variable has bad status.
    This is the URL of the DSC module Glossary:
    http://zone.ni.com/reference/en-XX/help/370246D-01/lvdschelp/dsc_glossary/
    If you want to know more about the general functionality of alarms and events and what to use specific VIs for.
    The fisrst call as I said previously should be the context help, check the example library and the NI developer zone. Another reasource which you can check is the DCS module "VI, Function, & How-To Help".
    Click on the "Help" then "VI, Function, & How-To Help", expand the following items in the tree structure "DSC Module"> "DSC Module VIs & Functions" > "Alarm & Events VIs".
    For future reference it would be helpful in future if you gave more information in your posts eg what version of LabVIEW you are using - so can post back relevent versioned example code.
    And what you are trying to do - why are you interested in the DSC alarm VIs, could make more specific replies given this information.
    Sorry if my initial replies are basic but I had no way of knowing the level of information you were looking for and you did not say what you had already tried/ looked up.
    Alarms can be used in many applications but as I said their basic functionality is to alert the user to an abnormal process condition eg sub/super limit values or bad status.
    I hope the above helps but if you require more information please let me know what it is you specifically want to know.
    Regards,
    Emma Rogulska
    NIUK & Ireland

  • Unwanted interface Alarms and Events in PI2.0

    We receive a lot of interface events and alarms from our 3560s access ports. We have not deployed any interface monitoring yet but still hundreds of alarms and events warns us about interfaces going up and down. Anyone who know why Prime is monitoring all interfaces and how to disable that?
    Many tanks in advance       

    Additional lab tests shows that all interfaces of a device indeed is monitored by snmp. When an interface changes from UP to DOWN/DISABLE an event and an alarm is generated. We have not deployed any "Interface health montoring" and still the interfaces are monitored. Not good for access ports.
    As a workaround we created a new Interface health monitoring template with the interface availability check disabled and just one other check enabled (interface util) and deployed it on two specific ports on a switch. Did not help. Alarms were still generated when the access ports were disabled.
    Any ideas?

  • I have a 2 year old MacBook Pro and the superdrive has stopped working, it won't take discs in as if there is one already inside but iTunes or the dvd player doesn't recognise that there is a disc inside and if there is it can't be ejected

    I have a 2 year old MacBook Pro and the superdrive has stopped working, it won't take discs in as if there is one already inside but iTunes or the dvd player doesn't recognise that there is a disc inside and if there is it can't be ejected, i have tried shutting down and restartinf while holding down the trackpad, as recommended on some forums but that has done nothing
    It might be a huge coincidence but the drive was working fine before i installed lion?

    Installing Lion would not cause the superdrive to stop working.  Are you unsure as to whether or no a cd/dvd is inside?  Something may be broken inside and you should consider bringing it in for service.

  • Prime Infrastructure: Can you export Alarms and Events?

    Hello
    In Prime 1.4, you had the ability to export the alarms and events you saw being reported, at least according to the PDF manual: http://www.cisco.com/c/en/us/td/docs/wireless/prime_infrastructure/1-4/configuration/guide/pi_14_cg.pdf
    I want to export these events and alarms that can be found in the Monitor section of Prime 2.1, but the export option does not seem to be available.
    Does anyone know if it is possible to export these via a scheduled report or by looking in a particular place on Prime? I would like to import the information into Splunk to see if we can gain an insight into the information that is being collected.
    thanks
    Bryn

    HI,
    Did you ever determine an answer to this question? I really need to export data after a certain date... (I would also like to publish a calendar, after a certain date-- as no one needs to see the "old" events).
    Stu

  • I have downloaded ios 5.1.1 and the wifi has stop working or it would stay on for less then 20min its only 9 months old can someone explain what is happening and if some know how to fix it

    I have downloaded ios 5.1.1 and the wifi has stop working or it would stay on for less then 20min its only 9 months old can someone explain what is happening and if some know how to fix it

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • Just downloaded itunes version 10 .2.2 and my iphone has stopped working. now showing fault on itunes asked to reinstall. Why has this happened?

    just downloaded itunes version 10.2.2 + Qucktime and my ipohone has stopped working!
    I am told there is a fault in my itunes software and I must reinstall.
    Why has this happened, is there a fault with this new version?

    Whilst I don't have an answer, I hope a knowledge specialist does.I've seen numerous posts like this.After 10.2 update I lost library and haven't been able to actually connect my iphone to itunes for the upgrade. Each time I connect the iphone my system crashes. There was NOTHING wrong with my itunes or system until the point of update. There doesn't seem to be support, despite the extent of this problem. My iphone seems to need an update as its overheating and battery life is a nanosecond. BEYOND FRUSTRATED! All input welcome.

  • I am using Elements 13 and photoshop editor has stopped working can you help

    I am using Elements 13 and photoshop editor has stopped working can you help

    hi Andaleeb sorry to hijack Stephanie's thread!
    I don't get any crash reports, it starts to open then just stops, nothing happens. ive tried getting in through the organiser but that doesn't work either.
    I think my laptop is Windows 8 (its a fairly new laptop, does that sound about right?)
    it was working Saturday I'm quite new to using it so no real workflow, just playing around with effects. ive only had it about a month
    Thanks
    Natalie

  • Alarming and Event Data Storage Locations

    I'm having a problem where the Alarms and Events files are filling up the system disk and causing Lookout to crash.  Is there any way I can set things up so that those files are stored on another disk?  I already have the Historical files being archived on a separate disk, but the alarms and events seem to have stayed on the System disk.  The system disk doesn't have that much free space all the time, which is why I put the historical files somewhere else.
    Also, I have the Historical Data system set to only archive data for 90 days (it was changed a while back from storing perpetually), but I still have files in the database going back years.  Is there a way to purge the old data out?
    David Dudley

    David,
    It's important to note the alarms and events are actually in a separate database from Citadel. 
    This KnowledgeBase article discusses removing/archiving alarms from the database:
    http://digital.ni.com/public.nsf/websearch/B23BDD585BAEB25086256C00005C2851?OpenDocument
    Moving the alarms database is a bit more tricky.  It uses the MSDE 2000 SQL engine, which defaults to using a database on the drive it gets installed to.  I think short of installing Lookout to another drive, there's no "easy" way to move it over.
    Message Edited by Paul M. on 04-08-2006 12:16 AM
    --Paul Mandeltort
    Automotive and Industrial Communications Product Marketing

  • [Bug?] DSC - Clusters Different between 'Read Alarm.vi' and 'Alarm and Event Query.vi" but Contain 'Same' Data

    Howdy!
    Why are the clusters different coming out of the Read Alarm.vi and the Alarm and Event Query.vi when they have the exact same data?
    The only difference is the order of two last elements.
    I am leaning towards bug on this one, unless these clusters need to be distinct for some reason?
    Certified LabVIEW Architect * LabVIEW Champion

    Thanks for posting Ravens Fan
    I re-jiggered my API to reverse my datatypes then applied changes to my application code.
    It wasn't that painful to update. 
    My current understanding is that this bug affects one VI, so I decided it was easier to wrap that VI with the bugfix.
    Attached is my implementation if anyone wants it too.
    Cheers
    -JG
    [LV 2009]
    Certified LabVIEW Architect * LabVIEW Champion
    Attachments:
    Alarm & Event Query_bugfix.vi ‏30 KB
    Convert Alarm And Event Query Cluster.vi ‏21 KB

  • I have only had my iphone 5s for two months and the charger has stopped working. Is there anyway that I can recieve another.

    I have only had my iphone 5s for two months and the charger has stopped working. Is there anyway that I can recieve another.

    take it to an Apple store genius bar ,it has 12 months warranty and they will check it out

  • Out of the blue my iPhone 4S home button and notification centre has stopped working.

    Out of the blue my iPhone 4S home button and notification centre has stopped working. I used the phone and switched it off. The next time I turned it on they weren’t working. The phone wasn’t dropped on banged around. – Any Ideas, Anyone??

    Basic troubleshooting steps clearly outlined in the User Guide are restart, reset, restore from backup, restore as NEW.  Have ALL of these steps been tried?
    If you've been through ALL these steps and still have problems, you'll need to bring your phone into Apple for evaluation.

  • The sound on all of my game apps and my alerts has stopped working. Still works for Netflix, Hulu, YouTube... Anything video related. Anyone else have this problem or know what I should do to fix it?

    The sound on all of my game apps and my alerts has stopped working. Still works for Netflix, Hulu, YouTube... Anything video related. Anyone else have this problem or know what I should do to fix it?

    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

Maybe you are looking for