Data Logging and Supervisory Control (DSC) Alarm Acknowledge / General Alarm Questions

Hi All -
I would like to know if anyone can help me with DSC and alarms.  I have several shared variables that I have setup with alarms and logging with DSC.  I can view them with the Shared Variable Manager, the value, status, alarm state, etc.  So, I want to be able to view this info on my Front Panel and acknowledge alarms there - - Is that possible?  I put "alarm and event display.vi" on my front panel and it shows when a variable goes to alarm state, but I don't see how to acknowledge the alarm once it enters the alarm state.
Other question, once a variable is in an alarm state, obviously it stays there until it is no longer in alarm, but if you acknowledge it - - what happens? does it stay 'red' color and remain in the alarm list - and what about logging, does the log indicate when the alarm was acknowledged any by whom?
So that is my next question, how do I setup and force a user to 'log-on' to be able to acknowledge alarms?
If anyone could point me at a document / tutorial / example I would really appreciate it!
Thanks!
Get Mystified

Mystic wrote:
Hi All -
I would like to know if anyone can help me with DSC and alarms.  I have several shared variables that I have setup with alarms and logging with DSC.  I can view them with the Shared Variable Manager, the value, status, alarm state, etc.  So, I want to be able to view this info on my Front Panel and acknowledge alarms there - - Is that possible?  I put "alarm and event display.vi" on my front panel and it shows when a variable goes to alarm state, but I don't see how to acknowledge the alarm once it enters the alarm state.
Other question, once a variable is in an alarm state, obviously it stays there until it is no longer in alarm, but if you acknowledge it - - what happens? does it stay 'red' color and remain in the alarm list - and what about logging, does the log indicate when the alarm was acknowledged any by whom?
So that is my next question, how do I setup and force a user to 'log-on' to be able to acknowledge alarms?
If anyone could point me at a document / tutorial / example I would really appreciate it!
Thanks!
Get Mystified
When your VI is running, you can right-click on the alarm & event display control and it will give you the option of acknowledging the alarm.  Another option would be to use the Acknowledge Alarm.vi and create your own interface.
Once the alarm is acknowledged, the alarm color will change to magenta and the acknowledgement information will be displayed.
The acknowledgement information - user, time, comment - will be logged if logging alarms is enabled.
Regards,
Robert

