How do I write/use performance monitor to run an action when something happens?

I notice that I get a popup if desktop resources are over-used asking me if I want to turn off the glass desktop.
That's fine.
I've been looking in Performance Monitor for how this is done, as I have a program that periodically runs amok and starts indexing my Documents directory.  I usually start to notice my machine getting sluggish when the process gets to about 1.5-2+GB
in Virtual and working memory.  At that point it seems to be increasing it's network usage rate geometically, and interrups will start getting delayed or lost -- keyboard will lock up for periods, lots of things freezing temporarily (music will get 10-20
second dropouts)  It can even cause a complete system lockup
So what I would like to do is monitor any instance of this process by name ('explorer'), and restart it when it gets to over 1.5GB of usage.
I setup a monitor of virtual size and working memory in the performance monitor, but I don't see how to set up an alarm that starts an action to restart it.  (restarting it will cause the problem to go away for anywhere from a few hours to several days).
I've no clue as to what triggers it.
I found a bunch of XML scripts in
Windows/pla/Rules with names like:
Rules.System.CPU.xml*
Rules.System.Common.xml*
Rules.System.Configuration.xml*
Rules.System.Diagnostics.xml*
Rules.System.Disk.xml*
Rules.System.Finale.xml*
Rules.System.Memory.xml*
Rules.System.NetDiagFramework.xml*
Rules.System.NetTrace.xml*
Rules.System.Network.xml*
Rules.System.Performance.xml*
Rules.System.Performance.xml.orig*
Rules.System.Summary.xml*
Rules.System.Wired.xml*
Rules.System.Wireless.xml*
These have some XML language in them that looks like it woud be for monitorying and doing actions:
  <Rule name="$(RuleDiskSummary)" enabled="true">
   <Step select="/Report/Section/Table[@name='hotFile']">
    <Exists>
     <Otherwise>
      <Delete select="Summary"/>
     </Otherwise>
    </Exists>
   </Step>
   <Step select="/Report/Section/Table[@name='physicalDiskCounters']" fatal="true">
    <Exists>
     <Otherwise>
      <Insert>
       <Node>
        <Summary key="100" find="field" field="counter" value="Avg. Disk Queue Length" topic="diskInfo">
         <Data name="max" label="diskQueue"/>
        </Summary>
       </Node>
      </Insert>
     </Otherwise>
    </Exists>
   </Step>
  </Rule>
 </Group>
 <StringTable>
  <String ID="GroupSummary">Add Summary Blocks</String>
  <String ID="RuleMemorySummary">Memory Summary</String>
  <String ID="RuleDiskSummary">Disk Summary</String>
  <String ID="RuleNetworkSummary">Network Summary</String>
 </StringTable>
  <Rule name="$(RuleDiskSummary)" enabled="true">
   <Step select="/Report/Section/Table[@name='hotFile']">
    <Exists>
     <Otherwise>
      <Delete select="Summary"/>
     </Otherwise>
    </Exists>
   </Step>
   <Step select="/Report/Section/Table[@name='physicalDiskCounters']" fatal="true">
    <Exists>
     <Otherwise>
      <Insert>
       <Node>
        <Summary key="100" find="field" field="counter" value="Avg. Disk Queue Length" topic="diskInfo">
         <Data name="max" label="diskQueue"/>
        </Summary>
       </Node>
      </Insert>
     </Otherwise>
    </Exists>
   </Step>
  </Rule>
 </Group>
 <StringTable>
  <String ID="GroupSummary">Add Summary Blocks</String>
  <String ID="RuleMemorySummary">Memory Summary</String>
  <String ID="RuleDiskSummary">Disk Summary</String>
  <String ID="RuleNetworkSummary">Network Summary</String>
 </StringTable>
