EPICS alarm status is incorrect

I am using LV2010SP1 with the DSC module and EPICS Server/Client. I have used EPICS in DSC before, but only for passing values. Now I am interested in alarms and alarm status and I am getting strange results. I have attached a zip file with  a project that illustrates the problem. The server publishes a single integer, and in DSC I enabled alarms with the default thresholds: below 10 is LOLO, 10-25 is LOW, 25-75 is NO_ALARM, 75-90 is HIGH and above 90 is HIHI. When I run the server and look at the values of the shared variable and the EPICS Server variable using Distributed Server Manager then everything looks good. On the client side, though, the alarm status readings are messed up. The status changes at the correct levels, but the status reads wrong. LOLO shows up as STATE, LOW shows up as COS, HIGH shows up as LOW and HIHI shows up as LOLO! STATE and COS are not even legitimate options for status. Here is a screen shot of the Distributed System Manager display. Has anyone else encountered this problem? I have tried Int16 and Int32 with the same results. I will try DBL next, but eventually I need this to work for integers.
Rich
Attachments:
EPICS Alarms.zip ‏19 KB

Rich:
So, it turns out that COS and STATE are valid values for the STAT field in EPICS, but they definitely don't make sense for the alarm states of the bound shared variables.
(Brief mention of some of the STAT field values can be found on aps.anl.gov here)
I've filed this under Corrective Action Request (CAR) #297362 with R&D. In the meantime, is it possible to use the server's STAT value (instead of the client's) as a workaround?
Caleb Harris
National Instruments | Mechanical Engineer | http://www.ni.com/support

Similar Messages

  • WCS Alarm Status shows green but LAP is unplugged ?! Oper Staus shows Down

    Hello,
    we are operating a Cisco WLAN environment with 1242 and 1131 LAP. Some of them have been converted from AP to LAP.
    Now we took some LAP off the wall.
    They are now packed in a box in our storage room.
    But the WCS is showing a green Alarm Status for these LAP and as Oper Status Down.
    How can that be ?
    Is there a way to fix this problem, because we want to see the Alarm Status in Red.
    Thx for all your input.
    Best Regards
    Christian

    This is very interesting. If I try to put myself in the WCS developer's shoes, I think:
    - if you get an alarm for missing AP, then acknowledge the alarm, WCS has no reason to re-display the same alarm. This is precisely what Acknowledge is for, to say "don't bother me with this issue anymore".
    - Even if you manually remove the AP from WCS, it clearly keeps some memory of it, at least for a while. This is something you can clearly see if you run a report of any kind, WCS has to keep track of objects even if you remove them.
    My suggestion would be:
    - Unacknowledge the alarm, then delete it... acknowledging an alarm is probably not the best way to deal with removing an AP. You would use Aknowledge for alarms such as "your neighbour AP keep being detected as rogue, you can't remove your neighbour AP but don't want to hear about this warning anymore." You acknowledge the alarm, WCS keeps it in its database and remembers NOT to bother you with it anymore (exactly what happens in your case).
    For an AP you remove, I would not acknowledge the alarm, but simply delete it after having removed the AP. This removes the alarm from the WCS database.
    If you ever re-plug this AP to the network, WCS may remember it, but any new alarm about it will display.
    Hope it helps
    Jerome

  • Alarm status drawing iow: recolour JInternalFrame components

    Greetings,
    Please have a look at this picture. It's a low res snapshot of
    a few quite complicated components. Most of the functionality isn't
    visible nor relevant in the example. What you're looking at is a real time
    process of some sort. Things can go wrong in that process. In a previous
    version of my views I'd turn the background colour of some components
    red/yellow/green according to the 'alarm status' of the process. One of
    my customers suggested the idea of turning everything red/yellow/green
    inside those JInternalFrames (that's what you're looking at in the example).
    Of course one fool can ask more than a dozen of wise men can answer
    and I am not that wise, so my question is: how would one change the
    colour of all components that are part of a JInternalFrame (or any
    other container) such that the colour wouldn't be 100% opague but
    still visible by itself and still showing the information originally present
    in each individual component. iow, as if a transparent monochrome
    filter were positioned in front of that entire JContainer.
    In a naive way I like the idea; if the idea turns out to be too complicated
    to realize I'd be happy with visual alternatives also. (such as big arrows
    pointing to the JContainer where the alarm happened).
    Note that these appliations run in a 'factory' environment where people
    either hardly watch the screens or they watch them at quite a great
    distance. The changing colours should just attract their attention so they
    will walk/run/drive/ride to the screens for a second inspection.
    Any ideas are appreciated.
    kind regards,
    Jos

    Not sure I understand the question, but I keyed in on:
    as if a transparent monochrome filter were positioned in front of that entire JContainer.So maybe you could use a GlassPane:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class GlassPaneTest extends JFrame
        public GlassPaneTest()
            final JComponent glassPane = new JComponent()
                public void paintComponent(Graphics g)
                    g.setColor( getBackground() );
                    g.fillRect(0, 0, getSize().width, getSize().height);
            glassPane.setOpaque( false );
            glassPane.setBackground( new Color(240, 20, 20, 100) );
            setGlassPane( glassPane );
            glassPane.addKeyListener( new KeyAdapter()
                public void keyPressed(KeyEvent e)
                    e.consume();
            glassPane.addMouseListener( new MouseAdapter()
                public void mousePressed(MouseEvent e)
                    e.consume();
            final JButton button = new JButton( "Click Me" );
            button.setMnemonic('c');
            button.addActionListener( new ActionListener()
                public void actionPerformed(ActionEvent e)
                       glassPane.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
                       glassPane.setVisible( true );
                       glassPane.requestFocus();
                       Thread thread = new Thread()
                            public void run()
                                try { this.sleep(5000); }
                                catch (InterruptedException ie) {}
                                 glassPane.setVisible( false );
                                 glassPane.setCursor(null);
                    thread.start();
            getContentPane().add(new JLabel("NORTH"), BorderLayout.NORTH );
            getContentPane().add( button );
            getContentPane().add(new JTextField(), BorderLayout.SOUTH);
        public static void main(String[] args)
            GlassPaneTest frame = new GlassPaneTest();
            frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
            frame.setSize(300, 300);
            frame.setLocationRelativeTo( null );
            frame.setVisible(true);
    }The Swing tutorial on [url http://java.sun.com/docs/books/tutorial/uiswing/components/rootpane.html]How to Use Glass Panes shows how you can also do a simple drawing (your arrow?) on the glass pane.

  • LabVIEW DSC: How to get alarm status from the area?

    Colleagues,
    I have, lets say, 50 Shared Variables where alarming enabled. Some of these variables assigned to area, so I can get status of the entire area or acknowledge an entire area of alarms (prior to version 8.x there was groups of the tags).
    Now I would like to get alarm status from the entire area. How can I do it?
    In version 6 I was able to wire tag group to Get Alarm Summary Status. Now, in version 8, Alarm Status.vi can be wired to the array of the variables, but not to area. Is it possible to get all variables from the area?
    regards,
    Andrey.

    I am not sure if I should be posting my problem under this particular topic. I am having trouble understanding acknowledge alarm vi and what this vi is supposed to do is not clear to me yet.
    I have around 300 shared variables in my project and I have created a particular vi just to view the alarms that may pop up during runs. I created a main menu and this alarm vi can be accessed upon a button click in the main menu. Users get alarm alert based on sound configuration. Then he can navigate to the alarm vi and acknowledge the alarm. The alarm vi only contains alarm and event display found under DSC module.
    The problem is everytime I click the alarm button in the main menu, it takes around 2 minutes for the alarm vi to update which is very annoying and unsatisfactory in the middle of run. I am not sure why it happens and I haven't got any response from support yet. These shared variables are managed under 10 different library files that are set up based on different loops of the process (flow, pressure and so on).
    Then I looked into three alarm examples that ship with DSC module. None of these examples use acknowledge alarm vi. I implemented another vi similar to alarm demo vi in that example - containing multicolumn listbox. I created acknowledge event containing acknowledge button and used the acknowledge alarm vi under this event. Read vi alarm is under timeout event.
    When I click the acknowledge button  as soon as I see the alarm in multicolumn listbox, nothing happens - the color of font does not get changed to purple neither any alarms get acknowledged. I tried to aknowledge alarm by variable name or  alarms or alarm area, it does not give me anything. What is this acknowledge alarm supposed to do? I tried to find examples everywhere in the web that uses this particular vi and haven't found one yet. 

  • I am having touble logging alarm status in labview

    I have written a vi that reads information from to data aquisition boards and compiles the info into a 1d boolean array(1x16) for its analog inputs and a 2d boolean array(9x23)for its digital inputs, I use a for loop and a case structure to index the arrays and return an alarm text if any of the booleans go HI. I want to display the alarm text on the front screen for each alarm that is Hi as well as save to disk and print. I have too small problems with my vi. Any alarms after the first one overwrite previouse alarm instead of adding to the current alarms, as well alarms continusly update making it impossible to save them as it would save every time the program cycles, I guess what I am asking is the
    re any way for the alarm status to be updated with each new alarm only and not updating untill it finds another change of state.
    thank you for any help or ideas
    drw

    For the alarm output, you can use shift registers and replace values if an alarm goes HI, letting the array pass trough if not. This way, only data passing to HI will write to the output, and won't overwrite it. You can save data everytime a bool goes high, so that only this makes data be saved. Attached there's a vi that gives some idea of what i mean.
    Hope this helps
    Attachments:
    alarm.llb ‏46 KB

  • View alarm status of shared variable

    Hello:
    I need to know the alarm status (I mean, if the shared variable is currently alarmed) of some shared variables hosted in a Compact Fieldpoint Controller.
    I've seached for options on how to do this (like searching for a property through a property node of the SharedVariableIO class) but haven't found a succesful method to do it.
    Anybody knows how to do that?
    Thanks in advance!
    Robst.
    Robst - CLD
    Using LabVIEW since version 7.0

      Hola Robst, para ver las propiedades de una variable lo que necesitas hacer es habilitar el porperty node para que acepte como entradas las constantes de Variables Compartidas. Para que property node acepte esta referencia como entrada tienes que decirle que en clase es una variable compartida. Para seleccionar la clase da clic derecho sobre el nodo, y ahí aparece en el menu class. Después selecciona Shared Variable. Una vez que tengas la Shared Variable vas a tener todas las propiedades, sin embargo aquí no hay una propiedad que diga si está o no activa la alarma este nodo más bien te permite saber la configuración de la alarma y modificarla.
    Aquí hay tres opciones sencillas para sacar esto. La primera es utiliza solo una variable y conectala al Read Alarms, o Alarm Status a partir de aquí puedes saber si existe o no alarmas.
    Con el de Read Alarms si el arreglo regresa vacio es que no hay alarmas. Con el de alarm Status hay una elemento del Cluster que te indica que si hay alguna alarma.
    Ahora otra opción es utilizar Read Alarms y de ahí extraer cuales son las alarmas.
    Saludos
    Message Edited by BeCeGa on 12-18-2008 05:43 PM
    Benjamin C
    Senior Systems Engineer // CLA // CLED // CTD
    Attachments:
    Alarmas2.PNG ‏21 KB
    Alarms Variables.vi ‏22 KB

  • Status distribution incorrect in GOA

    Hi,
    i've created a shopping cart, then bid invitation followed by Bid submission to bid acceptance. Then i created a contract from this bid response successfully. But the problem is when i distribute this contract to R/3, distribution fail with status "Distribution incorrect" I don't understand the missing link. Am using SRM server 5.5 (SRM 5.0) with ECC 6.0.
    Kind Regards,
    Maggie

    Hi Goithoma,
    I faced exactly same problem and coded a BADI to solve this issue.
    Actually Condition type in SRM and ERP is different and that is the reason for this.
    BADI Name: bbp_ctr_be_create
    Sample Code is
    METHOD if_ex_bbp_ctr_be_create~contract_interface_fill.
      TYPES : BEGIN OF ls_mapping,
      cond_type_old TYPE kscha,
      cond_type_new TYPE kscha,
      END OF ls_mapping.
      DATA : lw_ct_be_text TYPE bbps_ctr_text.
      DATA: ls_be_items TYPE bbps_ctr_item,
      ls_be_cnd_ct TYPE bbpbapicondct,
      ls_cnd_hd TYPE bbpbapicondhd,
      ls_cnd_it TYPE bbpbapicondit,
      ls_cnd_qs TYPE bbpbapicondqs,
      ls_cnd_vs TYPE bbpbapicondvs,
      ls_mapping TYPE ls_mapping,
      lt_mapping TYPE TABLE OF ls_mapping,
      lv_tabix_ct TYPE sy-tabix,
      lv_tabix_hd TYPE sy-tabix,
      lv_tabix_it TYPE sy-tabix.
    Condition Type mapping from SRM to ERP system.
      ls_mapping-cond_type_old = '01CT'.
      ls_mapping-cond_type_new = 'PB00'.
      APPEND ls_mapping TO lt_mapping.
      ls_mapping-cond_type_old = '01RA'.
      ls_mapping-cond_type_new = 'RB00'.
      APPEND ls_mapping TO lt_mapping.
      ls_mapping-cond_type_old = '01RH'.
      ls_mapping-cond_type_new = 'RA01'.
      APPEND ls_mapping TO lt_mapping.
      ls_mapping-cond_type_old = '01RP'.
      ls_mapping-cond_type_new = 'RA00'.
      APPEND ls_mapping TO lt_mapping.
    go through all service items (product_type 01 = normal material,
    product_type 02 = service)
      LOOP AT ct_be_items INTO ls_be_items.
    additional loop on local condition table if product_type = 02
    if 02 --> change SRM condition 01CT to PRS
    only valid with services !
        IF ls_be_items-product_type = 02.
          LOOP AT lt_mapping INTO ls_mapping
            WHERE cond_type_old = '01CT'.
            ls_mapping-cond_type_new = 'PRS'.
            MODIFY lt_mapping FROM ls_mapping.
          ENDLOOP.
        ENDIF.
        LOOP AT ct_be_cnd_ct INTO ls_be_cnd_ct.
          lv_tabix_ct = sy-tabix.
          LOOP AT lt_mapping INTO ls_mapping
            WHERE cond_type_old = ls_be_cnd_ct-cond_type.
            CLEAR ls_be_cnd_ct-cond_type.
            MOVE ls_mapping-cond_type_new TO ls_be_cnd_ct-cond_type.
          ENDLOOP.
          MODIFY ct_be_cnd_ct FROM ls_be_cnd_ct.
        ENDLOOP.
        LOOP AT ct_be_cnd_hd INTO ls_cnd_hd.
          LOOP AT lt_mapping INTO ls_mapping
          WHERE cond_type_old = ls_cnd_hd-cond_type.
            CLEAR ls_cnd_hd-cond_type.
            MOVE ls_mapping-cond_type_new TO ls_cnd_hd-cond_type.
            MODIFY ct_be_cnd_hd FROM ls_cnd_hd.
          ENDLOOP.
        ENDLOOP.
        LOOP AT ct_be_cnd_it INTO ls_cnd_it.
          LOOP AT lt_mapping INTO ls_mapping
              WHERE cond_type_old = ls_cnd_it-cond_type.
            CLEAR ls_cnd_it-cond_type.
            MOVE ls_mapping-cond_type_new TO ls_cnd_it-cond_type.
            MODIFY ct_be_cnd_it FROM ls_cnd_it.
          ENDLOOP.
        ENDLOOP.
      ENDLOOP.
    ENDMETHOD.
    Regards,Nishant
    Please reward points if this helps.

  • Status : 51- Incorrect function module IDOC_INPUT_MATMAS01 called up

    Hello,
    File - IDOC
    in MONI, checkered flag is shown up and when I go the R3 server, WE05, I get error message
    Status : 51
    Incorrect function module IDOC_INPUT_MATMAS01 called up
    I am using MATMAS04 without extension and updated the same in WE57. also checked in WE42 (MATM)
    now, how do I proceed furthur related the above error message?
    Regards,
    Nikhil.

    can very much
    check your partner profiles PROPERLY. If u have the same IDoc type in 2 different partner profiles, check the 2nd one for it's process code. Isn't it the one, which is called after your Idoc is received? Processing code in partner profile is not based only on Idoc Type, but also on Message Type, Message Code and Extension. If the 2nd profile contains the process code, which is called, then check your incoming idoc for header values. May be this is causing your problem.
    Peter

  • Sales order cannot be rejected -problem log status item status is incorrect

    Hi,
    I need to reject this particular sales order, but when i try to reject it says to check the problem log which states that the item status is incorrect. It says subsequent documents exists for some lines even though no documenst are attached.
    There were a delivery attached to this order earlier but that has been archived. I ran repors SDVBUK00 etc but nothin seem to sort this issue..
    I just need to reject the whole sales order. does anyone know any reports or somethin to rectify this issue.
    Thanks
    Keshini

    Dear Keshini,
    Could you please update with the process of Delivery Document Archieved?
    I mean, had you reversed the delivery (T. Code: VL09) and then deleted the items from reversed Delivery Doc (T. Code: VL02N), before deleteing the Delivery Doc?
    Was there any subsequent document for Delivery Doc.?
    Best Regards,
    Amit
    Note: Also, check with Copy-Control settings for Order-to-Delivery (T. Code: VTLA)
    1. Field: Update Document Flow is marked ticked at
    Item (Dialog Structure) --> Item Category --> Control data
    2. Field: Pos./neg. quantity with entry "+"

  • Process chain status shows incorrect status

    When ever i receive bad data requests from R/3, BW pulls the error requests into a separate PSA and pass-thru the good once in another PSA and then into datatarget.
    However the overall status is green for the job/package and the package when executed in ProcessChain does not show an errors. But the errors are not noticed until user notices it in the qyuery.
    How to capture such errors and notified, is their any automation possible? I have setup e-mail on process chain failures but these kind of errors are not captured because the overall status of request is GREEN.
    Here is the status on infopackage.
    Incorrect data records - error requests (total status GREEN)
    Diagnosis
    Data records were recognized as incorrect.
    System response
    The valid records were updated in the data target and can be used in reporting.
    The incorrect records were not written to the data target, but were posted retractively under a new request number in the PSA.
    Procedure
    Check the data in the error requests, correct the errors, and post the error requests.

    Hi Gopikrishna,
    Please check if "Error Handling" in the Update Tab of your Infopackage has been enabled, I guess it is.
    If this has been enabled , then the error recs will be isolated and only the Correct records will be posted into the Data Target. It is the responsibility of the BW Administrator to identify such errored records, correct them and Post it back to the DAta target. Because error handling is used, the Monitor will show Green, as all the error recs have been separated.
    To avoid this, you have to remove Error Handling from the INfopackage, then you will see the Load failing and the Process Step in the process chain would turn RED with the corresponding error messages.
    Regards,
    Praveen.

  • Check alarm status using SNMP

    Hi,
    Is there a way to check if there is an active alarm on a cisco switch/router (M4900/4948 series and 2960 series) using SNMP ?
    I'm looking for a simple quick way to verify if an alarm is active (any alarm)
    is there some sort of general OID that gives me a '1' or '0' ?
    thanks !
    grtz
    Thijs

    Like a table that hold all alarms. No  there is no such thing.
    There are so many reasons there could be an alarm. Hardware state, error rates, utilisation, etc
    There are hardware state OID's that can give you a hardware component status.
    Usually you will find that you have an OID for a component, like a fan.
    1.3.6.1.4.1.9.9.13.1.4.1.3
    You can then walk this OID to find the instances of that OID.
    E.g, a fan for the device and another fan for the power supply, or a fan for each stack member.
    When you know these instances lets say the walk return .1001and .2004 you can query
    1.3.6.1.4.1.9.9.13.1.4.1.3.1001 and 1.3.6.1.4.1.9.9.13.1.4.1.3.2004.
    The values returned can be:
    Specific Object Information
    Object
    ciscoEnvMonFanState
    OID
    1.3.6.1.4.1.9.9.13.1.4.1.3
    Type
    CiscoEnvMonState
    1:normal
    2:warning
    3:critical
    4:shutdown
    5:notPresent
    6:notFunctioning
    Permission
    read-only
    Status
    current
    MIB
    CISCO-ENVMON-MIB ;   -   View Supporting Images
    Description
    The current state of the fan being instrumented.
    So then you have an alarm for the fan's.
    It is similar for other components like a power supply or temperature sensors, etc.
    http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2&mibName=CISCO-ENVMON-MIB
    And then there are operational alarms not related to hardware.
    For this you need to monitor values like CPU utilization and define a threshold.
    Good luck,
    Michel

  • Update status is incorrect

    When I run update status reports, some computers show "not needed" for an update that is clearly needed. For instance, if I run a compliance report and look for the status of KB2775511, I get a lot of computers showing "Update is not required"
    - however, these computers don't have KB2775511 installed, and clearly need it.
    In fact, each client believes it needs the update because it's listed as "Missing" when I check the CCM_UpdateStatus WMI class at "root/ccm/SoftwareUpdates/UpdatesStore". Furthermore, if I deploy the update via SCCM to one of these computers,
    the computer recognizes it needs the update and installs it. So it seems that the report (or wherever the reports gets its information) is what's at fault here.
    The other odd thing I notice about the report is that the computers with incorrect statuses have very recent dates for "Last State Received", and no date for "Last State Change". This is different from computers that are correctly
    reporting their status, which have values for both, typically with older dates.
    Any idea why my reports are incorrect?
    Eric Hodges

    Hi,
    Have you checked the following log files:
    StateMessage.log(Client)
    It records details about software updates state messages that are created and sent to the management point.
    MP_Relay.log(Site system server)
    It records the transfer of files that are collected from the client.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Work Status Saved Incorrectly

    In SAP Note 1941785 say that's in BPC 10 MS in previous version respect to SP 12 Work Status Are Saved Incorrectly in sql tables.
    What does it means? Have You Had Issue With Work Status in BPC 10 MS ?
    Thanks
    Samuele

    Anybody has problem with work status ?
    Thanks
    Samuele

  • See alarm status at a glance?

    In iCal 3.0.2 I want to see at a glance if an event has an alarm set. On my Treo there is an alarm icon. Is there anything similar for iCal?
    Thanks!

    Apple.com/feedback

  • Status Bar Incorrect

    In mail, the status bar does not show the last time/date of update. Instead it shows the previous update time.

    I should be more specific. It is on the main "Mailboxes" page where it shows the mailboxes in the top and the accounts down below.

Maybe you are looking for

  • Problem with HP-DeskJet 1120c

    HP-DeskJet 1120c driver has a specific billbord option which caused the priter to split the image on two or more pages, even if we turn off this function. This thing appear only on Developer 6 under Windows 95 Best regards Victor null

  • How to get the field COMPLETION in extract layout

    Hi, Does anyone knows How to get the field COMPLETION in extract layout? i have not been able to find it and it is imperative to have it for implementing a new evaluation. Thanks a lot for your help. CAMILO URIBE

  • Qualifier values are not part of a qualified lookup record

    Hi      I am getting the exception "Qualifier values are not part of a qualified lookup record" when I serach for a record in the Qualified table. The Table has both Qualfier and non-Qualifier fields, but all are of type display fields. My question i

  • How to hide menu drop downs layout

    Can I hide the menu drop downs on my layout pages? They interfere with laying out text and images.

  • Lenovo g550 linux intallatio​n doubt ;need to intall 32 bit or 64 bit?

    Hi! I Have a Lenovo g550 which has Win7 Home Basic and Windows Vista Business(This one has been installed later). Now, I am planning to install the latest version of Linux Ubuntu. But, When I am going to download its iso from the main Website, it giv