Alarm & Event Qery Error

I have an application with LV & DSC 8. I've created a project with libraries and shared variables. A VI is designed to retrieve Alarms and Events from citadel database using "Alarm & Event Query.vi". When I run the VI, this function has an error with this error source: "HIST_RunAlarmQueryCORE.vi, IAK_SHARED:  (Hex 0x8ABC700F) Invalid argument(s)."
and one more problem with my citadel database is, when I configure the database in ODBC(data source), and hint the OK button, the ODBC window goes to a non responding state and I should end the process, then my ODBC has a problem.
I can't understand where these problems come from. I really appreciate any suggestion.

Please see the below link for further discussion.
http://forums.ni.com/ni/board/message?board.id=170&message.id=198179
Rob
Field Sales Engineer | National Instruments | UK & Ireland

Similar Messages

  • Alarm & Event (AlertView​.dll) control report Control could not be loaded error on LV Runtime

    Hello, when I try to execute my application that use Alarm & Event control, the window show in red color the text: Control could not be loaded.
    I have tried to manually copy the AlertView.dll on C:\Program Files\National Instruments\Shared and then register the control with:
    regsvr32 C:\Program Files\National Instruments\Shared\AlertView.dll
    but still the control is never on the screen.
    When the window is invoked and the ActiveX is loading the system show several error message (unable to initialize ComponetWorks control ...) and then exit the the red color error message Control could not be loaded.
    If I install the DSC everything works fine ...
    Any idea?
    Regards.
    Marco Savegnago

    Hi msave,
    I'm not sure I've understood correctly your problem, but reading your post it seems that you want to execute your application that loads an ActiveX control without installing the DSC module.
    I did some researches for you and what I found is that copying the alertview.dll (in your case) into the path: <drive:>\Program Files\National Instruments\Shared  and register it into regsrv32, may not be sufficient.
    National Instruments, suggests to install the DSC (and from your post it seems you can do it) in order to have correctly installed all the parts you need effectively (in fact, in your case when you install the DSC all seems to work properly).
    I hope I've been of some help
    carlo> 

  • Alarm & Event Query To Spreadsheet.vi

    dear all,
     i m using  "Alarm & Event Query To Spreadsheet.vi" for alarm transfer using following inputs
    1. Filter
    2.Display Format
    3. Output file path(C:\Program Files\National Instruments\LabVIEW 7.1\*.ALR)
    and Database URL it will take by default i.e current tagfile.scf
    on running this i get following error
    "HIST_AlarmsToSpreadsheet.vi, Citadel:  (Hex 0x8ABC1008) Read alarm failed because of connection or query failure."
    if i give the database URL manually in the following way
    \\computer name\Labview
    then i get the following error out
    "HIST_AlarmsToSpreadsheet.vi, IAK_SHARED:  (Hex 0x8ABC700A) Not found."
    so pls solve my problem as early as possible for u
     thanks and regards,
    dhanwanti

    Hi dhanwanti,
    There could be a couple possibilities here -- one is that the database you are trying to reference has become disconnected -- Make sure you can see historical data in MAX.  If needed, reconnect your database or create a new one and change this in the .scf file in the Tag Configuration Editor.
    Another possibility is that some of the parameters you have set in the filtering could be incorrect such as start and stop time.  I would suggest creating a simple test VI to make sure you can get the Alarm & Event Query To Spreadsheet.vi working, and then double check how it integrates into your project.   You may also want to take a look at the example that ships with the DSC Module for this VI, found in the Example Finder under Toolkits and Modules » Datalogging and Supervisory Control » Alarms and Events » Export Alarms to File.VI.
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Failed to query Alarms & Events, alarms not logging

    Hi all,
    I've recently run in to an issue with the DSC Alarm & Event logging. I have a number of shared variable libraries all setup to log both data and alarms to Citadel. I've double checked that the library itself is configured for logging data and alarms, as well as all the variables. Using the DSM, I can see all of the active alarms in the system across all libraries, and can receive all alarm change events programmatically.
    For some reason, alarms for only one of the libraries are logging, and attempting to query the historical Alarms & Events through MAX throws an error roughly 14 out of 15 times (with no error code or indication of why it fails). I've also attempted to archive the Citadel database, with it failing with an unspecified error (presumably when archiving the alarms side of things, the data archive seemed to work).
    Can anyone offer some insight on how to resolve the problem, preferably without data loss? Further, how can I prevent the issue in future?
    Solved!
    Go to Solution.

    Thanks for your reply Joey.
    Libraries are being deployed using the DSC Deploy Libraries VI. The libraries also have data and alarm logging enabled programmatically. At the moment they're both being logged to the same database.
    I can't find the "Read Historical Trend.vi" through the DSC Examples. The article was written in 2005 and I'm using DSC 2012 SP1, so I don't know if things have changed since then. I can view the data through MAX without issue if that's any consolation.
    The mdf file is about 60MB, with the entire Citadel database at around 6GB.
    The Citadel service is definitely running. I've also attempted restarting it (and the PC itself) but the issue is still present.
    It's entirely possible there was a power failure, as this has been during a period of plant commissioning. When I can query the alarms through MAX there's a lot of data up to a certain point (end July), then it's very sporadic after that with only certain variable's alarms being logged.
    I attempted another database archive and this time it managed to get all the way through, though the archived database also has the same problems querying alarms and events. So at this point I suspect the mdf/mds files are corrupt in some way.
    Using the DSM, I've tried manually pointing the libraries to log alarms to a newly created database but this doesn't seem to work. No alarms or events are logged to the new database, and checking the library properties shows that the alarm database which I configured the library to log to had reverted to the original database. Am I missing something obvious here? Do I need to pre-create some traces in the new database before alarms and events will get logged there?
    Given I have managed to make a 'good' archive of the database, I'd like to try just deleting the alarms and events portion of the database and start clean. Is there a correct way to do this? I did find this article, but am unsure if this will work with a potentially corrupted database: http://digital.ni.com/public.nsf/allkb/9D3A81218264C68686256DE1005D794F If I stop all of the Citadel and SQLServer related services, can I simply delete the mdf/mds files?

  • CITADEL and RELATIONAL DATABASE Alarms & Events Logging Time Resolution

    Hello,
    I would like to know how I can setup Logging Time Resolution when Logging Alarms & Events to CITADEL or RELATIONAL DATABASE.
    I tried use Logging:Time Resolution Property of Class: Variable Properties without success.
    In my application I need that timestamp of SetTime, AckTime and ClearTime will be logged using Second Time Resolution, in other words, with fractional seconds part zero.
    I am using a Event Structure to get SetTime, AckTime and ClearTime events and I want to UPDATE Area and Ack Comment Fields thru Database Connectivity but when I use SetTime timestamp supplied by Event Structure in WHERE clause Its not possible get the right alarm record because there are a different time resolution between LV SetTime timestamp and timestamp value logged in database.
    Eduardo Condemarin
    Attachments:
    Logging Time Resolution.jpg ‏271 KB

    I'm configuring the variables to be logged in the same way that appears on the file you send, but it doesn't work... I don't know what else to do.
    I'm sending you the configuration image file, the error message image and a simple vi that creates the database; after, values are logged; I generate several values for the variable, values that are above the HI limit of the acceptance value (previously configured) so alarms are generated. When I push the button STOP, the system stops logging values to the database and performs a query to the alarms database, and the corresponding error is generated... (file attached)
    The result: With the aid of MAXThe data is logged correctly on the DATA database (I can view the trace), but the alarm generated is not logged on the alarms database created programatically...
    The same vi is used but creating another database manually with the aid of MAX and configuring the library to log the alarms to that database.... same result
    I try this sabe conditions on three different PCs with the same result, and I try to reinstall LabVIEW (development and DSC) completelly (uff!) and still doesn't work... ¿what else can I do?
    I'd appreciate very much your help.
    Ignacio
    Attachments:
    error.jpg ‏56 KB
    test_db.vi ‏38 KB
    config.jpg ‏150 KB

  • DSC-Merging the Alarm Events Generated

    I am afraid whether I will be able to merge the alarm events generated in two different database configured in two PC’s (Servers).
    Both the data base monitors same traces and processes, one pc will be an active server and another will be an backup server. We have situation that one server may fail and come back alive.  In this situation how can I combine the alarm events generated in two different PC's?
    Merging the database doesn’t helps instead generates the error when queried for logged Alarms and Events. However merging the data base combines the traces data.
    We are using Labview 8.2.1 and DSC 8.2.
    Any help will be much appriciated.
    Thanks,
    Vijay Jayabalan.

    Thanks for your reply
    We are monitoring about 25000+ I/O points (cFP-180X), we are using Shared Variable in order to read data from cFP and update the data for Shared Variable deployed on Two Central Server Computer (One Duty and other standby named A and B servers respectively) each hosting a separate set of shared variable for the I/O points (only difference being the computer names)
    The Set of shared variable deployed on both servers, have the same configuration information such as alarms, logging etc as well as the same names.
    Given a situation that Server A fails (PC Crash/shutdown/restart), then the other server B will still provide the Alarms and Event information.
    However, when Server A return to normal operation then the Alarm and Event Set Time, Acknowledgement Time and Clear Time will be different than that in Server B.
    With an example let us say that,
    At 4.00 am in the morning Server A works fine and Server B is down, now the Shared Variable Deployed in the Server A will read data from the Field and Update any alarm information, if an alarm occurs (Shared Variable) at 4 am then this information of Set Time of Alarm (Read Alarm VI) is present in Server A and not in Shared Variable deployed Server B.
    Now, on the same day let us say Server B start working normally at 11.00 am, so the (Read Alarm VI) from the Shared Variable deployed in Server B will return the Set Time of the alarm as 11 am and not as 4 am (which is when the alarm actually occurred)
    What we would like to know is there any way we could merge the alarm information between both the computers for two sets of Shared Variables (similar to Redundancy in Lookout)?
    Kindly reply in case you need more details.

  • I can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.

    can't open iTunes on my pc in windows. I keep getting a Problem event: BEX error.  How can i fix this?  need very detailed step by step instructions on how to fix. thx

    Check out this discussion link:
    https://discussions.apple.com/thread/2777410?threadID=2777410&tstart=15

  • Event Viewer - Error/Warning

    Hi,
    I am seeing the following errors on the subcriber Event Viewer system log. Does anyone know what is causing this.
    Event Type: Error
    Event Source: BROWSER
    Event Category: None
    Event ID: 8032
    Date: 4/28/2006
    Time: 10:12:19 AM
    User: N/A
    Computer: CCM_SUB
    Description:
    The browser service has failed to retrieve the backup list too many times on transport \Device\NetBT_Tcpip_{81B27D00-C66E-4969-A4CA-A2E89101A90E}. The backup browser is stopping.
    Data:
    0000: 05 00 00 00 ....
    and also this
    Event Type: Warning
    Event Source: BROWSER
    Event Category: None
    Event ID: 8021
    Date: 4/28/2006
    Time: 10:12:19 AM
    User: N/A
    Computer: CCM_SUB
    Description:
    The browser was unable to retrieve a list of servers from the browser master \\CCM_PUB on the network \Device\NetBT_Tcpip_{81B27D00-C66E-4969-A4CA-A2E89101A90E}. The data is the error code.
    Data:
    0000: 05 00 00 00 ....
    Cheers,
    Rafiq.

    http://www.cisco.com/en/US/products/sw/voicesw/ps556/prod_troubleshooting_guide_chapter09186a008011b369.html#wp1047403
    Browser Service: Every 2 Hours, an Error Occurs in the Event Log on the Subscriber
    Symptom
    Error Message The browser server has failed to retrieve the backup
    list too many times on transport \Device\netBT_Tcpip (c96xxx)
    The backup browser is stopping.
    Warning: The browser was unable to retrieve a list of servers from the browser master \\AACCMP1 on the network \Device\netBT_Tcpip (c96xxx) the data is the error code.
    Probable Cause
    Cause indicates a NIC card problem. You need to upgrade the OS to a newer version.
    Corrective Action
    Procedure
    Step 1 If you have an MCS-7830 and build the OS with the new 2000.1.2 OS installation, run the OS upgrade version 2000.1.3 to fix the NIC card problem.
    If this is not your problem, verify the following actions:
    Step 2 Ensure that your WINS address is correct.
    Step 3 Ensure that Enable NetBIOS over TCP/IP is chosen.
    Step 4 Ensure that the WINS address is correct on the master browser \\AACCM1.
    Cheers
    Please rate post if helpful.

  • Alarm & Event Query To Spreadsheet File VI doesn't work correctly (DSC 7.1)

    I am using the Alarm & Event Query To Spreadsheet File VI to write alarms/events to an Excel spreadsheet. However there are two things it does wrong:
    1. Global variables in the header are not correctly inserted. I am using the header "{creationDate}{delimiter}{creationTime}" but none of the variables are translated to their actual values. The same header in Write Traces To Spreadsheet VI works correctly, so I assume it is only the Alarm & Event Query To Spreadsheet File VI that isn't working.
    2. My display format is set to display the date of the alarms but it never appears. Set time/ACK time, etc all appear, just not the date.
    Can anyone explain what might be wrong?

    Hi AndrewWilliams,
    I have been looking into this problem for you and I can't quite figure out exactly what it is you are trying to do. Could you possibly send me your VI's (for the Alarm & Event Query To Spreadsheet File VI and for the Write Traces To Spreadsheet VI) so I can get a better idea of it.
    Have you looked at the Export Alarms to File VI in the LabVIEW examples that are installed with the DSC module. This is a very good VI and it might help you to see any faults in your code.
    Hope this helps, I look forward to speaking to you soon.
    Best regards,
    Peter H.
    Applications Engineer.
    National Instruments.

  • Windows 7 Ultimate 64 bit: Events and Errors

    Clicking on “Event Log Online Help” (every event in “Event Viewer”) results in:
    Page:
    http://www.microsoft.com/technet/support/ee/SearchResults.aspx?Type=1&Fallback=1&Source=Application%20Hang&ID=1002&Product=Windows%20Operating%20System&Version=6.1.7600.16385&Language=6153
     “Events and Errors Message Center”:
    “Results for: Microsoft Product: Windows Operating System; Version: 6.1.7600.16385; Event ID: X; Event Source: Y”
    “No results were found for your query. Please see Search Help for suggestions.”
    Fulco

    Hi,
    By default, Event Log Online Help redirects to
    Events and Errors Message Center. It seems that the path of
    MicrosoftRedirectionURL is incorrect. Please look into the following registry and modify  the URL path:
    1)   
    Click Start and type:
    regedit in the Search box.
    2)   
    Open Registry Editor and find the entry:
    HKLM\Software\Microsoft\Windows NT\CurrentVersion\EventViewer
    3)   
    Double click the
    MicrosoftRedirectionURL and change the path using:
    http://go.microsoft.com/fwlink/events.asp
    The above link navigates to
    Events and Errors Message Center. If the issue persists,  you can use the following URL instead:
    http://www.microsoft.com/technet/support/ee/ee_basic.aspx
    Now you should open Event Log Online Help correctly.  
    Best Regards
    Dale
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”

  • Event handler error

    I gets event handler error from the following applescript code if I leave the desktop space where "XLD" is running.
    Is there a way to avoid this error and keep running the applescript?
    tell application "System Events"
    set wnd to front window of application process "XLD"
    click button "Extract" of tool bar of wnd
    delay 1
    repeat while (name of front window of application process "XLD") = "Progress"
    end repeat
    end tell

    Do you have any Mail plug-ins installed? Mail Act-on, MailTags or whatever? If so, try disable them and then see if the scripts work.
    Alternatively, you can access the iPhoto Library from within Mail:
    Uploaded with plasq's Skitch!
    Just drag and drop to the message.
    Regards
    TD

  • Can I log the Alarms & Events in Citadel?

    Platform - LabVIEW DSC 6.1
    OS - WinNT 4.0 SP 6.0
    Hardware - NONE
    By using "HIST Alarm & Event Query.vi" I can view the Alarms and events occured over a span of time. The data can be retrived even when the DSC Engine is shutdown but if I re-start my PC the Alarm & Event data is lost though the file "Ale00000.ale" which logs the Alarms & Events is there. Can you tell me what the problem is ? Is there a method of logging the Alarm & Event data automatically in the Citadel like the logging of the tag values ?

    Somehow nobody replied to you. Maybe this is because we do not exactly understand what you describe.
    Just in general : LabVIEW DSC 6.1/7 logs all the values/data and all the alarms and events through the Tag Engine (DSCEngine). Therefore, you need to do everything through tags. I can imagine that you configure a discrete tag with a certain alarm configuration. Once you set this tag to high it will generate an alarm. The unfortunate thing is that you can not specify a unique customized HIHI/HI/LO/LOLO message.
    The behavior you descirbe with the "life-time" of alarms is wired. Either you ran an older version of Logos which might had - a long time ago - an issue with some 'zero-files' or you mix up the historical alarms with the current, live alarms. The LabVIEW
    DSC Engine could keep some alarms and shows them up in the alarm summery as long a the engine is running (live-alarms) once you shut down the engine the alarm summery will not show those alarms anymore. However, when you query the historical alarms you should get those alarms back from the database (regardless if the engine is running or not)
    In LabVIEW DSC 7.0 National Instruments distinguishs between historical alarms and life alarms much better by having a "DSC Engine-internal" alarm server implemented. The Citadel Service is monitoring this alarm server and once it gets a new alarm it will put it to a relational database (MS SQL Server/MSDE).
    This new change sounds quite promising for the new feature set of LabVIEW DSC 7.
    Hope this helps
    Roland
    PS: ftp://ftp.ni.com/support/lookout/logos - Where you can get the latest logos 4.4 version for LV DSC 6.1.

  • Dynamic Event Registration Error

    Hi,
    I'm getting to grips with Dynamic events in LabVIEW. However, I've encountered an issue i'm not sure on. When I try to register a cluster of control refs to the Register for Events function I get an error.. See Dynamic Event Registration.vi for small vi highlighting the issue.
    Thoughts?
    Strokes 
    Attachments:
    Dyanmic Event Registration Error.vi ‏9 KB

    Steve Chandler wrote:
    You can wire a reference or an array of references to register for events. Of course you probably already know that you have to wire the output of register for events to the dynamic registration terminal of the event structure.
    Steve Chandler wrote:
    You can wire a reference or an array of references to register for events. Of course you probably already know that you have to wire the output of register for events to the dynamic registration terminal of the event structure.
    That helped me somewhat, however, I'm still experiencing problems. My events seem to be registering correctly but don't seem to generate when I trigger them. I've configured the event structure to execute should one of the controls in my cluster change value. However, the only event case that get's executed is the timeout case.
    I've attached a vi highlighting my problem named Dynamic Event Problem.vi. My real vi is much larger and contains many sub vis so hopefully what I've attached suffices..
    Attachments:
    Process Data Control Refs Edit.ctl ‏14 KB
    Dynamic Event Problem.vi ‏22 KB

  • Event Viewer errors and warnings

    How do I clear Event Viewer errors and warnings?

    This one may help.
    http://technet.microsoft.com/en-us/library/cc722318.aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Event Code Error when switching networks

    Although I am running a standalone version of P6 on my laptop, I continually receive event code errors when I switch between two networks.  This often happens when I need to switch from a client network to my mobile hotspot.  Or, if I'm away from laptop for any length of time and it 'goes to sleep' without having closed out of P6, when I return I will have an event code error that requires me to close and then restart P6.
    I'm running Windows 7 SP1, Firefox 24.0, P6 Release 7.0.0 (Build 00000092)
    Any help is greatly appreciated.

    Hi,
    In regards to the problem when the computer goes to sleep, if you look in the event viewer you will see that Windows is dropping the network connection - not sure of any other workaround to this than disabling the sleep/hibernate function.
    As for the problem when you switch between networks, other than making sure you log out before making the network switch the only thing I can think of would be to try and make sure the connection is using 'localhost' or possibly '127.0.0.1' instead - this is in the vague hope that these connections will hold true even when the network behind the scenes is changing (this also assumes SQL Server, changing this for an Oracle XE database would be a bit different)
    Good luck.
    Regards
    Alex