Question is, how can I setup it for calling a trigger script when
parameters for Explorer get out of spec.
On confusing issue that stopped me from proceeding, was the time schedule to run the report:
I only allows for once/day. 
I need / want continuous monitorying -- say at 1 minute or 3 minute intervals (5 might work, not sure -- doesn't take long for Explorer to get to 1-2G with a network connection of 10Gb.
So how can I monitor and control it?
A side issue -- I notice a resource-control agent for Win 2008 -- but this was disabled for Win7.
Anyone know why resource usage on Win7 was considered less important than on Win2k8 server?
My version of Win7 is Win7-x64-sp1 "Ultimate" [sic] (it doesn't include professional features like resource control)...
Thanks...This has bothered me for over a year and has persisted through new profiles and reinstalls of of the OS.
I have a feeling it is related to MS disabling Network disks in their indexer, so Explorer ends up doing it as a surrogage for things like the search engine (with the results not stored, because they are not local -- the worst of both worlds?)... but that's
just a feeling...
Thanks!
Astara...

You can create a Data Collector Set (create manually, not template), then choose performance counter Alert, configure alert actions, from the script, seems you want to monitor the “physicalDisk” performance, so you can set the “physicalDiskCounters”
into alert action, please follow the instruction in the link below.
Monitor disk space
http://www.ms-opsmgr.eu/?cat=43
If you want to view the detailed process related about explorer when your machine getting sluggish, I'd like to introduce a tool named process explorer to you.
http://technet.microsoft.com/en-in/sysinternals/bb896653.aspx
It can clearly show you the processes running in your system, along with the hierarchical relationship and the cpu usage.
NOTE
This
response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
Microsoft
does not control these sites and has not tested any software or information found on these sites.
Regards
Yolanda
TechNet Community Support

Similar Messages

  • How to parameterize SAP PO Performance Monitoring

    Hello,
    we have upgraded our SAP PI 7.1 to SAP PO 7.4 (Java Only). Now I ‘d like to parameterize the Message Performance Monitoring. I cannot find the parameter to change the amount of days in which the performance data is available. It seems that the default value is set to 7 days, but I can’t find the parameter to be changed. Please advise how to reset the parameter.
    Thanks for your support.
    kind regards
    Daniel

    Hey Leela,
    thanks for your advice. But unfortunately this isn’t the value Im looking for. The parameter “xiadapter.inbound.persistDuration.default” only define that messages and their payload are available for this amount of milliseconds.
    I’m searching for the parameter to change the number of days I can display in the performance monitoring. For example I can check the performance data from the 1.12.2014 until the 8.12.2014. On the 9.12.2014 the aggregated data are lost.
    Which parameter I have to change to get a higher amount of aggregated performance data. Because I want to see performance data from the 1.12.2014 one month later not only one week.
    I have added a Screenshot from my performance monitoring. In this view I only can see the performance data from the last 7 days (aggregate into days). I want to see the last 31 days in this view.
    Thanks for advice

  • Performance monitor stops running

    In Windows Server 2012, in Performance Monitor, I have a user-defined Data Collector Set. It is configured to sample every 2 minutes. But it stops running after taking only 3 samples. Could I please get some advice on how to find what is stopping this so
    that it will run indefinitely?
    Here is some more detail from the properties:
    Schedule - Nothing set. I start the set running from Task Scheduler.
    Stop Condition - Nothing enabled.
    Log format: CSV
    I don't see anything in the Application or System event logs that say anything about the performance monitor. Maybe there is another event log that I don't know about.
    I have similar reports running on WS2008 machines and they don't stop running.
    Cam

    Hi Cam,
    If you mean to run this data collector indefinitely, please try to set 1439 ((23*60) + 59 )minutes for the Overall duration in stop condition, which is 23 hours and 59 minutes total run time. Because Reports are compiled once the collector
    set stops. This means we can’t let this collector just simply run forever because I will never get a report.
    Please also check the option "If the task is already running, then the following rule applies: Stop the existing instance" in the related scheduled task under Task Scheduler Library > Microsoft > Windows > PLA.
    I also recommend you can go through this article, which lists many good tips to configure Data Collector Sets:
    http://blogs.technet.com/b/askpfeplat/archive/2012/02/27/taming-perfmon-data-collector-sets.aspx
    If there is anything else regarding this issue, please feel free to post back.
    If you have any feedback on our support, please click here.
    Best Regards,
    Anna Wang
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to create a Power Pivot Chart with Dynamic X-Axis (date time) similar to that in Performance monitor (Start-- Run-- Perfmon)?

    Hi,
    I want to create a Power Pivot Chart and a Power View chart in Power BI where the x-axis should be the current system date time axis and it's functionality should be similar to that in Perfmon.exe tool (Start-->Run-->Perfmon)?

    Hi Manjunath,
    Do you mean you want to programmatically create such a dynamic chart which has a X axis of time? If you just want to do this manually, please take a look at this document which is talking about how to create charts with Power BI:
    Charts and other visualizations in Power View
    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.
    Click
    HERE to participate the survey.

  • How do I open a port needed to run an application when I am using wireless internet at a hotel? Specifically port 13000?

    Hi all! I am trying to use an application called freephoneline.ca which gives you a phone number that people can call via an app on your computer. It was working perfectly at home but now I am at a hotel and I am not getting any sound. From running a test it tells me:
    "Unable to send/receive sound data! Port 13000 should be available"
    Help?
    I am on OS X 10.6.8
    I really need to be able to use this application today, any help would be greatly appreciated.

    The hotel has probably blocked all but the most common ports for security or bandwidth reasons. The port is not blocked/closed on your computer by default.

  • How can the Ipad leave recovery mode when something happened.

    When the Ipad went to recovery mode and started the recovery and update process to IOS 5.1.1, an error is happened, the code is 21. The Ipad stayed in recovery mode. How can I leave it.

    According to the iTunes specific error codes help site ....
    Error 20, 21, 23, 26, 28, 29, 34, 37
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694#error21

  • SQLIO - Write test shows reads only in Performance Monitor

    So I'm running write tests against a SAN using SQLIO. In parallel I'm watching the machine using Performance Monitor. What I see is that during write tests only reads are shown in
    PerfMon. Can anyone help me to understand? I discussed SQLIO results with some infrastructure vendor and the results didn't build up a lot of trust in that tool...
    Thomas Pagel

    Hi Thomas Pagel,
    I do a test in my environment, it shows well as the following screenshot.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    For more information, there is an example about SAN performance tuning with SQLIO, you can review the following article.
    http://www.toadworld.com/platforms/sql-server/w/wiki/10406.san-performance-tuning-with-sqlio.aspx
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • 1636215 - Performance monitoring for the Advanced Adapter Engine

    Hi ALL,
    How can we monitor the performance by changing the parameter to true in the above note please please help me
    Thanks,
    Raj

    Hi Dheeraj,
    Since you've gone through the note, I'm assuming you know how to activate the performance monitoring for adapter engine.
    However, there are reservations against doing it in any system Dev/Quality/Production. Reason being, it becomes performance/load intensive when the perf. monitoring is on.
    Still, you can diagnose bottlenecks and execution trends in Dev/Quality using performance monitoring as suggested in the note but be aware that your box is coping well with it. Please note, once activated, you don't have to do anything else. System will automatically collect performance data and you will be able to browse through it using the performance monitoring link.
    How to use it???
    You see a performance monitoring link in Monitoring Home (navigate via Configuration and Monitoring home from PI/PO homepage).
    It will help you analyze the flow of message on periodical basis (hourly/daily etc) and will give you more stats on number of messages in that time duration, average time taken, message sizes (min, max and avg), interface-by-interface detail of runtime consumption at every stage etc.
    Please go through standard SAP help for more clarity:
    Monitoring Performance - Advanced Adapter Engine - SAP Library
    Apart from this, there is this great blog by Suseelan around monitoring:
    http://scn.sap.com/docs/DOC-35805
    Hope this helps.
    Regards,
    Abhishek

  • How do I write this as a loop?

    How do I write this code to function as follows.
    When btn1 is clicked, SenderLoad should be "clay" AND when btn2 is clicked, SenderLoad should be "iron", etc...
    var mgB:Array = [btn1, btn2, btn3, btn4];
    var mgBW:Array = ["clay", "iron", "cotton", "leather"];
    var SenderLoad:LoadVars = new LoadVars();
    var ReceLoad:LoadVars = new LoadVars();
    var mgNum:Number=0;
    for (i=0; i<mgBW.length ; i++){
    mgBW[i].onRelease = function () {
    mgNum++
    SenderLoad.word = mgB[mgNum];
    SenderLoad.sendAndLoad("http://www.web.com/my.php",ReceLoad,"POST");
    ReceLoad.onData = function(src) {
    var messageA:Array = src.split(",,,");
    ldrB2.html=true;
    for(var i:Number=0; i<messageA.length; i++){
               var a:Array=messageA[i].split(",,");
       ldrB1.htmlText +=a[0];
       ldrB2.htmlText +=a[1];

    if you want different words in different colors you can use:
    ldrB1.html=true;
    ldrB1.text = formatF("REJECT",0xff0000,ldrB1)
    ldrB1.text = formatF("ACCEPT",0x000000,ldrB1);
    ldrB1.text = "formatF("BANNED",0xc0c0c0,ldrB1);
    function formatF(s:String, col:Number, tf:TextField):Void {
    if(tf.text.indexOf(s)==-1){
    return;
        tfor.color = col;
        var startindex:Number = 0;
        while (startindex>-1 && startindex<tf.text.length-1) {
            var bindex:Number = tf.text.indexOf(s, startindex);
            var eindex:Number = bindex+s.length;
            tf.setTextFormat(bindex,eindex,tfor);
            startindex = eindex;
    var tfor:TextFormat = new TextFormat();

  • PROBLEM AUTHENTICATE PERFORMANCE MONITOR

    <b>HI,
    I try using Performance Monitor, but clic to link Performance Monitor in MenuTreeView from weblogic Console, received this stacktrace log:
    PLEASE HELP ME
    THANKS</b>
    <09/09/2005 16h01min06s BRT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=109935021,name=PerformanceMonitor,context-path=/PerformanceMonitor)] Root cause of ServletException.
    java.lang.NullPointerException
    at weblogic.management.console.tags.TextTag.getText()Ljava.lang.String;(TextTag.java:46)
    at weblogic.management.console.tags.LinkTag.doStartTag()I(LinkTag.java:126)
    at weblogic.management.console.tags.StandardBannerTag.printEnd()V(StandardBannerTag.java:186)
    at weblogic.management.console.tags.StandardBannerTag.doEndTag()I(StandardBannerTag.java:114)
    at jsp_servlet.__prfinstall._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__prfinstall.java:250)
    at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    --------------- nested within: ------------------
    weblogic.management.console.utils.NestedJspException - with nested exception:
    [java.lang.NullPointerException]
    at weblogic.management.console.tags.LinkTag.doStartTag()I(LinkTag.java:141)
    at weblogic.management.console.tags.StandardBannerTag.printEnd()V(StandardBannerTag.java:186)
    at weblogic.management.console.tags.StandardBannerTag.doEndTag()I(StandardBannerTag.java:114)
    at jsp_servlet.__prfinstall._jspService(Ljavax.servlet.http.HttpServletRequest;Ljavax.servlet.http.HttpServletResponse;)V(__prfinstall.java:250)
    at weblogic.servlet.jsp.JspBase.service(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run()Ljava.lang.Object;(ServletStubImpl.java:996)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;Lweblogic.servlet.internal.FilterChainImpl;)V(ServletStubImpl.java:419)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljavax.servlet.ServletRequest;Ljavax.servlet.ServletResponse;)V(ServletStubImpl.java:315)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run()Ljava.lang.Object;(WebAppServletContext.java:6452)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lweblogic.security.subject.AbstractSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(SecurityManager.java:118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(Lweblogic.servlet.internal.ServletRequestImpl;Lweblogic.servlet.internal.ServletResponseImpl;)V(WebAppServletContext.java:3661)
    at weblogic.servlet.internal.ServletRequestImpl.execute(Lweblogic.kernel.ExecuteThread;)V(ServletRequestImpl.java:2630)
    at weblogic.kernel.ExecuteThread.execute(Lweblogic.kernel.ExecuteRequest;)V(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:178)
    at java.lang.Thread.startThreadFromVM(Ljava.lang.Thread;)V(Unknown Source)
    Message was edited by:
    fabricio.soares

    Thanks for your answer, i have a doubt about cause the problems I have to install the license but as you say it say that should say so.
    I really appreciate your help

  • IIS FTP Live monitor with Resource Monitor or Performance Monitor

    Hi
    I am looking for a way to use "Performance/ Monitor" or "Resource Monitor" to monitor live connections and sent/received kb, and so far i only get data when starting the collector for then to view the report.
    It is not the way i want it, i would like to view live connection and speed, byte and well the relevant data for an FTP site?
    any input on this?
    This topic first appeared in the Spiceworks Community

    Hi stealth,
    Maybe you can get further assistance from scripting guys forum :
    http://social.technet.microsoft.com/Forums/en-US/home?forum=ITCG&filter=alltypes&sort=lastpostdesc
    I just find the blog regarding cpu usage via vb script:
    http://blogs.technet.com/b/heyscriptingguy/archive/2005/04/21/why-does-my-performance-monitoring-script-keep-returning-the-same-incorrect-values.aspx
    Best Regards
    Elton Ji
    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.

  • I have 12 core with Quatro 4000 and 5770, I want to use dual monitor setup, monitors are NEC with Spectraview-II.  How do I connect?  4000 only has 1 Display Port and 1 DVI.  5770 has 2 of each, if I use both 5770 Display Ports, does the 4000 contribute?

    I just bought a 12 core with Quatro 4000 and 5770, I want to use dual monitor setup, monitors are NEC with Spectraview-II.  How do I connect?  4000 only has 1 Display Port and 1 DVI.  5770 has 2 of each, if I use both 5770 Display Ports, does the 4000 contribute any work at all?  I read where on a PC they would work together, but on a MAC they do not.
    I read that Display Port has higher band width than DVI, NEC monitors for best performance they recommend using DIsplay Port.
    When I was setting this up I looked at a Nvidia Quadro 4000, unfortunately it was for PC, it had 2 Display Ports, in the Mac version they reduce it to one.  I did not think there could be a difference.
    Mainly want to use it for CS6 and LR4.
    How to proceed??? 
    I do not want to use the Quadro 4000 for both, that would not optimize both monitors, one DP and 1 DVI.  Using just the 5770 would work but I do not think the 4000 would be doing anything, and the 5770 has been replaced by the 5870.more bandwidth.
    Any ideas, I am a Mac newbie, have not ever tried a Mac Pro, just bought off ebay and now I have these problems.
    As a last resort I could sell both and get a 5870.  That would work, I'm sure of that, it's just that I wanted the better graphics card.
    Thanks,
    Bill

    The Hatter,
    I am a novice at Mac so I read all I can.  From what I understand the NEC monitors I bought require Display Port for their maximum performance.  The GTX 680 only has DVI outputs.  Difference from what I understand is larger bandwidth with the DP.
    You said I have the 4000 for CUDA.  I am not all that familiar with CUDA and when I do read about it I do not understand it. 
    A concern I have is, that if I connect the 2 high end NEC monitors via the 5770, using it's 2 Display Ports I would have nothing connected to the 4000.  Is the 4000 doing anything with nothing connected?  I read where in a PC system the 2 cards would interact but in a Mac system they do not.
    Bottom line, as I see it, the 4000 will not be useful at all to me, since I want a dual monitor set-up.
    So far the 5870 seems the best choice, higher band width than the 5770, and it has 2 Display Ports to optimize the NEC monitors.
    I'm not sure how fine I am splitting hairs, nor do I know how important those hairs are.  I am just trying to set up a really fast reliable system that will mainly be used for CS6 and LR4.  Those NEC monitors are supposed to be top notch.

  • How can i use two monitors in my application?

    Hello,
    Background
    I have a dual monitor card and two monitors which I want to use in my LabView application. The application gathers data from a complex sensor and calculates a number of results which need to be displayed graphically, this happens every 10 seconds or so. There is an awful lot of graphs which may be needed to be seen at some time but not routinely. The idea is that one monitor will display all the standard routinely displayed things and will not have any user input whilst the second monitor will display a tab control which has all the other graphs pickable.
    Question
    What I want to know is how I can programmatically tell labVIEW to put one vi up in one monitor and another vi in the other. I would then have them both maximised (which I know how to do). I would rather have the monitors set up as individual and that way I could keep the windows control bar on one monitor only. Thus one monitor would be a true user interface and the other simply a display.
    Basically how do I tell LabVIEW to use one monitor for a specific vi and not the other.
    The card I have is a matrox p650. Any comments would be appreciated.
    Regards
    Kevin

    Hallo,
    with new version of LV its more easy, but it also hasn't any troubles with LabVIEW 6.x or 7.x.
    Especially with Matrox P650 you will get no any problems (we using
    exactly this card together with G550 and our application supported
    three monitors at the same time.).
    I recommend to you following sequence:
    - After installing driver turn on option for supporting different
    resoluton on different monitors. As result you will get two absolutely
    separate monitors.
    - In Windows define which one is primary and which one is secondary.
    (On primary monitor located taskbar and all messages dialog boxes will
    appear.).
    - Arrange secondary monitor in display properties - where he located (left from primary, or right)
    - In your VI (which must appear on second monitor) use
    FrontPanel.PanelBounds Property Node for positioning. You must set four
    values for two corners. Easiest way to found right values is following:
    read this property node in while loop and put indicator on front panel.
    Then run VI, drag front panel onto second monitor and resize if
    necessary, and then you will see right values for PanelBounds. You can
    write this property node programmatically in run-time too.
    hope it help,
    good luck.

  • How to write a perform in Sap Script

    Hi Guys,
    Can anyone let me know how to write a perform statement in Sap Script.
    Thanks,
    Ramesh

    I just took this example from SAP Help
    =======================================
    Syntax in a form window:
    /: PERFORM <form> IN PROGRAM <prog>
    /: USING &INVAR1&
    /: USING &INVAR2&
    /: CHANGING &OUTVAR1&
    /: CHANGING &OUTVAR2&
    /: ENDPERFORM
    INVAR1 and INVAR2 are variable symbols and may be of any of the four SAPscript symbol types.
    OUTVAR1 and OUTVAR2 are local text symbols and must therefore be character strings.
    The ABAP subroutine called via the command line stated above must be defined in the ABAP report prog as follows:
    FORM <form> TABLES IN_TAB STRUCTURE ITCSY
    OUT_TAB STRUCTURE ITCSY.
    ENDFORM.

  • How can i write the below code using "For all entries"

    Hi
    How can we write the below code using "for all entries" and need to avoid joins...
    Please help
    SELECT aaufnr aobjnr aauart atxjcd a~pspel
    agstrp awerks carbpl cwerks
    INTO TABLE t_caufv
    FROM caufv AS a
    INNER JOIN afih AS b
    ON aaufnr = baufnr
    INNER JOIN crhd AS c
    ON bgewrk = cobjid
    AND c~objty = 'D'
    WHERE ( a~pspel = space
    OR a~txjcd = space
    OR NOT a~objnr IN
    ( select OBJNR from COBRB AS e
    WHERE objnr = a~objnr ) )
    AND a~werks IN s_plant
    AND a~auart IN s_wtype
    AND NOT a~objnr IN
    ( select OBJNR from JEST AS d
    WHERE objnr = a~objnr
    AND ( dstat = 'A0081'OR dstat = 'A0018' )
    AND d~inact 'X' ).
    Reward points for all helpfull answers
    Thanks
    Ammi.

    Hi,
    SELECT objnr objid aufnr
            from afih
            into table t_afih.
    SELECT objnr
            from JEST
            into table t_JEST
            where stat = 'A0045'
               OR stat = 'A0046'
               AND inact 'X'.
    SELECT objnr
            from COBRB
            into table t_cobrb.
    SELECT arbpl werks objid objty
          from crhd
          INTO table it_crhd
          FOR ALL ENTRIES IN it_afih
          WHERE objty eq 'D'
          AND gewrk = it_afih-objid.
    SELECT aufnr objnr auart txjcd pspel gstrp werks aufnr
            FROM caufv
            INTO table t_caufv
            FOR ALL ENTRIES IN it_afih
            WHERE aufnr = it_afih-aufnr
              And pspel = ' '
              AND txjcd = ' '
             ANd objnr ne it_crhd-objnr
              AND auart in s_wtype
              AND werks in s_plant.
             AND objnr ne it_jest-objnr.
    dont use NE in the select statements, it may effect performance also. Instead use if statements inside
    loops.
    loop at t_caufv.
    read table it_chrd............
      if t_caufv-objnr ne it_chrd-objnr.
      read table it_jest..........
       if   if t_caufv-objnr ne it_jest-objnr.
        (proceed further).
       endif.
      endif.
    endloop.
    hope this helps.
    Reward if useful.
    Regards,
    Anu

Maybe you are looking for