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

Similar Messages

  • Difference between Transaction database and relational database

    Whats the Difference between Transaction database and relational database ??

    'Transaction' refers to the usage of a database.  'Relational' refers to the way in which a given database stores data.
    A 'transaction database' (or operational database) could be relational, hierarchical, et al.  A transaction database supports business process flows and is typically an online, real-time system.  The way in which that data is stored is typically
    based on the application(s).  Companies often have multiple 'transaction databases'.
    An 'operational data store' (ODS) is an integrated view or compilation of transaction data.
    The you get into data warehouse databases, where the transaction data is optimized for querying, reporting, and analysis activities.

  • My problem is that my iCal won't sync from my first-generation iPad to my computer, and the computer sends events multiple times back to the iPad... which is now full of duplicate events. I'm NOT on iCloud.

    I'm just an old lady who doesn't know a lot about this stuff, but I do love my iPad and miss my portable calendar! My problem is that my iCal won't sync from my (first-generation, cheaper of the two models) iPad to my computer, and the computer sends events multiple times back to the iPad... which is now full of duplicate events. I'm NOT on iCloud. I've had this problem for nearly a year now. My Really Really Smart son couldn't fix it for me.

    djb53 wrote:
    Can take some time.... how much time?
    There's no simple answer to that. My calendar goes back to 2004 and is moderately busy; it took around an hour. It's possible that you've hit a slow period on the server - it happens.
    In order for it to work, your calendars should show on the MobileMe site, they should be listed under your MobileMe login name in the calendar list in iCal (calendars listed under 'On My Mac' will not sync) and your MM account details have to be entered in iCal Preferences>Accounts (this should have happened by itself).
    If it's not working please see the page I linked to.

  • Missing VSS System Writer and CAPI2 error in Event Log

    Hello,
    I'm having problems with making full system backup of Windows 2008 R2 x64. It looks like this is related to missing VSS System Writer. When I'm running command "vssadmin list writers" there is no System Writer in writers list and in event log CAPI2 error (event ID 513) is showing with this description:
    Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.
    Details:
    TraverseDir : Unable to push subdirectory.
    System Error:
    Unspecified error
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
    <EventID Qualifiers="0">513</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2010-03-14T01:06:35.639125000Z" />
    <EventRecordID>207975</EventRecordID>
    <Correlation />
    <Execution ProcessID="968" ThreadID="11588" />
    <Channel>Application</Channel>
    <Computer>System3</Computer>
    <Security />
    </System>
    <EventData>
    <Data>Details: TraverseDir : Unable to push subdirectory. System Error: Unspecified error</Data>
    </EventData>
    </Event>
    any idea what could be wrong?
    Thanks in advance

    Hello ,
    Based on the research, the VSS System Writer runs in the context of CryptSvc service on Windows Server 2008. To make the system writer works normally, please open services
    console to verify that the Cryptographic Services logon as the credentials of the "Network Service" account.
    The VSS system writer can be missing due to several reasons,  to isolate this issue, please refer to the following steps to boot the problematic server with clean
    boot mode to perform the test.
    Steps: Clean Boot
    1. On a problematic server perform a clean boot and check if the issue still exists
    2. Click Start->Run...->type msconfig and press Enter
    3. Click Services tab and select Hide All Microsoft Services and Disable All third party Services.
    4. Click Startup tab and Disable All startup items
    5. Click OK and choose Restart
    After the server reboot, please run "vssadmin list writers" to check if the "System Writer" can be displayed.
    If the issue still exists, please open a CMD prompt as Run As Administrator and type the following commands to see if it the system writer will be occure.
    CD c:\windows\system32
    Takeown /f %windir%\winsxs\filemaps\* /a
    icacls %windir%\winsxs\filemaps\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"
    icacls %windir%\winsxs\filemaps\*.* /grant "NT Service\trustedinstaller:(F)"
    icacls %windir%\winsxs\filemaps\*.* /grant "BUILTIN\Users:(RX)"
    Moreover, based on the experience, it has been reported that there is some permissions issue which can cause this kind of issue. Please follow the steps below and check
    if it can be helpful.
    On domain controller
    1. Open Active Directory Users and Computers
    2. Click View and then "Advanced features"
    3. Right Click built and click properties.
    4. Click security tab.
    5. Grant read permission to 'Authenticated Users'
    6. Click Apply and OK.
    7. Restart Cryptographic Services.
    Note: By Default, it should have read permission for the system to take system state backup.
    Hope this can be helpful.
    MCTS: Windows Vista | Exchange Server 2007 MCITP: Enterprise Support Technician | Server & Enterprise Admin

  • Recover database from archive log: Time based recovery

    Hi,
    Could you pelase help regarding the following:
    I have power outage in my machine running oracle 9i on Solaris OS 9
    Oracle is mounted but failed to open
    Once it is started showing the error message
    SQL> startup;
    ORACLE instance started.
    Total System Global Area 9457089744 bytes
    Fixed Size 744656 bytes
    Variable Size 3154116608 bytes
    Database Buffers 6291456000 bytes
    Redo Buffers 10772480 bytes
    Database mounted.
    ORA-01113: file 4 needs media recovery
    ORA-01110: data file 4: '/opt/oracle/oradata/sysdb/indx/indx01.dbf'
    So I tried to recover the database
    SQL> recover database;
    ORA-00279: change 1652948240 generated at 12/03/2007 13:09:08 needed for thread
    1
    ORA-00289: suggestion : /opt/oracle/oradata/nobilldb/archive/1_183942.dbf
    ORA-00280: change 1652948240 for thread 1 is in sequence #183942
    Specify log: {<RET>=suggested | filename | AUTO | CANCEL}
    ORA-00279: change 1652948816 generated at 12/03/2007 13:09:19 needed for thread
    1
    ORA-00289: suggestion : /opt/oracle/oradata/nobilldb/archive/1_183943.dbf
    ORA-00280: change 1652948816 for thread 1 is in sequence #183943
    ORA-00278: log file '/opt/oracle/oradata/nobilldb/archive/1_183942.dbf' no
    longer needed for this recovery
    The power outage at 16:00pm and the recovery archive log file '/opt/oracle/oradata/nobilldb/archive/1_183942.dbf' at 11 am
    Always I am applying the next sequence it is giving the same message and asking the next sequence. I have more than 900 archive log from 11am to 4pm and each of them having the size of 100mb and it take 1 minute to get back from each to provide this error message.
    How I can start my recovery from say 15:45 onwards until 16:15?
    I have all archive logs in the proper destination.
    Still my database is not opened and it is starts applying archive log since 5 hours back, please help me regarding this
    Thanks in advance

    Wrong forum. Post your question in the following forum:
    General Database Discussions

  • 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

  • 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?

  • Allow Non-Administrator accounts to create event sources and write to event logs

    We are setting up BizTalk 2013 in Windows Server 2012 and one of the requirements is to allow the service account to create sources and write in event logs (Application) of the BizTalk servers. We have found what it seems to be a simple solution for this
    without giving service accounts local admin rights.
    Give Full control for the following registry keys to the service accounts or groups to allow creating of event sources and write to event logs:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Security
    Note: when changing permissions for EventLog key, the child keys will inherit the permissions by default except Security key which must be done manually.
    Initial tests using a .net test app seems to work as expected. New event sources are being created in the event logs and writing to the event logs after that works perfectly.
    The above method has been deployed in production and this is the most suitable solution for us.

    Hi Keong6806,
    Thanks a lot for posting and sharing here.
    Do you have any other questions regarding this topic? If not I would change the type as 'Discussion' then.
    Best Regards,
    Elaine
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • 11.5.10.2 12.1.1 and 10g 11g database upgrade at same time

    I have just started an 11.5.10.2 > 12.1.1 upgrade and have created a project in MWIZ 2.15 for it.
    I would also like to upgrade the 10.2.0.2 database to 11.1.0.7 as part of the same upgrade and create an MWIZ project for that.
    I have a couple of questions that the MWIZ FAQ does not address:
    1. At what point in the 11.5.10.2 > 12.1.1 upgrade should I do the database upgrade?
    MWIZ has two points when it can be done based on apps/database versions. One is at the end of the 'Prep for Upgrade' category and the other is during the 'Upg to Rel 12.1.1' category. The MWIZ step notes cover upgrading to the latest 10g or 11g patch version but not upgrading from 10g to 11g so I am unsure which category to go for.
    2. When I create the database upgrade project which 'Destination Version' should I choose?
    The two options are 'RDBMS 11.1 and E-Business Suite 11.5' and 'RDBMS 11.1 and E-Business Suite 12'.
    As I haven't upgraded to R12 yet and am still at the pre-upgrade stage should I pick 11.5? Or should I go with R12 because I am upgrading Apps and the database at the same time?
    Any help and advice gratefully received.
    Thanks

    Answer to above question not required now as:
    Having read the 24th December update of note 761570.1 - 'Database Preparation Guidelines for an Oracle E-Business Suite Release 12.1.1 Upgrade' I have decided to upgrade the database to 11.2.0.x by following the Path C option.
    Unfortunately as the 11.2.0.x upgrade isn't covered by MWIZ yet I will have to follow the manual steps.

  • Installing and Starting Database

    Hi,
    I have installed Personel Oracle8.1.5 in an Stand alone PC by selecting Client Installation option. When I completed my Installation I have given a service name also but there is no option to start database unlinke in Oracle7. When I go to SQL Prompt by entering Scott/Tiger or Scott/Tiger@ORCL it is giving error like,
    - ORA-12560: TNS:protocol adapter error
    and
    - ORA-03114: TNS:no Listener
    and many messages.
    Please help me...
    I will be very much thankful.
    Syed Muzzammil

    Hi Simon,
    a silly question just to clarify the issue: Do you have a MaxDB Installation on your PC where Database Studio was installed?
    What does the Event Log tell you about the issue?
    See Window->Show View->Event Log Viewer
    or if not listed there
    Window->Show View->Other ...->Database Studio->Event Log Viewer
    Could you please have a look and tell me what it says? If you find a message that is related to your problem double click it and press the little Copy to clipboard icon in the upper right corner then you can paste the message in your reply.
    Cheers,
    Daniel

  • Event Log Replication on Cluster Server (MS Server 2003)

    Please help me about the EnableEventLogReplication on SERVER 2003. I just saw the recommended on MS support about it.
    "If the EnableEventLogReplication registry entry is set to 1, the cluster node replicates events in the event log to all other nodes in the cluster. Tools that monitor multiple
    servers, report a single event multiple times, one time from each node. "
    I have got the problem about event logs replicates and hard to summary event logs on all nodes. If I want to disable this function I would like to know the effect about this one. it will not replicates events and will not get any worse cases on the server
    that my customer using? Could you please advise?

    As you mentioned, if you disable EnableEventLogReplication, Event Log Replication will be disable for one or more node in the cluster or the entire cluster. One or more cluster node is down or has experienced a failure, and preventing Event Log Replication
    from taking place.
    Note: if you disable the replication at a specific node, replication of events from that node to other nodes is disabled. Other nodes that have the EnableEventLogReplication property turned on still replicate to that node. This only replicates the System,
    Application and Security event logs.
    http://support.microsoft.com/kb/229071/en-us
    http://support.microsoft.com/default.aspx?kbid=224969

  • Event log WAN section

    Since being on Infinity my event log (WAN section) shows occasional "PPP LCP Send Termination Request [User request]", followed by a reconnect sequence, that lasts about 20s when it is back up running normally. The Home Hub 5 light remains blue but the DSL uptime reset itself.
    The other items that shows up, in this sequence, is " PPPoE is down after 8693 minutes uptime [Waiting for Underlying Connection (WAN Ethernet 2 -​ Down)]" 
    Is this some short term break of service on the fibre network and nothing to do with the handshake between the router and the DSLAM in the cabinet?

    Same with the event log here.  I've had a few wireless issues lately, and wanted to run the router a bit longer before rebooting.
    EDIT: Restarted the HH3 tonight, and noticed from the event log that when booting it showed the correct time, but when it did a time sync check, it set the clock back one hour...
    I also tried a couple of other time servers without success.

  • Schedule to Purge Event Logs in Windows

    Hi,
    How to schedule to purge event logs in windows 2003/2007.
    Thanks in advance.
    Regards,
    Saurabh

    This is obviously not an Oracle problem, but native Windows handling.
    Control panel ==> Administrative Tasks ==> Event Log ==> Properties has several settings, whether and when to delete event log contents.
    Werner

  • The event logging service encountered an error (res=5) ...

    Hi,
    I have promoted a new server to be a third DC.
    All seems ok, replication, dns, etc are working properly but after the boot in the system event log I see those errors:
    Log Name: System
    Source: Microsoft-Windows-Eventlog
    Date: 25.5.2012 14:32:15
    Event ID: 23
    Task Category: Service startup
    Level: Error
    Keywords: Service availability
    User: LOCAL SERVICE
    Computer: dc3.x.x
    Description:
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-API-Tracing/Operational.
    and then for about 40 Microsoft channels:
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppID/Operational.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppLocker/EXE and DLL.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-AppLocker/MSI and Script.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-Audio/CaptureMonitor.
    The event logging service encountered an error (res=5) while initializing logging resources for channel Microsoft-Windows-Security-Configuration-Wizard/Operational.
    etc...
    There is no error event before those event id 23
    Any idea?
    Thank you

    Have you checked the path of the System event log? Something similar happened to me once, turned out the log file was corrupted. I updated the path and created a new evt which solved the issue for me.
    Hopefully this helps:
    http://technet.microsoft.com/en-us/library/dd315662(v=ws.10).aspx

  • Is there a list of 'Event Log' enteries that I sho...

    Hi,
    I was looking through a few of the posts on here and noticed posts about event logs on the BT HomeHub.
    I was wondering if there is a list of specific 'Event Log' enteries that I should be aware of that could be malicious activity?
    If there is specific enteries that could be malicious activity is there a way of using Microsoft 'Event Viewer' of 'System Monitor' to send me a message when this malicious activity is taking place?
    Also I noticed on my laptop that when I was looking in WiFi Status that there was a massive difference in the bytes sent and recieved. I think it was something like 600,000 sent and 6000,000 recieved. I looked in the BT HomeHub Event Log and there was a load of enteries for the following:
    11:41:42,12 Feb. PortMapping Delete By UPNP/TR064 Success.
    11:41:02,12 Feb. PortMapping Add By UPNP/TR064 Success.
    The only thing I've done recently is install WAMP for a local test server to view website being designed in PHP. I wanted to view the websites on my other devices so I allowed WAMP through my microsoft firewall. I have dissalowed WAMP through the firewall now and the PortMapping messsages in BT HomeHub Event Log have seemed to have stopped.

    Disable uPnP, restart the hub, and the entries should stop. Then see if any programs you have installed, stop working properly.
    If everything works as normal, then leave uPnP disabled.
    Quote
    "Is there anyway of setting up Microsoft ‘Event Viewer’ or ‘System Monitor’ to flag up this malicious activity and send me a message to make me aware of these?"
    No, but I would not worry about them, as the home hub firewall is there to preven intrusions.
    There are some useful help pages here, for BT Broadband customers only, on my personal website.
    BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.

Maybe you are looking for

  • Satellite map in OBIEE 11g

    Hi all, Please guide me how to integrate google satellite map in OBIEE11g. Thanks in Advance.

  • 1080p 50 Hz display settings not appearing

    I have 1080i and 720p 50 Hz but not 1080p why???

  • Mail does not suppress group addresses

    Mail does not suppress group addresses; it ignores the appropriate flag in preferences. This used to work; I don't know when (which upgrade) killed it.

  • Self-referencing query

    Hello~ This is probably a really simple question, but here is the query I am trying to run, with no success:           <cfquery name="updatePage" datasource="#application.db#">                 UPDATE                     admin_nav_test                

  • No print from any Adobe program

    I've tried everything, and cannot get my 7400 Xerox Phaser to print any Adobe document. Has ANYONE had this problem? I'm using CS5. I've downloaded drivers, driver updates, driver patches. I've reinstalled the Adobe programs. I do get a "communicatio