Similar Messages

  • Help In keithley 2400 VI!!(Problem with the data logging and graph plotting)

    Hi,need help badly=(.
    My program works fine when i run it,and tested it out with a simple diode.The expected start current steps up nicely to the stop current.The only problem is when it ends,i cannot get the data log and the graph,though i already have write code for it.Can someone help me see what's wrong with the code?I've attached the necessary file below,and i'm working with Labview 7.1.
    Thanks in advance!!!
    Attachments:
    24xx Swp-I Meas-V gpib.llb ‏687 KB

    Good morning,
    Without the instrument it might be hard for others to help
    troubleshoot the problem.  Was there a
    specific LabVIEW programming question you had, are you having problems with the
    instrument communication, are there errors? 
    I’d like to help, but could you provide some more specific information
    on what problems you are encountering, and maybe accompany that with a simple
    example which demonstrates the behavior? 
    In general we don’t we will be unable to open specific code and debug,
    but I’d be happy to help with specific questions. 
    I did notice, though, that in your logging VI you have at
    least one section of code which appears to not do anything.  It could be that a small section of code, or
    a wire was removed and the data is not being updated correctly (see pic below).  Is your file being opened properly?  Is the data being passed to the file
    properly?  What are some of the things
    you have examined so far?
    Sorry I could not provide the ‘fix’, but I’m confident that
    we can help.  Thanks for posting, and
    have a great day-
    Message Edited by Travis M. on 07-11-2006 08:51 AM
    Travis M
    LabVIEW R&D
    National Instruments
    Attachments:
    untitled.JPG ‏88 KB

  • Org data determination and copy control

    Experts,
    I have a scenario where service orders are created automatically form a service contract.  The same service order can also be created manually.
    Org determination in service contract is based on the Sold-to-party.
    Org determination in service order is based on the ship-to- party.
    When service order are manually created - org data is determined based on ship-to-party  -
    But when automatically created form Service contract the Org data is copied from Service contract.
    Or  how can I redetermine the org data in the service order??????????
    Thanks and Regards,
    Ram

    Thanks for the reply guys,
    The service order is determining the Org data as expected using the Org data profile and parter function for org values assigned to the the transaction type.  This is working as assigned for manually created service orders. This is not the problem.
    But when the same service order is automatically created from a Service contract -- Org data is copied form Service contract.
    I want it to be determined as it happens when they are created manually.
    Any thoughts...
    Thank you
    Ram

  • Datalogging and Supervisory Control : how to share data among LabVIEW applications on the same network?

    I'm new to DSC. Is there an example program or article about how to share data (live data and data saved after running a program) among LabVIEW (using DSC) that is very basic? I would like to share live data and test reult data (eg. excel) among computers on the same network (may be LAN). Does sharing data over a network by using DSC makes whole system (all computers) down when one computer is locked up?

    Hi,
    The easiest way to network DSC data is using "network tags". The way you do it is by simply configuring the server PC as you normally would do for a local application.
    Then from a remote compute, which we can call a client computer you can go to Tag Configuration Editor and option "File >> Import Network Tags.."
    In the window that opens up you can hit the browse buttom and navigate to your server computer, select the .scf file you want to have and hit the buttom import.
    Save the "client .scf" file locally and now you have in the client the same configuration you have in the server and your data is networked, from there on is just a matter of manipulating the data.
    I hope it helps
    Andre Oliveira

  • SIT Real-time data logging and passing data

    Hello all,
    I am pretty new to LabView real-time, so I just want to confirm a few things. I am also using the Simulation Interface Toolkit.
    Let's take the Sinewave.vi from the SIT examples. I have modified it to use sinewave.dll, and run on PXI-8101. If my understanding is correct, when I click "Play", the entire Sinewave.vi is deloyed into PXI-8101, and therefore the entire VI is running at the same pace. The front panel I see on my desktop is slower snapshots of what is actually happening?
    1) Let's pretend now that the sinewave model is time critical and must run every 10ms. How do I do that? I have noticed that within the "SIT_Indicator_Indices" loop, there is a Wait 50ms block. Is that accurate?
    2) I have also added a time elapsed block that will change the Frequency and Amplitude inputs as a function of time. I made them update every 2ms. What clock are we running on? If my sinewave.mdl suddenly calculate integration (time dependent), can I use that elapsed time block as my timer to pass into the model?
    3) How fast is the sinewave.vi running anyways?
    4) Let's say I want a log of the sinewave output (a data point every 10ms). I don't need the log in real-time, I just want to do some analysis on it later. How do I do it?
    Thanks.
    Attachments:
    Sine Wave.vi ‏104 KB

    Hi Bladhart,
    When running the in the Development Environment (pressing the run button on the Real-Time vi) there will be an extra thread to handle the front panel you see. This thread will be handled just like any other thread in Real-Time and will take processor time, thus slowing down your entire application to a certain extent.  
    1. You would need to make sure everthing inside the loop can execute within 10ms and change the wait time to 10ms. Or you can use a timed loop set to run every 10ms and get rid of the wait time but again you would need to ensure everything in the loop can execute in under 10ms.
    2. The elapsed time should be running off the Real-Time system clock. 
    3. The time that the Sinewave.vi is running is system dependent, there is no set speed.
    4. You can log the data by saving to a *.tdms file. You can then use the data from the *.tdms file to do processing later. 
    <Brian A | Applications Engineering | National Instruments> 

  • Data Integrator and BMC Control-M scheduler

    Hi,
    anyone have experience, indications or suggestions on if and how the Data Integrator jobs can be scheduled from Control-M scheduler using the SNMP protocol adapter?
    Thanks,
    Renato
    Edited by: Renato Nardelli on Sep 22, 2009 3:58 PM

    I dont think you require ECC system upgrade only for Control M. This product is even compatible with R/3 versions.
    As per suggestion from Joe, please raise a call with BMC support team to check software version and SAP compatibiliy.
    [http://www.bmc.com/support]
    Best Regards,
    Edited by: Rupali B on Mar 8, 2012 6:35 PM

  • Problem with data acquisition and motion control

    I have PCI-6024E and PCI-7342 cards on a single PC. Servo motion control works fine when it goes alone or is accompanied by one point data acquisition in a while loop, but when I start data acquisition with specified sample rate, the motor moves with breaks.
    Does anybody know what is the problem? Is it possible to fix it?

    How are you performing your motion? Is it a position move or a velocity move? How are your triggering the data acquisition? Using breakpoints on the 7342? If so, are you using single breakpoints or modulo? How are you configuring the data acquisition rate? Are you triggering just the start to the acquisition and the unsing the daq scan clock or are you using the motion controller to send the scan clock itself?

  • 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

  • Plc data logging using Labview

    I am trying to communicate with PACSystem RX3i using Labview in order to log
    data from PLC. Is this possible?
    If it is possible, how could I implement it?

    Hi mber,
    Thanks for posting at NI forums. I looked into the supported device & driver plug-in list for NI OPC Servers, and the PACSystem RX3i is supported. To configure the OPC server to communicate with this PLC, you can follow the steps given in this article. In the LabVIEW side, you can configure an I/O server as an OPC client to communicate with the server.
    In order to configure the I/O server you will require the Datalogging and Supervisory Control (DSC) module installed for LabVIEW. In the article I just referenced, it shows how to configure bound variables to communicate with the PLC tags to retrieve data. The DSC module installs a Citadel database, so when you are configuring the bound variable, you can choose to log data depending on events, alarms or a historical log. This article describes the data logging options using the DSC module. You can also choose to read and display the data in a VI by dragging the bound variables to the block diagram and then log to a file using logging functions.
    Best Regards,
    Alina M
    Applications Engineering
    National Instruments

  • Rapid disk use with DSC data logging

    I recently installed Labview 8.2.1 with DSC module.  I have tried a few shared variable projects with data logging and now I find my hard drive space is being consumed very rapidly.  The variable manager indicates that only a few shared variables are left from my projects.  They would produce very little data in the Citadel database.  Certainly not enough to consume 100 meg + of disk per day.  I am obviously missing something that would turn off some hidden logging process.  Any suggestions?

    Thanks for the input.  I did have another look at historical data and there are not large traces.  I used the Variable manager to stop all processes and I stopped the shared variable engine.  The leak continues.  The only way I can stop it is to use the Windows Task Manager to shut down the Citadel5 process.  I have searched the computer and cannot find any large database files that would account for the disk shrink.  I have also uninstalled and re-installed the DSC module.  No success.  
    If I knew where the data was located I might be able to determine the source.  The National Instruments directory is not growing even though all the processes had their database pointed to a directory inside the NI directory!
    Len

  • Data Log File Refnum Type Def Bug??

    Hello,
    I just found some quirky behaviour (LV 7.1.1):
    1. In the attached LLB, open "RefnumVI.vi"
    2. Select the Data Log File Refnum control and open it for editing (Edit - Customize Control ... from the menu)
    3. Close "RefnumVI.vi" but leave "Refnum.ctl" open
    4. Select the enum inside the refnum container, and open it
    5. Select File - Save As ... and save the enum as "RefnumEnum2.ctl"
    6. Close the enum
    7. Save "Refnum.ctl", and close it
    8. Reopen "RefnumVI.vi" and display its hierarchy (Browse - Show VI Hierarchy from the menu)
    Notice that "RefnumVI.vi" still has a link to "RefnumEnum.ctl", even though we saved this as "RefnumEnum2.ctl" earlier.
    If you go back to the VI, right click on the refnum, and replace it with itself (i.e. select "Refnum.ctl"), the link disappears.
    This behaviour does not happen if I use a Cluster instead of a Data Log File Refnum.  I imagine the difference is that the calling VI needs to know about the structure of the data log file in ways it doesn't need to know about the structure of a cluster, but this still is very counter-intuitive behaviour.  Is this really expected?  Or is it a bug?  Is there any other way to remove the link?
    Cheers,
    Jaegen
    Attachments:
    RefnumEnumBug.llb ‏22 KB

    Nathan,
    Thanks for your response - I have 8.2 and am in the process of evaluating how/when to upgrade.
    Does this mean that the compiler/linker is behaving differently depending on where you open a type def from?  The reason I'm asking is that I've seen similar behavior when editing a hierarchy of type defs; depending on how I open the low-level type def I'm actually editing, changes will or won't get propagated to other instances properly.
    Regarding this actual problem, the issue I had is that the data log file refnum type def exists on many VIs, and thus the incorrect link now exists on many VIs, and I don't see any way of correcting the problem without manually replacing the type def with itself in every location (given there's no "Replace All" feature in LV 7.1.1 ).  However, the hierarchy I'm dealing with was only created for testing, so I don't actually need to fix it .  I'll just know to avoid causing this problem in the first place in the future.
    Jaegen

  • CRio data logging too slow

    Hi,
    I am using a cRio 9074 in scan mode and I have a fairly simple timed loop that should run at 5-10mSec periods to operate a pwm control. I also need to do some data logging and save two input signals (at approx. 1kS/sec). However, when I use write to spreadsheet, the loop speed drops and my timed loop period goes up to 50mSec. How can I speed this up, and what is the efficient way to save data in scan mode.
    Thanks.
    Solved!
    Go to Solution.

    The single best way to improve determinism is to divide your acquisition/logging into two distinct producer/consumer loops as VTHokie says. Next best improvement would probably be using a binary format file structure rather than Write to Spreadsheet, which converts all data to ASCII representation prior to writing to file. Writing to ASCII files rather than binary files degrades performance in four ways:
    CPU must be used to do the number to text conversion
    ASCII represented numbers lose precision and don't exactly convert back to original data
    The filesize is larger
    When you go to read the file, it's slower for the above three reasons
    On the other hand, an ASCII file is more portable - e.g., you can easily import into a third-party spreadsheet analysis program. But who in their right mind would export data OUTSIDE of LabVIEW when it offers best-in-industry analysis tools?
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • General data logging failure

    I have been receiving this error message over the past week on our Lookout 5.0 setup. After this message, no data logging happens for any logged point, not just the alarmed point! This is shown in the default alarm window that comes out of the box with Lookout.
    Lookout has v5.0 latest fixes file installed (as of mid 2006), Citadel was updated around the same time also. OS is W2K, SP4. Any ideas. Lookout and Citadel are the only things running on this box. Application is a typical base station talking to 45 remote sites. This is an example of the data logging failure alarms that I get on the alarm screen.
    //basestation/Modbus045.43107: General data logging failure (0x800045005)
    where the object name = '....Modbus045.43107' and the alarm description is 'General data logging failure (0x800045005)'
    I have several of these alarms for various sites and tags (elevation, amperage, etc.).  I've noticed that when I get this error the computer doesn't log data and I can't clear the alarms. This has happened before but I cannot seem to replicate, seemly happens randomly. Sometimes several times a day, other times it will go for weeks or months. The only way to previously get out of it is to click OK, then restart computer. Checked OS processes prior to shutting down, lookout.exe and the ldcitdl.exe, ldads.exe, and ldtsrv.exe are all running, but at 0% CPU usage.
    This last week, restarting the computer does not work anymore. System gives these types of errors after a restart. This system has been providing data consistently since its been placed in operation and lots of disk space left.
    Any suggestions on where to start debugging?

    I suggest you to create a new database.  In Max, right click "Historical Data", select Create New...
    And then in Lookout, log data to this new one.  File->Modify process, uncheck "use default vaue" and select the new database.
    If the new database works fine without the "logging failure " alarm, I think the database you are using may be corrupted.
    Ryan Shi
    National Instruments

  • Data logger and online processing application

    Dear All
    My application should include both data logging and online processing threads which are synchronized. I already implemented that by means of something we call "Ring buffer" which is an array containing the data and when the data stream reach its end it start over again from first index. It works almost well but sometimes it seems that my "timed loop" which is my processing thread is a little bit ahead of my data logger thread and it makes some distortion on data stream in processing thread but of course not in data logger.
    Since this type of application is very classic, we should have a kind of general prototype (example) for its implementation which provides fully synchronization between processing and logger threads so I was wondering if somebody knows where I should look into?
    Best regards
    Afshin

    Hello Afshin,
    Have a look at Software Circular Buffer in LabVIEW and Software Circular Buffer Reference Library for Multi-Channel Data Acquisition.
    The latter comes with an example.
    Regards,
    Eirikur Runarsson
    Platinum Applications Engineer
    NI Denmark

  • Can I process more than 1000 I/Os for data logging?

    My process requires 1000 digital input for data logging and 500 digital output for HMI display.
    Can I use Lookout for this application?

    The I/O count is well within the capabilities of Lookout. If you are working with this size of an application you should look into the features of Lookout 5.0. There are means to backup your data from a different computer. Also view and export your data easily from the new Historical Data Viewer. There has always been means for redundancy. Going through a course manual also helps, class or self paced.

Maybe you are looking for