Bug with Task State change in last build

Dear All,
It looks there is a bug in handling the state for a Task in the new JavaFX 2.0 build#36 and 37.
When an exception is thrown there is not change in the Task State . This was working in the previous builds.
Can someone please conform this or provide an alternative solution to handle the failure state?
Thanks & Regards,
Nitin Gupta
Edited by: user12995677 on Aug 3, 2011 2:24 AM

Without a stand alone sample that repros I guess we can only speculate.
Not sure if you are using Flex 4 but don't forget that the 'currentState' of your Skin document is not the same as the currentState of your component. That might be one issue... other than that, will post if something comes to mind.
-C

Similar Messages

  • Bug with binding / statement cache?

    And the next trouble... :(
    When Sql on two different OracleCommand's is equals, but parameter types differs, exceptions raised.
    Two different exception raised, depends of AddToStatementCache property, on call ExecuteReader or on call Read().
    Test case:
                OracleConnectionStringBuilder csb = new OracleConnectionStringBuilder();
                csb.UserID = "xxxxxx";
                csb.Password = "xxxxxxx";
                csb.DataSource = "xxxxxxxx";
                OracleConnection conn = new OracleConnection(csb.ToString());
                conn.Open();
                string sql = @"SELECT :v1 FROM DUAL";
                // Create first command
                OracleCommand cmd = conn.CreateCommand();
                cmd.BindByName = true;
                cmd.CommandText = sql;
                // Bind number parameter
                OracleParameter p1 = cmd.CreateParameter();
                p1.ParameterName = "v1";
                p1.Value = 1000.123m;
                cmd.Parameters.Add(p1);
                // Select number value
                OracleDataReader reader1 = cmd.ExecuteReader();
                reader1.Read();
                decimal d1 = reader1.GetDecimal(0);
                // dispose first reader and command
                reader1.Dispose();
                cmd.Dispose();
                // Create second command with equals Sql
                OracleCommand cmd2 = conn.CreateCommand();
                cmd2.BindByName = true;
                cmd2.CommandText = sql;
                // if uncomment next line, exception (1) changes to exception (2)
                cmd2.AddToStatementCache = false;
                // Bind string parameter
                OracleParameter p2 = cmd2.CreateParameter();
                p2.ParameterName = "v1";
                p2.Value = "sdf g sdfg sdfg sdfgsdf";
                cmd2.Parameters.Add(p2);
                // Select scalar string
                OracleDataReader reader2 = cmd2.ExecuteReader(); // Exception (1)! ORA-01475: must reparse cursor to change bind variable datatype
                reader2.Read();  // Exception (2)! ORA-01722: Invalid number
                string s2 = reader2.GetString(0); Well, few questions:
    * How i can force "reparse" cursor, if need???
    * Why statement cache dont use parameter signatures to distinguish statements with equals SQL and different parameter types??
    * Where i can post that bug (and some other) to quick answer from ODP.NET support? In this forum only? Anywhere else?
    Thanks.

    Hi,
    I tried your code, but get the 1722 every time, and dont seem to be able to get the 1475.
    I think the explanation here is that ODP uses the command text only in determining whether to pull the statement from the cache (ie, not the data types, as you've seen).
    With respect to your questions:
    1) I'd have thought con.PurgeStatementCache() would have done it, but that didnt work for me. I’ve tried Statement Cache Purge=true in the connect string, cmd.AddStatementToCache=false, and con.PurgeStatementCache(), but none of them make the code work. I'm guessing the statement is getting added to the cache every time even though we're doing our best not to, and that’s why the problem behavior. I'm looking into that further.
    2) I'd assume that development just didnt take this scenario into account. Typically the data type of a bind variable in any given statement wouldnt change.
    3) If you have an Oracle Support contract, just log a SR via Metalink (http://metalink.oracle.com)
    Cheers,
    Greg

  • Trouble with IIF statement in SSRS report builder

    hi....
    I have an expression field that isn't working.  They are Dynamics GP tables, and I am trying to show converted currencies:
    =IIF (Fields!Currency.Value=RTrim("Z-US$"), Fields!ORCPTCOST.Value
    , Fields!ORCPTCOST.Value / CDEC(Fields!ExchangeRate.Value))
    The true part is bolded.  when the report shows, it always comes up as
    #Error. If the currency is  "Z-MXN$", it calculates it fine. 
    So why is my true part not working?
    thanks!
    ~george

    Hi George,
    Based on my research, this issue can be caused by
    IIF is not an expression, it is a function with three parameters:
    IIF(Condition, ValueIfTrue, ValueIfFalse)
    Note that all parameters are evaluated before being passed to the function. We can still get an error, because the erroneous expression is still evaluated even when the condition should mean that it
    isn't. For example, when the currency is "Z-US$", the ExchangeRate field returns
    a stream of letters which cannot be changed to decimal type. Or the ExchangeRate field returns 0, then the denominator is 0, the division makes no sense. So it displays #Error.
    To fix this issue, we can assign a value that doesn’t affect the expression result to ExchangeRate field when it is
    a stream of letters or equal to 0. The expression below is for your references:
    =IIF (Fields!Currency.Value=RTrim("Z-US$"), Fields!ORCPTCOST.Value , Fields!ORCPTCOST.Value / CDEC(iif(IsNumeric(Fields!ExchangeRate.Value)=false or Fields!ExchangeRate.Value=0, 1, Fields!ExchangeRate.Value)))
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Changing OSM task state/status from another parallel task flow

    Hi, guys!
    I have a problem with implementing parallel task flow. Let's consider such situation: there are two parallel task flows, the first flow contain manual task, upon completion which I need to change second flow's task state/status and vice-versa. I studied XMLAPI functions, wsapi operations, api from automation package but couldn't find appropriate aproach.
    Thanks!
    Edited by: serj129 on 15.08.2011 2:50

    Have you any suggestions?
    I tried to implement 2 automation task, which contain automation plugins. First task implemented xquery sender as completed event, the second task implemented xquery reciever, which changes status to success, but this approach isn't working.
    All properties of automation plugins configured properly, but I always receive next exceptions:
    ####<Aug 22, 2011 4:39:52 PM ALMT> <Warning> <EJB> <car07-eth0.telecom> <AdminServer> <ExecuteThread: '13' for queue: 'oms.automation'> <oms-automation> <> <> <1314009592567> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    java.lang.RuntimeException: No transaction associated with request.
    java.lang.RuntimeException: No transaction associated with request
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
         at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
         at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
         at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    >
    ####<Aug 22, 2011 4:39:52 PM ALMT> <Warning> <EJB> <car07-eth0.telecom> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1314009592571> <BEA-010216> <The Message-Driven EJB: BiTTLautomation.BiTTLautomation.OSMManualListenerMDB is throwing exception when processing the messages. Delivery failed after 185 attempts. The EJB container will suspend the message delivery for 60 seconds before retry.>
    ####<Aug 22, 2011 4:40:09 PM ALMT> <Info> <oms> <car07-eth0.telecom> <AdminServer> <Timer-8> <admin> <> <> <1314009609038> <BEA-000000> <impl.OrchestrationCascadingLRUPolicy: Evicted order /order/474 from orchestration cache due to cache entry expiry>
    ####<Aug 22, 2011 4:40:24 PM ALMT> <Info> <oms> <car07-eth0.telecom> <AdminServer> <ExecuteThread: '13' for queue: 'oms.automation'> <oms-automation> <BEA1-08945C597092560E5D6A> <> <1314009624879> <BEA-000000> <plugin.AbstractAutomator: Creating automation plugin [class oracle.communications.ordermanagement.automation.plugin.XQuerySender_iults7_Impl] built using SDK version [7.0.2.437]>
    I suggest that it is not correct approach, because of automation context restored from DB is related to other task.
    Have any ideas of changing task status from OSM DB directly. This approach is temporary, for compatibility with performing manual tasks in 2 systems: OSM and other
    Thanks!
    Edited by: serj129 on 22.08.2011 3:59
    Edited by: serj129 on 22.08.2011 3:59

  • How to change Human Task state from "Completed" back to "Assigned"

    I am working with human task through BPEL Worklist API
    There is Human Task with state “completed”. We need to change the state back to “Assigned”
    In other words or get this task with “Assigned” state or get exactly the same task with the same number (that I can use as int parameter in ITaskQueryService.getTaskDetailsByNumber method invocation) .
    Is it possible?
    I tried to use ITaskService methods but without results.
    Thanks.

    Hi ,
    This request sits in table RSBKREQUEST with processing type as 2 in data elements USTATE, TSTATE and this 2 is actually "Processed Successfully" status which is obviously wrong.
    All we need is, ask your basis person to change the status to 3 in both these data elements.Then you can delete the previous bad request . Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
    For manually status change you can use the function  module RSBM_GUI_CHANGE_USTATE
    Hope this helps you...
    Regards,
    Debjani...

  • 2 Vertical Axis Chart & State Change Bug - Clarified

    When a column or line chart has 2 vertical axis (one on the left and one on the right), the additional vertical axis must be defined at the series level as the definition at the chart level only allows for one vertical axis.
    When you define the additional vertical axis at the series level, it will populate on the chart when the chart is first rendered.  But, it fails to populate after a state change.   This is apparently due to the fact that the “maximum” property on the additional vertical axis defined at the series level changes to 100 causing the line not to render as the data values are greater than 100.
    This is a Flex 4 problem.  Flex 3 does not have this problem.
    Below is an example application that demonstrates the problem.
    The example first presents a chart with Gross Sales plotted as columns using the left axis and Net Sales plotted as a line using the right axis.  Note, the vertical axis for Net Sales is defined at the series level.
    When you click the “Data” button a state change occurs and a data grid is presented showing Gross Sales and Net Sales.  When you click the “Chart” button another state change occurs and the chart is presented again.  Gross Sales will still populate, but Net Sales fails to populate.  This is the problem.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                          xmlns:s="library://ns.adobe.com/flex/spark"
                          xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Script>
        <![CDATA[
          import mx.collections.ArrayCollection;
          [Bindable]
          public var dp:ArrayCollection = new ArrayCollection([
            {DTSALE:"11-Nov-07", NET:141.87, GROSS:63.34},
            {DTSALE:"12-Nov-07", NET:145.74, GROSS:58.56},
            {DTSALE:"13-Nov-07", NET:142.77, GROSS:62.34},
            {DTSALE:"14-Nov-07", NET:148.06, GROSS:75.65},
        ]]>
      </fx:Script>
      <s:states>
        <s:State name="chart"/>
        <s:State name="data"/>
      </s:states>
      <s:controlBarContent>
        <s:Button label="Chart" click="this.currentState='chart'"/>
        <s:Button label="Data" click="this.currentState='data'"/>
      </s:controlBarContent>
      <s:Group width="100%" height="100%">
        <mx:ColumnChart includeIn="chart"
          width="100%" height="100%" dataProvider="{dp}">
          <mx:horizontalAxis>
            <mx:CategoryAxis categoryField="DTSALE"/>
          </mx:horizontalAxis>
          <mx:verticalAxis>
            <mx:LinearAxis id="vLeft" title="Gross Sales Columns"/>
          </mx:verticalAxis>
          <mx:series>
            <mx:ColumnSeries yField="GROSS" verticalAxis="{vLeft}"/>
            <mx:LineSeries yField="NET">
              <mx:verticalAxis>
                <!-- Workaround: add maximum="200" to line below -->
                <mx:LinearAxis id="vRight" title="Net Sales Line"/>
              </mx:verticalAxis>
            </mx:LineSeries>
          </mx:series>
          <mx:verticalAxisRenderers>
            <mx:AxisRenderer axis="{vLeft}" placement="left"/>
            <mx:AxisRenderer axis="{vRight}" placement="right"/>
          </mx:verticalAxisRenderers>
        </mx:ColumnChart>
        <mx:DataGrid dataProvider="{dp}" width="100%" height="100%" includeIn="data">
          <mx:columns>
            <mx:DataGridColumn dataField="DTSALE"/>
            <mx:DataGridColumn dataField="NET"/>
            <mx:DataGridColumn dataField="GROSS"/>       
          </mx:columns>
        </mx:DataGrid>
      </s:Group>
    </s:Application>

    I found a workaround.
    When the chart goes through a state change, the “maximum” property on the additional vertical axis defined at the series level defaults to 100 causing the line not to render as the data values are greater than 100.  Setting this to a higher value (maximum="10000" ) forces the line to appear consistently after a state change.
    I still believe this is a bug.
    The downside is that I will have to dynamically determine the maximum value to use at runtime, but at least I can still use state changes on two vertical axis charts.

  • 2 Vertical Axis Chart & State Change Bug

    When a column or line chart has 2 vertical axis (one on the left and one  on the right), the additional vertical axis must be defined at the series level  as the definition at the chart level only allows for one vertical axis.
    When you define the additional vertical axis at the series level, it will populate on the chart when the chart is first rendered.  But, it fails to populate after a state change.
    This problem does not occur if the data provider uses static data defined in Action Script as an array collection.  But, the problem always occurs if the data provider uses a web service.
    This is a Flex 4 problem.  Flex 3 does not have this problem.
    Below is an example that will demonstrate the problem.  It uses the Flex Grocer web service that comes on the CD with Jeff Tapper’s book “Adobe FLEX 3 Training from the Source” (an Adobe Press book).  However, this example can be easily modified to use any web service.
    The example is currently pointing to static data defined in Action Script.
    You can switch from static data to web service data by commenting the instruction on line 32 ( dp = dpStatic; ) and un-commenting the instruction on line 33 ( dp = (event.result as ArrayCollection); ).
    The example first presents a chart with Gross Sales plotted as columns using the left axis and Net Sales plotted as a line using the right axis.  Note, the vertical axis for Net Sales is defined at the series level.
    When you click the “Data” button a state change occurs and a data grid is presented showing Gross Sales and Net Sales.  When you click the “Chart” button another state change occurs and the chart is presented again.  If you are pointing to static data, both Gross Sales and Net Sales will populate on the chart.  If you are pointing to web service data, Gross Sales will still populate, but Net Sales fails to populate.  This is the problem.
    Does anyone have a solution or work around for this problem?
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx"
                   creationComplete="init()">
      <fx:Script>
        <![CDATA[
          import mx.rpc.events.ResultEvent;
          import mx.rpc.events.FaultEvent;
          import mx.collections.ArrayCollection;
          [Bindable]
          public var selectedType:String = "All";
          [Bindable]
          public var startDate:Date = new Date(2006, 4, 1);
          [Bindable]
          public var endDate:Date = new Date(2006, 4, 5);
          [Bindable]
          public var dp:ArrayCollection;
          public var dpStatic:ArrayCollection = new ArrayCollection([
            {DTSALE:"11-Nov-07", NET:41.87, GROSS:63.34},
            {DTSALE:"12-Nov-07", NET:45.74, GROSS:58.56},
            {DTSALE:"13-Nov-07", NET:42.77, GROSS:62.34},
            {DTSALE:"14-Nov-07", NET:48.06, GROSS:75.65},
          private function init():void {
            getData();
          private function getData():void {
            dashboardWS.getSalesData.send();
          private function salesRPCResult(event:ResultEvent):void {
            dp = dpStatic;                                        // Line on chart always populates with static data
            // dp = (event.result as ArrayCollection);   // Line on chart does not populate with WebService data after state change
          private function showFault(event:FaultEvent):void {
            trace(event.fault.faultCode + ":" + event.fault.faultString);
        ]]>
      </fx:Script>
      <fx:Declarations>
        <mx:WebService id="dashboardWS" fault="showFault(event)"
                       wsdl="http://localhost:8300/flexGrocer/cfcs/aggregate.cfc?wsdl">
          <mx:operation name="getSalesData" result="salesRPCResult(event)">
            <mx:request>
              <startDate>{startDate}</startDate>
              <endDate>{endDate}</endDate>
              <category>{selectedType}</category>
            </mx:request>
          </mx:operation>
        </mx:WebService>
      </fx:Declarations>
      <s:states>
        <s:State name="chart"/>
        <s:State name="data"/>
      </s:states>
      <s:controlBarContent>
        <s:Button label="Chart" click="this.currentState='chart'"/>
        <s:Button label="Data" click="this.currentState='data'"/>
      </s:controlBarContent>
      <s:HGroup width="100%" height="100%">
        <mx:ColumnChart includeIn="chart"
                        width="100%" height="100%" dataProvider="{dp}">
          <mx:horizontalAxis>
            <mx:CategoryAxis categoryField="DTSALE"/>
          </mx:horizontalAxis>
          <mx:verticalAxis>
            <mx:LinearAxis id="vLeft" title="Gross Sales Columns"/>
          </mx:verticalAxis>
          <mx:series>
            <mx:ColumnSeries yField="GROSS" verticalAxis="{vLeft}"/>
            <mx:LineSeries yField="NET">
              <mx:verticalAxis>
                <mx:LinearAxis id="vRight" title="Net Sales Line"/>
              </mx:verticalAxis>
            </mx:LineSeries>
          </mx:series>
          <mx:verticalAxisRenderers>
            <mx:AxisRenderer axis="{vLeft}" placement="left"/>
            <mx:AxisRenderer axis="{vRight}" placement="right"/>
          </mx:verticalAxisRenderers>
        </mx:ColumnChart>
        <mx:DataGrid dataProvider="{dp}" width="100%" height="100%" includeIn="data">
          <mx:columns>
            <mx:DataGridColumn dataField="DTSALE"/>
            <mx:DataGridColumn dataField="NET"/>
            <mx:DataGridColumn dataField="GROSS"/>       
          </mx:columns>
        </mx:DataGrid>
      </s:HGroup>
    </s:Application>

    I found a workaround.
    When the chart goes through a state change, the “maximum” property on the additional vertical axis defined at the series level defaults to 100 causing the line not to render as the data values are greater than 100.  Setting this to a higher value (maximum="10000" ) forces the line to appear consistently after a state change.
    I still believe this is a bug.
    The downside is that I will have to dynamically determine the maximum vale to use at runtime, but at least I can still use state changes on two vertical axis charts.

  • Stock report with the field... last stock changed at certain date?

    Is there any standard report with the date of the last change of the stock value and quantity?
    Points granted
    BR
    Saso

    Hi people,
    I want to know why MBEWH have not any material stock information for period when doesn´t exist any inventory movement for some materials, for example I have a case in 12.2006 period the material A have stock quantity 100 and value 1000 and the next period 01.2007  no stock movements were done for this reason the MBEWH had to had the same values stock 100 and value 1000 in 01.2007 period, but in MBEWH is missing, there is not any information for material A in this period.
    Anybody knows about this problem?
    Thanks.
    Lili.

  • [svn:fx-trunk] 12786: Fixed bug with state property value assignments.

    Revision: 12786
    Revision: 12786
    Author:   [email protected]
    Date:     2009-12-10 07:35:43 -0800 (Thu, 10 Dec 2009)
    Log Message:
    Fixed bug with state property value assignments. SetProperty pseudonym values (width/explicitWidth, height/explicitHeight) were not getting set correctly, causing values to be incorrectly assigned to 0 in some cases.
    QE notes: -
    Doc notes: -
    Bugs: sdk-24446
    Reviewer: Corey
    Tests run: checkintests, Mustella tests/States, tests/mx/states
    Is noteworthy for integration: Yes (fix requested by tools)
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-24446
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetProperty.as

    Add this to the end of your nav p CSS selector at Line 209 of your HTML file, after 'background-repeat...':
    margin-bottom: -2px;
    Your nav p will then look like this:
    nav p {
              font-size: 90%;
              font-weight: bold;
              color: #FFC;
              background-color: #090;
              text-align: right;
              padding-top: 5px;
              padding-right: 20px;
              padding-bottom: 5px;
              border-bottom-width: 2px;
              border-bottom-style: solid;
              border-bottom-color: #060;
              background-image: url(images/background.png);
              background-repeat: repeat-x;
              margin-bottom: -2px;

  • [svn:fx-i11] 5537: Fix for bug with FxRotate3D that Thermo ran into with our i11 build.

    Revision: 5537
    Author: [email protected]
    Date: 2009-03-24 20:16:43 -0700 (Tue, 24 Mar 2009)
    Log Message:
    Fix for bug with FxRotate3D that Thermo ran into with our i11 build. The problem was that we were sometimes setting offsets values to NaN due to bad initialization, and that we were also incorrectly calculating the transform center when offsets had not yet been initialized on the target.
    QE Notes: None
    Doc Notes: None
    Bugs: SDK-20209
    Reviewer: Ely
    tests: checkintests, mustella mx/effects
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20209
    Modified Paths:
    flex/sdk/branches/i11/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as
    flex/sdk/branches/i11/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as

    We experience it as soon as we enable iCloud. Then an apple certificate is automatically added to the keychain and used for every https-access. Deleting the certificate com.apple.idms.appleid.prd... will do as a workaround but the certificate continues to be added to the keyChain from time to time or if you start over deactivating iCloud and then activate back.
    Is this still a bug in Safari? Rosario

  • Imovie '09 v8.0.5 bugs with speed change and titles

    OK so here is what I'm experiencing.
    I take a clip and change the speed. Then I add transition from the previous clip to this one and all of a sudden I cannot play the video again. I can't delete the slowed down clip even. I can play video that is in the events library, but not that in my project. When I do mouse over the beginning of my video and play I can hear the sound but it is like it is far off in the distance and the video is just solid gray. I have run into many other similar bugs when changing the speed of a clip but could always delete the clip, quit, relaunch, and try again. With this problem I added a transition and can't even delete the clip. Apple please address this issue. Thanks!

    I am having the exact same issue. Change the speed of a clip in the project, then the ongoing video screen no longer displays the project correctly (but does display when playing clips from the library). This happened recently as I've made several older projects on iMovie 09 using multiple speeds. Perhaps a bug with the 8.0.5 update.

  • Last State Received / Last State Change Date is Incorrect

    Checking a report today I noticed the Last State Received and Last State Change dates are off for many of our clients. The report I'm looking at is the
    Compliance 8 - Computers in a specific compliance state for an update (secondary)
    The StateMessage.log on our clients show successful submissions to the MP. Statesys.log on SCCM looks healthy as does MPControl.log. Has anyone run into this before?
    Orange County District Attorney

    Hi,
    If you initiate Actions on clients, could this data get updated after a while?
    Best Regards,
    Joyce
    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.

  • X Control Exec State Change with Panel Close

    I have an X Control that launches VIs dynamically and loads them into subpanels. If I put this X Control on a VI front panel and that VI has its panel closed, but that panel close event is unhandled so LabVIEW takes the default panel close behavior, the exec state change never fires. If I reopen the VI however, it is stopped. Because of this, my shutdown user event which is sent in the Exec State Change event case never sends and my VI is left running in the background. 
    Of course, I know the panel event should be handled, but this is about robustness of my X Control, not the panel close event handling. Is there any way I can capture this specific case?
    CLA, LabVIEW Versions 2010-2013

    DevonR wrote:
    Hi,
    Thanks for sending in the code.  Have you tried implementing an event structure?  With an event structure, you can set the event to, “Application Instance Close”, so that you can execute some code when a user executes the Quit LabVIEW function.  Please see attached screenshots.
    Devon R.
    Applications Engineer
    National Instruments
    This doesn't work because if you close an owning project but not LabVIEW, the refnum goes invalid. However, I got an answer from here that lets me know what I needed to.
    CLA, LabVIEW Versions 2010-2013

  • Table name with feild Duration of Task/Frequency , Change in Duration/Frequency for maintenance plan

    hi experts,
    i need a table for maintenance plan which has field
    1) Duration of Task/Frequency
    2) Change in Duration/Frequency
    below i have elaborated my requirements.
    among those fields i have got the table name mpos,mpla,plpo except the above listed two feilds.
    i have to create a report with these requirements.
    anyone tell me in which table can i get that 6 and 7th fields.
    Requirement1:
    Maintenance Plan Number 
    Operation Code 
    Standard Teode(assigned to Plan)
    Standard Text Key description
    Cost Center
    Duration of Task/Frequency
    Change in Duration/Frequency
    Created Date
    Created By 
    Changed On 
    Changed By
    Requirement 2: layout of the report should be modifiable with the existing fields.
    Requirement 3: A transaction will be created to access the report.
    Requirement 4: In the report, Maintenance Plan number will be hyperlinked which will divert to AMP screen (display view of maintenance Plan) once clicked on it.
    Requirement 4: Report should contain all created and changed Maintenance Plan details.
    Requirement 5: Initial selection parameter for the report will be only Date. Based on the entered date, records created or changed during the duration should be picked up in the report.
    Requirement 6: Change in frequency will only be picked for single cycle plan. Strategic Plan will not be considered in case frequency change made in it.
    Requirement 7: Change By and Created By should be the complete name instead of User ID.
    regards,
    priya

    can anyone answer for my above question?
    regards,
    priya

  • Switch interface last state change

    Hello all, I have to say I used to be spoiled a bit w/ this one view in our old Nortel Java Device Manager... 
    I used to be able to select all ports on a switch, right click, edit, and it'd show me all kinds of stats. One of them I could sort by, is active links, but also the date the interface last had a state change. This was phenomenal in being able to identify vacated wiring that I could strip patch cords from - freeing up swithc ports, cleaning out ugly mismanaged patch cords, etc... 
    Is there a way to do this in cisco terms? been trying:
    show int | inc line protocol is|input   & other ideas... No luck. 
    Can you help me find a way to do the same type of thing on a 2960?
    Thanks!
    J

    Hey Jason,
    After some digging I have found a few things:
    1.  Running the command:  'show interfaces interface-number' will show you the amount of time since the last configuration made, which may be useful, however it does not show how long since a state change.
    2.  You can configure Link-state Tracking on the device using the following guidelines: http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swethchl.html#wp1376499
    Hope this helps,
    Ryan

Maybe you are looking for