Alarm and event related problem

hi dear all
again my problem needs u
On upgrading my project from labview 6.1 to labview 7.1 version i have problem in generating alarm related .ALR file which i further use in my software. for this i m using "legacy_hist_alarms_&_event_Query_to_spreadsheet_file.vi" this vi but in labview 7.1 i replaces it with
"Alarms and event query to spreadsheet file.vi" but its number of display format and filter elements are changed i also changed these.
but how i order the elements so i correctly connect with vi . i tried acc. to error list but it gives error every time so pls give the example or any suggestion regarding the order of elements .
i m thankful to u all in advance
regards,
Dhanwanti

Dhanwanti,
What error are you receiving when you try to connect to the VI?  What do you mean by "order the elements"? Are you talking about the inputs to the VI? If so, the easiest way to connect to these are to right click on the terminal and select "Create -> Control", which will make a cluster that connects to the VI.
Let me know if this helps.
--Paul Mandeltort
Automotive and Industrial Communications Product Marketing

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

  • 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

  • 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

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

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

  • 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

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

  • DSC 8.01 Configuring alarm and event display control

    Hi all,
    How to configure the columns in this control (alarm and event display control) in order to hide columns, changing the langage ?
    In the previous DSC version it was different.
    Thanks
    Best regards,
    Julien

    Hello Julien,
    At my knowledge, such a control is not customisable. I think you should use the "Alarm and query filter" control (in your FP) linked to the filter input of the "Alarm and query" vi (in your diagram). This should enable you to select the alarms to display
    Regards,
    Mathieu Steiner, Test System Engineer, Safran Engineering
    CLD, ISTQB

  • 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

  • Appraisals & training and event management problem

    Hi gurus.
    I'm trying to configured the integration between Appraisal and Training & Event management (Appraising a Business Event and Attendee Appraisal
    I set an attribute HAP00 REPLA = A .
    But two problems occurred.
    1.
    The definition of Appraisal catalog for employees is no problem. But I have a problem with definition of Appraisal catalog for Business event and for Attendees.
    Through the definition of Appraisal catalog via SPRO (Training and Event Management/Recurring Activities/Appraisals/Edit Appraisals Catalog) its possible to create an appraisal templates only for employees (it looks like that, because there is only Category group Personnel Appraisals and it’s not possible to add new category for example Attendee Appraisal).
    Can somebody help me where I can define appraisal templates for Event management or how can I get the Appraisal catalog category groups - Appraising a Business Event and Attendee Appraisal?
    2.
    I set the attributes SEMIN EVAEV/EVAPA to the values 2/3 in connection with table T77BF.
    When I run tcode PV33 or PV34 the matchcode of appraisal templates contains the list of all object type VA. The problem is that when I run tcode PV33 I don’t want to see all appraisal templates, but only for appraising a Business Event.
    It is possible to configure that so? If yes, how.
    Thanks in advance.
    Regards

    Hi,
    1. transaction LSO_CATALOG
    Regards and Groetjes,
    Maurice Hagen

  • URGENT:Process Chains And events Related

    Hi All,
                  I have created a new process chain which is a normal ODS Process Chain.For that I started with the start Process and then created event in sm62 to trigger the start of process chain.Similarly,I have at the end of the process chain ,I have added 2 ABAP Programs ,one to mark the successful completion of process chain and another to mark the Error or Unsuccessful completion.For these programs,I maintaines Processvariants and here, we have utility Programs.So used the relevant utility program and created a program variant and Events ,One for successful completion of process chain and another to mark the Error or Unsuccessful completion.
    But ,Now ,I find that when I trigger the eventin sm64,I find that the process chain is not being run.Is that any problem with the events I created.This is the first i am involved  with creation of events in SM62.Can anyone help me in  this regard.
    Can anyone,tell me thatdo we need to do anything else apart from  Creating events .Imean like assigning jobs and then Programs in the Step of that Job.
    Please Kindly help me in this regard.It is very very urgent for me.Thank you.Points will be assigned.
    Regards,
    Samir

    Hi,
    I have tried in the same way you have said .I have maintained as after event and activated and scheduled.after that  i triggered the event insm64.But still,I am not able to see the Load in RSMO.
    I have just checked out in sm37.And found that some jobs have failed.I think this might be the reason for the Process chain to not run.
    I am just pasting the error msg and solution.
    Job BI_PROCESS_ABAP, waiting for event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_ABAP has been started by event RSPROCESS 489W6WH6I7OHV7BL3N9909F7F and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Then Another error for the another cancelled job is
    Job BI_PROCESS_OR, waiting for event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF, has no predecessor
    Message no. RSPC003
    Diagnosis
    Although job BI_PROCESS_OR has been started by event RSPROCESS 489WC2QYBC4AJSYILQ10TWABF and is recognized in the process chain, the current run for this process has no job preceding it.
    This is why the system was unable to determine a log ID, and the chain is broken.
    System response
    The job has been terminated.
    Procedure
    With the exception of the start process, each process must have a process that precedes it.
    Please kindly help me if you understand the problem.
    Thanks,
    Samir

  • PDF and Preview related problems

    Hi:
    A user in our office (MacBook Pro, v10.5.6) is having difficulty viewing and creating PDF files. To wit:
    --Opening a PDF file results in a morass of symbols throughout.
    --Opening a PDF file may show exclamation points substituted for tab characters.
    Some other files appear to be just fine using Preview, and occasionally the latter of the two above will open and appear to be just fine and dandy. The files appear to be just fine on another Mac.
    The two files appear correctly when viewed with Adobe Reader 9.0.
    Also:
    --Creating a PDF file may result in exclamation points substituted for tab characters.
    I tried a full system software archive and install...no luck.
    I tried deleting the Adobe Reader and Preview preferences files...no luck.
    I dragged and dropped a copy of Preview (v4.1) from my computer to hers...no luck.
    I created a Second User, and the previously mangled PDF files open and appear to be just fine. I can also create PDF files that are true to their source document (no exclamation points for tab characters). I did only limited testing of this; however I did use the files above and created a new PDF file using the original source document. No problems.
    I don't believe this is a missing font problem.
    So that makes me think there's something wrong in the user's home directory with Preview and the PDF creation process. Some preference file or something.
    Before I go ahead and move my data over to a new home directory...
    1. Has anyone seen this before?
    2. Has anyone fixed this before?
    3. How do I know which files to move to the new home directory and which (corrupted ones) to leave behind..if that indeed is the fix?
    4. How do I know that the creation problem doesn't extend beyond this user, and that I wasn't just lucky when Second User's PDF-created file was fine?
    TIA,
    mm

    You need to resolve the conflict/corruption in the original account. This can be a laborious process, but is guaranteed to resolve the problem. While logged into the newly created account (if it's an admin account; otherwise create a new one), backup the bad account's folder (to another volume, partition, or disk), delete the bad account, selecting the save data option (which is stored in /Users/Deleted Users/ as a disk image), recreate the bad account using the same username/password combo, log out and back into the recreated original account. Run Preview and, If the problem's solved (which it should be), open the saved data dmg file in /Users/Deleted Users/, open the /Library/Preferences/ folder from the saved data, open the current /Users/restored account/Library/Preferences/ folder, and slowly copy plist files from the saved data folder to the current one that don't exist in it, keeping track of what you're moving to the new account so you can remove them if you encounter problems in the next step. Log out and back in to ensure there's no conflict and things still work correctly. Good luck.

  • Mail app keeps crashing (and other related problems)

    A few days ago, my Mail app began crashing on seemingly unrelated events, so I assume my data got corrupted. I won't explain all the scenarios because it's a complete mess. To keep it simple, I have only 2 accounts and they are both on Gmail, so no backups are needed. I'd like to try doing a complete wipe of all data that the Mail app uses and that should fix it.
    What files/folders does Mail use? So far, I've found:
    ~/Library/Mail
    ~/Library/Containers/com.apple.mail
    I've also seen someone mention ~/Library/Preferences/com.apple.mail.plist, but I don't have this file.
    After deleting the above and creating my mail accounts, the crashes are back. The only possibilities I can think of are:
    1. I haven't deleted EVERYTHING owned by Mail yet. <-- What other files/folders belong to the Mail app?
    2. Mail is depending on something else on my system that is broken.
    3. Mail app itself somehow became corrupted.
    4. Something being synced from my Gmail is not properly being handled, resulting in a crash.
    When this started happening (if it helps):
    1 day after installing the OS X update 10.8.3 as well as MacBook Pro Retina SMC Update v1.1, my MBP froze as soon as I loaded League of Legends. This was followed by a reboot as I couldn't Cmd+Tab out of the game. I wasn't aware of the Force Close App shortcut at the time, so I used the power button. That was the only time this happened, and it has worked fine a few times after the updates were applied and also worked after the reboot following the freeze. Since that time, I have encountered another issue where just about all of my apps crashed simultaneously -- no 3D-accelerated apps were even running this time.
    Since then, I've updated VirtualBox from 4.2.8 to 4.2.10 (seemed like something that could cause this weirdness as I always have a VM running) and have not had any problems except Mail crashing all the time.
    This question is primarily about fully resetting the Mail app to clean settings/data, but any thoughts on what may have happened are also welcome

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in the Console window, look under User Diagnostic Reports for crash reports related to the process. The report name starts with the name of the crashed process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Table View MULTI SELECT option and Event handling problems

    Hello All,
    I am facing problem while giving miltselect option in a table view. When i mention multiselect attribute in Select option in table view, i am unable to select all the rows which i want to select,because i have an event onRowSelection event activated so when i select a row then it will automatically go to the event and i am unable to do multiple select.
    Can you guys pl tell me is there any way thtat i can put check boxes in a table column and by that i can get values of row seelct and can perform my subsequent SQL operation.
    Also i am not able to navigate in table view through BYPAGE or BYLINE option. When I click on navigate button then page got refreshed and i lost data.
    One more query guys , can you pl tell me how can i store my internal table values from one event for the another event. I have used EXport/Import but internal table values get refreshed as page got refreshed on event switching/selection.
    Please respond.

    hye rahul.
      as i told you my second solution, will help you . the values remain in the corresponding UI elements.
    For example , you have a drop down and table view. both will trigger events. bind the data of the table at drop down event and bind the dat of the drop down at table event.
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    CASE event->id.
    when 'dd1'.                   drop down event is fired.
    bind data for drop down
    dd ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'dropdown'
                                          id      = dd_id'           " name of the drop down id
    along with drop down bind data for table view
        tbv ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'tableView'
                                          id      = 'tbv_id'           " name of the table view
    when 'tbv_id'.                   drop down event is fired.
    bind data for drop down
    dd ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'dropdown'
                                          id      = dd_id'           " name of the drop down id
    along with drop down bind data for table view
        tbv ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'tableView'
                                          id      = 'tbv_id'           " name of the table view
    This is how data should be binded in case of Stateless application. All the UI elemets must b binded again.. as the global data is refresed again.
    Hope this helps.
    Regards,
    Imran.

Maybe you are looking for