How to monitoring LED status in main VI, while LED changes in sub VI?

In a sub VI a LED is switched on and 5 sec later the LED is switched off. How can I read the LED status in the main VI? The sub VI gives me only the end situation (LED off)
Solved!
Go to Solution.

Hi Johnny45,
please see attached the examples for my suggestions.
First Example: sub_LV85.vi and main_LV85.vi
Second Example: Example2_sub_LV85.vi and Example2_main_LV85.vi
Hope it helps.
Mike
Attachments:
Examples.zip ‏45 KB

Similar Messages

  • How to monitor TREX status in code

    I am working a project. It needs to monitor TREX status in coding. I found a Tool in EI_SAF_TOOL, But how could I use it in my own code?
    Could you help me?
    Thank you very much!

    thanks a lot dear frnd,
    In crm_dno_monitor
    how can i find that staus field ,currently using which status profile-statuses.how can i replace our status profile statuses  in place of standard status profile-statuses.
    (in crm_dno_monitor
    just check for the field status profile and provide your status profile name.)   -   i did not got that point.
    please give me the clear explanation.
    Thanks and Regards ,
    Deepak

  • How to set the status of an Workitem, while processing?

    Hi,
    My requirement is to set/ Change the workitem status after/ while procecssing if certain condition is not met for all the users. I have one workitem assigned to multiple users. If any one of the user's executes the workitem, it displays a zprogram, but the user has not taken any action (SAVE), he simply came out of the transaction using "BACK" button. Here the Workitem has been vanished/disappeared from the other two users Inbox, and the workitem is in "In Processu201D Status for the User who executed the workitem. But my requirement is to set the workitem to be in "READY" status for all the users to whom the workitem is assigned; until the user "SAVE" the transaction I need the workitems to be in "READY" status only.
    Please suggest me with your ideas to get the above results.
    Note: I have used the function modules u201CSAP_WAPI_SET_WORKITEM_STATUS (or) SWW_WI_ADMIN_READY ", to change the status of the workitem while processing, it's throwing an error u201CWork item & locked by user & (enqueue erroru201D.
    Thanks in advance,
    Ajay Kumar

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • How to monitor the status change of pp order?

    I want to monitor all of the status change of PP order ,when the status change to DLV, system trigger a idoc to legacy system.
    I added some code in EXIT_SAPLCOBT_001, but I found this user exit only working in CO02, when I use MIGO or MB1C ... tcode to do some GR, the source code is not woking, that means I have to add the code to any entrance of status change????? anybody have some good idea? maybe I have to add a monitor to monitor the table jest ????

    Could you elaborate your requirement please?
    Anyways, the BP transaction display/change mode can be controlled through settings. Goto BP->Extras->Settings->Choose Display/Change/Setting last selected. May be in your system, the setting is 'Setting last selected'. That's why it's showing the last status display/change. If you want it to be display only, you can change the setting to display. But, the settings are user specific and any changes made will reflect for the specific user.

  • How to determine the status of  Maintenance Order while working in workflow

    Hello Experts,
       I am working on a workflow to release production related maintenance order.In this workflow I need to determine the status of the Maintenance Order (BOR object BUS2007) whether it has been released or not.I am trying to do this by condition step type.I can't understand which field of BUS2007 object I need to check to know the status of the maintenance order.
    Can somebody help please?
    Regards,
    Manas

    Hi,
    Have you not getting any value in Status Profile attribute.
    For new attribute u need to write coding, getting the value of that released field.
    First, u need to implement by going to Edit->Change Release Status ->To implemented.
    Then check your BO and generate it. If any error occurs in Menu bar Goto->Error List and see what is the error.
    After generation of your BO, test your BO.
    If test works fine, then Delegate with the standard BO.
    To delegate, u need to be in initial screen of SWO1 and goto Settings->Delegate. Give Super type as Std BO and delegate type as your custom BO and use the Std BO in your workflow.

  • HSRP- How to monitoring Interfaces

    Hi,
    I still learning and I have a few questions,
    I'm trying to prepare the infrastructure:
    2x Router – 2911
    2x Switch – 2960G
    I configured HSRP, router R1 is active and R2 is the standby.
    Everything works and and when I do shoutdown interface Gi0 / 1 on router R1 HSRP runs and switches route on router R2.
    The problem is when I simulate a crash on the side of the ISP and I will shutdown the interface Gi0 / 0 on Router R1
    Then HSRP does not work. How do I fix this? How to monitoring the status of all Interface? Whether this is IP SLA? but I found examples showing how IP SLA switches routing on a router connected to two ISPs or can I use this with a version of the two routers? how to do it? and maybe use something else ? what I read?
    R1
    interface GigabitEthernet0/0
     description do ISP_1
     ip address XXX.XXX.XXX.XX 255.255.255.248
     ip nat outside
     ip virtual-reassembly in
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     description do CoreSW1
     ip address 192.168.1.101 255.255.255.0
     ip nat inside
     ip virtual-reassembly in
     standby version 2
     standby 1 ip 192.168.1.100
     standby 1 priority 150
     standby 1 preempt
     duplex auto
     speed auto
    interface GigabitEthernet0/2
     description do R2
     ip address 10.0.0.1 255.255.255.252
     duplex auto
     speed auto
    ip default-gateway XXX.XXX.XXX.XX
    ip nat inside source list 1 interface GigabitEthernet0/0 overload
    ip route 0.0.0.0 0.0.0.0 XXX.XXX.XXX.XX
    ip route 192.168.1.0 255.255.255.0 GigabitEthernet0/1
    R2
    interface GigabitEthernet0/0
     description do ISP_2
     ip address YY.YY.YYY.YYY 255.255.255.252
     ip nat outside
     ip virtual-reassembly in
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     description do CoreSW2
     ip address 192.168.1.102 255.255.255.0
     ip nat inside
     ip virtual-reassembly in
     standby version 2
     standby 1 ip 192.168.1.100
     standby 1 preempt
     duplex auto
     speed auto
    interface GigabitEthernet0/2
     description do R1
     ip address 10.0.0.2 255.255.255.252
     duplex auto
     speed auto
    ip default-gateway YY.YY.YYY.YYY
    ip nat inside source list 1 interface GigabitEthernet0/0 overload
    ip route 0.0.0.0 0.0.0.0 YY.YY.YYY.YYY
    ip route 192.168.1.0 255.255.255.0 GigabitEthernet0/1
    IP SLA example - one router
    ip route 0.0.0.0 0.0.0.0 2.2.2.1 2 track 1
    ip route 0.0.0.0 0.0.0.0 1.1.1.1 3 track 2
    ip route 0.0.0.0 0.0.0.0 2.2.2.1 5
    no ip http server
    no ip http secure-server
    ip sla 11
    icmp-echo 2.2.2.10
    frequency 10
    ip sla schedule 11 life forever start-time now
    ip sla 22
    icmp-echo 1.1.1.10
    frequency 10
    ip sla schedule 22 life forever start-time now
    regards
    weles

    Hi,
    correct scheme:
    failure of a router or connected R1 - SW1 - HSRP works,
    no internet (connection - ISP_1 - R1) - HSRP did not work
    regards
    weles

  • Monitoring Raid Status on SRE-910 module in 3945 router

    I'm at my wits end here.  We just recently purchased a 3945 ISR G2 router and have a SRE-910 module (with two hard drives) configured in a Raid 1.  We are running a stand-alone version of ESXi on the service module and I'm trying to figure out how to monitor the status of the Raid on the drives (along with other health issues).  SNMP has revealed nothing so far and even opening a support case for which MIB's to use has proved fruitless.  All the documents I find on monitoring the modules say to use LMS which is now Cisco Prime.  I've downloaded the trial copy, put in the SNMP settings and scanned the router.  I get device results and it shows that I have the SRE-910 module installed, but I get no other configuration / device informaiton from the module itself.
    I tried to create a new Monitoring template using the NAM health as the base template (which I'm assuming this is the correct template).  Unfortunately, when I acutally try to deploy the template against the discovered router, I get an 'Unexpected end of list' error which makes me assume I'm still doing something wrong.  I ANYONE out there monitoring the device health of their service modules in a 3945 router?  What am I missing????

    Oh, and by the way, I tried to monitor this through the ESXi host / vCenter, but even after pulling one of the hard drives from the module, neither software detected that there was an issue.  That is why I'm assuming that this will have to be monitored on the router side somehow.

  • Monioring - How to remove deployment status from monitoring

    How to remove deployment status from monitoring in SCCM 2012
    Thanks in advance
    NTRao

    You can also install this right click tool to be able to delete the deployment direct from the monitoring node.
    http://myitforum.com/myitforumwp/2013/04/16/how-to-add-a-delete-deployment-action-to-right-click-actions-in-configmgr-2012/
    Cheers Paul | http://sccmentor.wordpress.com

  • How to monitor a specific transaction in Solution Manager ?

    Hi all,
    I have configured the Service Level Reporting and it works correctly.
    But i don't know how to monitor a specific transaction like SM21, DB02, FB01N etc... ?
    In the SL Reports configuration steps, we can configure this option : Select Business Processes For SL Report. I did a lot of tests but it does not work.
    Have i to configure the Business Process Monitoring ?
    Thanks.

    Hello,
    it depends a little on what you want to do. If you use the pure CCMS monitoring with the table ALTRAMONI you get average response time per instance and you only get new measurements once the status changes from green to yellow or red.
    In order to get continuous measurements you should look into Business Process Monitoring and the different documentations under https://service.sap.com/bpm --> Media Libary --> Technical Information. E.g. the PDF Setup Guide for Application Monitoring describes this "newer" dialog performance monitor. Probably you have to click on the calendar sheet in the Media Libary to also see older documents as well. As the Business Process Monitoring integrates with BW (there is also a BI Setup Guide in the Media LIbrary) you can get trendlines there. This BW integration also integrates back with SL Reporting.
    Some guidance for SL Reporting is probably given under https://service.sap.com/rkt-solman but I am not 100% sure.
    Best Regards
    Volker

  • How to monitor OSD TS failure and get alert or report?

    How to monitor OSD TS failure and get some alert or generate an report?
    We have SCCM 2012 R2 CU1 with MDT 2013.
    I have checked the OSD reports in SCCM and everyone is emty, where do SCCM get data to the what to activate?
    (I thinking of "Task Sequence - Deployment Status" reports)
    I am not sure people read report manually or lock at the MDT monitor view. So best I think that generate an email or incident in Service Manager when an TS fails.
    We do have SCOM, SCSM, SCO.
    Is there anyone that can point what way or what option I have?
    /SaiTech

    Specifically you could use this Status Message Query syntax to monitor your Task Sequences for errors:
    select stat.*, ins.*, att1.*, att1.AttributeTime from SMS_StatusMessage as stat left join SMS_StatMsgInsStrings as ins on stat.RecordID = ins.RecordID left join SMS_StatMsgAttributes as att1 on stat.RecordID = att1.RecordID inner join SMS_StatMsgAttributes
    as att2 on stat.RecordID = att2.RecordID where att2.AttributeID = 401 and att2.AttributeValue = "DOJ200A1" and stat.SiteCode = "DOJ" and att2.AttributeTime >= ##PRM:SMS_StatMsgAttributes.AttributeTime## order by att1.AttributeTime desc
    Just replace DOJ200A1 with the Deployment ID of your Task Sequence and DOJ with your SiteCode.
    If you want to generate an alert if the TS fails then you could run a script that calls a utility (or similar) which sends a pre-configured email to a specified address (as an alternative to Torten's response). This could be placed in the built in error
    logging section of the SCCM integrated MDT Task Sequence when it fails which I assume you are using (right at the bottom, called Gather Logs and StateStore on failure).
    There are heaps of ways of generating an email from a TS and controlling error logging just do a search - as you have Service Manager you could even use your instance of Orchestrator and call a run book in your TS which does the email?
    Cheers
    Damon

  • How to Insert a Status Bar to my application

    Hello all
    I use JBuilder v9 and would like to add a status bar at the bottom of the main
    frame in my program. I checked the manual pages but there is no such class as StatusBar or JStatusBar.
    When I type StatusBar (or JStatusBar) sb = new StatusBar (or JStatusBar) ();
    it gives errror message.
    Does anyone know how to add a status bar to a frame?

    A quick a dirty example:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.border.*;
    public class StatusBarDemo extends JFrame
      private JLabel statusBar;
      public StatusBarDemo()
        JMenu menu = new JMenu("File");
        JMenuItem item = new JMenuItem("Open");
        item.addMouseListener(new StatusBarUpdator("Open a new file"));
        menu.add(item);
        item = new JMenuItem("Print");
        item.addMouseListener(new StatusBarUpdator("Print the current file"));
        menu.add(item);
        item = new JMenuItem("Save");
        item.addMouseListener(new StatusBarUpdator("Save the current file"));
        menu.add(item);
        JMenuBar menuBar = new JMenuBar();
        menuBar.add(menu);
        setJMenuBar(menuBar);
        statusBar = new JLabel(" ");
        statusBar.setForeground(Color.black);
        statusBar.setBorder(new CompoundBorder(new EmptyBorder(2, 5, 2, 5),
                                               new SoftBevelBorder(SoftBevelBorder.LOWERED)));
        Container c = this.getContentPane();
        c.setLayout(new BorderLayout());
        c.add(statusBar, BorderLayout.SOUTH);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
      public static void main(String[] args)
        StatusBarDemo frame = new StatusBarDemo();
        frame.setSize(400,300);
        frame.setVisible(true);
      class StatusBarUpdator implements MouseListener
        private String hoverText;
        public StatusBarUpdator(String text)
          hoverText = text;
        public void mouseEntered(MouseEvent e)
          statusBar.setText(hoverText);
        public void mouseExited(MouseEvent e)
          statusBar.setText(" ");
        public void mouseClicked(MouseEvent e){}
        public void mousePressed(MouseEvent e){}
        public void mouseReleased(MouseEvent e){}
    }

  • How to disable the status icon in Skype 4 for Andr...

    Dear Skypers,
    How to disable the status icon in Skype 4 for Android phones?
    The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a...
    Older version has the option to disable Skype Status and get rid of the Skype icon on Android status bar. But latest 4.4.0.31835 could not disable Skype Status in notifications settings. :/
    Device: Google Nexus 4
    Android: 4.3 JWR66Y
    Skype: 4.4.0.31835
    Please bring back the option to disable the Skype icon on Android status bar. This is the main reason I uninstall Skype. :/
    Kudos to the team, the apps is really smooth and fluid to use. Would be nice if you guys are following the Android Design Principles and using Google Cloud Messaging for push notification to improve User Experience and battery life.
    Kind regards,
    /chrone
    everytime i get ahead, i feel more dead.
    Solved!
    Go to Solution.
    Attachments:
    how to get rid of skype icon on android status bar.png ‏46 KB

    Long click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also. 
    Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed. 
    Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
    Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry.

  • How to automate checking status of Replication agent and Replication queue in CQ5

    As part of monitoring the status of replication agents and replication queue, is it possible to automate the checking process?
    We can check them from GUI, but from a monitoring perspective we are loking for a mechanism where the status can be checked continuously and we are alerted whenever there is some issue.
    1. Check status of replication agent (enabled/disabled)
    2. Check status of replication queue (if the queue is blocked)
    Thanks in advance
    nkrao

    you can pull the queue from the page the same way the UI gets the list
    in the table:
    curl -u admin:admin
    "http://localhost:4502/etc/replication/agents.author/publish/jcr:content.queue.json?agent=p ublish"
    and then use a shell library like ticktick.sh to parse the json
    response. A sample of how to get the bundles loaded and installed from
    CQ using the ticktick library can be found here
    https://github.com/kristopolous/TickTick
    http://ruben42.wordpress.com/2012/04/24/using-ticktick-sh-to-parse-json-responses-from-ado be-cq5-5/

  • [XI 3.1] Monitoring Service Status...?

    In BOE-XI (R2) we could use tools like HP-OpenView to monitor the status of the various BOE-servers because they ran as individual Windows Services - and could be seen from the WINDOWS Services Menu (or CCM).
    HP-OpenView could send us e-mail alerts when a service went down (eg. CMS).
    Now, in BOE-XI (Release 3.1) only the Server Intelligence Agent (SIA) runs as an individual Windows Services - and can be seen from the WINDOWS Services Menu (or CCM).
    Anyone figured-out how to "monitor" and "alert" the status of the BOE-XI (Release 3.1) services...?

    yep use a tool like sysinternals process explorer to lookup the child processes in XI 3.x if you need a list of PID's. In XI 3.x the SIA is the parent service and everything else is just a child process going forward.
    Regards,
    Tim

  • How to monitor RFC to JDBC scenario?

    How to monitor RFC to JDBC scenario
    Hello,
    I have update_insert scenario from RFC to Oracle database.
    In TOC SXMB_MONI I have black and white flag.
    In RWB I found for this scenario only successful status.
    But in the database I found only 2 records from the 15 that I sent.
    How can I monitor this problem?
    What are the steps to investigate this situation?
    Have a way to see the exact statement that I sent to the database?
    Regards
    Elad

    Hi Elad,
    If nothing can be seen in the Adapter monitor...go to the Database.
    Oracle has various developer\system tools that can allow you to get information.
    For example Oracle has the TOAD tool which allows you to get the SQL trace of the treatment the XI actually send.
    see if the SQL interpreted by the JDBC adapter was really what you meant.
    Good luck.
    Nimrod.G

Maybe you are looking for