Maybe you are looking for

  • How to Write BUFFER & Read TEXT with Encrypt file ?

    I'm using Windows Phone 8.1 RT. I have a issue : - I write a BUFFER encrypted to file. After, I read file with TEXT. It's throw exception : No mapping for the Unicode character exists in the target multi-byte code page. (//ERROR 2) - I write a TEXT e

  • Trouble downloading After Effects CC

    I'm trying to download After Effects CC, but the Adobe Application Manager software crashes before anything can begin. I've tried restarting and everything else I know to do. I'm using a Mid 2012 MacBook Pro with a 2.3 GHz Intel Core i7 processor uti

  • Photoshop elements on Intel iMac

    Hello, Photoshop Elements 4.0 installed on new iMac, worked fine for a couple of weeks - now will ot launch. Checked the topics on here, deleted all the preferences, un- and re-installed PSE on my regular and a new clean user account with the same re

  • Aperture 3 update.  Why is there still no eraser for the retouch tool?

    Perhaps I'm missing something, but: Why is there still no eraser for the retouch tool? I realize you can delete retouch strokes, but they are in linear order so you often have to delete useful ones to go far enough back to get the one that you've dec

  • Mac will not load

    I recently acquired an old G4 and on booting up, was launched into the Darwin/BSD screen. Since I had no idea what the userid or password was, I followed the advice in this article; http://discussions.apple.com/message.jspa?messageID=1553062 Rebooted