Stop event

Hello all,
Is it possible to run a custom VI after the stop button has been pressed in Signal Express?
I have the desired functionality working with a conditional repeat loop, but the data logging does not work.  Therefore, I am wanting to know if there is some sort of stop event in Signal Express we could use.
Thanks,
Steve

Sorry for the cryptic message.  I was going on 4 hours of sleep that day.
We are using LVExpress 2009.  I figured out the issue with the datalogging not working in the conditional loop.  Apparently, I had inadvertantly enabled some start criteria in the recording options.  Once that start criteria was removed, the data logging works fine.
The original question I had though was really concerning a stop event when the user presses the stop button.  I have  a test running where the several channels of thermocouple data and pressure transducer data are being acquired.  We have writtent the LVExpress program to monitor one of the thermocouples and if the temp falls outside our predefined range the test will shut down.  We are doing this via a limit test in LVExpress.  The physcial test is endurance testing of an industrial gas compressor.  The hardware we are using is a 6024E daq card connected to a SCXI 1000 chassis with a couple of the 1102 modules and one of the relay modules (I forgot the NI number of that module).
When the LVExpress program is started it begins to acquire data and also turns on the electric motor used to drive the compressor via control of a variable frequency drive.  The LVEXpress program performs the limit test and if the temperature is within the acceptable range it sends a boolean true signal to a custom LV vi that has been inserted into the LVExpress project.  If the temperature is outside the acceptable range it sends a boolean fals.  The custom vi is nothing more than a small daq assistant vi that open or closes channel 1 on the relay module within the SCXI chassis.
The issue arises when a user clicks the stop button.  Prior to implementing and fixing the issues involved with the conditional loop, if the LVExpress program was run continuously if the stop button was pushed the motor on the compressor would continue to run because the relay remained in the "on state".  I tried to incoporate an operator interface using a switch, but the swicth would not bind itself to the inputs on the custom vi within the LVExpress project.  Therefore, I was wondering if there was a stop event that is raised when the stop button is pushed.  If so, I could include my custom vi such that it would shutdown the motor.
My ultimate work around was to use a conditional loop.  This worked well as the loop would acquire and log data continuously until either the limit test failed or the stop button was pushed.  Once execution exited the conditional loop, it would goto my custom vi which would switch the relay and turn of the motor prior to the end of the project.
However, while I do have a work around in place I am still curious if there is a stop event where code could be placed once the stop button is pressed within LVExpress.
Thanks,
steve

Similar Messages

  • Report generation toolkit and signal express user step : problem of closing reference in "Stop" event

    Hi all,
    I'm trying to make a package of Vis to easily make Excel reports with Signal Express. I'm working on LabVIEW 8.2.1.
    I'm using the report generation toolkit, so I build a .llb from my project which contains all the hierarchy of my steps, but also the hierarchy of dynamic VIs called.
    I have made some steps, like "Open Workbook", "Write Data", etc.
    My steps run well, excepts one step : "Close Workbook".
    If my "Close Workbook" step is firing on "Run" Signal Express event, I have no error, so my reference is properly closed.
    But if my "Close Workbook" step is firing on "Stop" Signal Express event, I have an error "1", from "Generate Report Objectrepository.vi".
    I feel that I'm trying to use a reference which has been killed in the "Stop" step...
    I would like to know what exactly do Signal Express on "Stop" event and why my close function does'nt run well.
    Thanks,
    Callahan

    Hi Callahan,
    SignalExpress (SE for short) does the following on the Stop event:
    1. Takes the list of parameters that SE found on your VI's connector pane, and sets the values that the user set from the "Run LabVIEW VI" configuration page, if any.
    2. Then tells the VI that SE is running the Stop event by setting the Enum found on your VI's front panel. This in turn should produce some boolean values telling your VI to execute the Stop case.
    3. The VI is then run, with those values and states.
    4. SE checks to see if any errors where returned.
    5. Since this is the Stop event, SE releases the reference to the VI which it possesses.
    Questions for you would be, is the reference to your Workbook linked to a control on your connector pane, or held in a uninitialized Shift Register. If it's held in a Shift Register, SE would not be aware of it, and would not be able to affect that reference.
    Hope that helps. Feel free to post your LLB if it doesn't.
    Phil

  • Problem with checkbox and Event.stop(event)

    Hello,
    I cannot change the checkbox in a row, if the Event.stop(event) is fired on checkbox. My aim is, that the event OnRowClick is stoped, if I change the checkbox in the row.
    <rich:extendedDataTable id="requestTable" value="#{requestListHandler.normalisedRawRequestList}" var="req"
                             rows="#{requestListHandler.limitRows}" selectionMode="single">
                             <a4j:support event="onRowClick" action="#{requestListHandler.viewRequest}">
                                  <f:setPropertyActionListener value="#{req}"
                                       target="#{requestHandler.selectedRequest}" />
                                  </a4j:support>
                            <rich:column>
                                       <h:outputText value="#{req.offerListSize}">
                                            <f:convertNumber type="number" />
                                       </h:outputText>
                         </rich:column>
                             <rich:column id="checkBoxColumns">
                                       <h:selectBooleanCheckbox onclick="Event.stop(event);"
                                            value="#{req.firstInterpreterTimeChecked}"/>
                         </rich:column>
    </rich:extendedDataTable>I know I am using richfaces, but I have problem with sun-ri component <h:selectBooleanCheckbox..../>.
    Have you any idea?
    Manu
    Edited by: Argonist on Jun 16, 2009 8:27 AM
    Edited by: Argonist on Jun 16, 2009 12:25 PM

    I had the same problem. I read you post and was so disappointed that no one had answered you. But I have a good news for you :) My team leader managed to solve this awkward problem.Add to h:selectBooleanCheckbox style="z-index: 20;" so that it is "above" the table row that fires its own onclick event.

  • How to start/stop Event Mgr. and RFID information server?

    I take over our form RFID admin (who quit) position.
    I cannot find any document which tells me How to start/stop Event Mgr. and RFID information server.
    Even the "Sun Java System RFID Software 3.0 Administration Guide" does not have this piece of info.
    Would you please help? Points guaranteed. Thanks!

    Ashley you are still not clear to me.
    Please mention what applications are these??
    Is it SAP Event Manager??
    What is the RFID Information server??
    Is it SAP based, or some other vendor??
    How is the integration done?
    Thanks

  • Addon stop event?

    My addon won't close when a user presses the stop button, I suspect because of event handlers still listening.
    I need to know when the user clicks stop so I can do a clean up of the event listeners and allow it to close. It doesn't appear to fire a shutdown event, and I can't find anything that looks like a "stop" event
    Can anyone tell me, is there an event I can listen to to catch when a user stops an addon from addon manager?

    I'm using this :
        Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
            Try
                Select Case EventType
                    Case BoAppEventTypes.aet_ShutDown
                        SAP_APP.SetMessage("Billing Customization Add-on is Shutting down..", BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                        Return
                    Case BoAppEventTypes.aet_CompanyChanged
                        SAP_APP.SetMessage("Your Company has been changed.", BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                        Return
                    Case BoAppEventTypes.aet_LanguageChanged
                        SAP_APP.SetMessage("Your system Language has been changed.", BoStatusBarMessageType.smt_Success)
                        Return
                    Case BoAppEventTypes.aet_ShutDown
                        SAP_APP.SetMessage("Billing Customization Add-on is Shutting down..", BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                        Return
                End Select
            Catch ex As Exception
                SAP_APP.SetMessage(ex)
            End Try
        End Sub

  • Analysis Services started and then stopped, Event ID: 0xC1210000

    I just installed SQL Server 2005 Developer Edition and SP1 and SP2. I cannot start Analysis Services.  The message box states: The SQL Server Analysis Services (MSSQLSERVER) service on Local Computer started and then stopped.     I looked in the log files located at: C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Log and found these entries:
    msmdsrv.log:
    (6/15/2007 10:07:34 AM)
    Message: The service cannot be started: 
    (Source: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Log\msmdsrv.log,
    Type: 3, Category: 289, Event ID: 0xC1210000)
    (6/15/2007 10:10:26 AM) Message:
    The service cannot be started: 
    (Source: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Log\msmdsrv.log,
    Type: 3, Category: 289, Event ID: 0xC1210000)
    During installation I did get an unhandled exception (I don't know what component caused the exception). I have found this in the SQLDUMPER_ERRORLOG.log file:
    06/14/07 17:39:38, ERROR ,               msmdsrv.exe, Unable to open file C:\Program Files\Microsoft SQL Server\MSSQL.2\OLAP\Data\FlightRecorderCurrent.trc, error 2
    06/14/07 17:39:38, ACTION,               msmdsrv.exe, Watson Invoke: No
    Any ideas how to get this service started?

    Does anyone have any idea on this problem?  My installation of SQL Server Analysis Services worked fine.  I now have the same error as Lucy.  This happened after no upgrading of SQLSERVER.  It must have issues with security patches on the OS, or maybe service packs for Visual Studio (2005).  And no reinstallation of the patch is not the answer (or rebooting).
    The service times out and tells me to check the logs.  The msmdsrv.log file indicates any unhandled exception -
    Message: The service cannot be started: Internal error: An unexpected exception occured. (Source: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.1\OLAP\Log\msmdsrv.log, Type: 3, Category: 289, Event ID: 0xC1210000)
    Message: Service stopped. (Source: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.1\OLAP\Log\msmdsrv.log, Type: 1, Category: 289, Event ID: 0x41210001)
    Message:  (Source: \\?\C:\Program Files\Microsoft SQL Server\MSSQL.1\OLAP\Log\msmdsrv.log, Type: 3, Category: 256, Event ID: 0xC1000016)
    I have tried reinstalling, changed users for the service, changes instance names.  The logging tells me nothing, except there is a big problem.
    I even installed the SQL Server SP2 hoping to fix whatever the problem was.  Now I also have SSIS throwing an exception and wanting to attach a debugger to it on top of my original problem. After reading about all of the problems with SQL Server SP2, I think I created a bigger monster.  Uninstalling leaves around all kind of files, registry entries, and program numbers.
    Thanks for ANY hints to proceed.

  • Conditional stopping event structure

    Hi all
    Attached is my Vi , I want to stop the event structure in loop 1 , from the loop 2 which is continously running in parallel and getting digital input from a DAQ device.
    whats happening is first I am checking the status of teh digital input and then on that I am excuting the true structure. once I am in the True case , an event structure for user operations and a parallel while loop is used to monitor the digital input , what I  want to do is as soon as the digital daq input is low again i should be back to my fasle case in the main loop but the loop 1 with event structure is not stopping.
    help
    regards
    Regards
    Attachments:
    Untitled 1.vi ‏12 KB

    Snamprogetti wrote:
    You can't put an event structure into a case structure. It will run even if you are in the other case.
    See http://forums.ni.com/t5/LabVIEW/An-event-structure-can-freeze-the-front-panel-even-if-not/m-p/106629...
    What then, is a queued state machine? . The issue is the event structure still queues your events whether or not you are in your "idle" case. So if you don't promptly return to your idle case, events can back up in the event structure causing your program to act like it's lagging. Setting a busy cursor can help to solve this problem. I felt this should be clarified because a properly set up queued state machine is very powerful. This obviously isn't the solution for the parallel loops here but I thought I should add to your point..
    CLA, LabVIEW Versions 2010-2013

  • Start stop event structure queue

    Hello,
    I would like for the attached vi to start logging/displaying data when the Start button is pushed, not when the VI starts. So I did some research and was led to the Event Structure (this is my 1st time using an event structure). I have been trying all sorts of things over the last few hours so what I have now is probably somewhat convoluted, however, my latest error is that my dequeue is receiving an "invalid refnum".
    Could someone guide me on what I am doing wrong?
    Thanks.
    Solved!
    Go to Solution.
    Attachments:
    InitFile.vi ‏20 KB
    CNAP Daq Event Structure.vi ‏109 KB

    Hi Nouse,
    I had some free time and was bored so took a look at your vi for you. You was on the right track, had started with a good architecture which is half the battle, just needed some fine tuning:
    I took your code and added it to this. All that i have taken out is the Sub vi's that get your data, i replaced this with a random number just to see some data on the wavechart and also being logged in your file. A point to notice is that your 'CNAP INIT FILE' vi has no error cluster propogation. If you run this subvi and there isnt the 'C:CNAP\' Directory (As there wasnt on my computer at first) the 'OPEN File' vi errors and halts the program, as you have no error propogation or handling in this vi you cannot handle this error.
    I changed the vi slightly and added a 'Start' 'Stop' and 'Exit'. This allows you to start acquiring/logging data, stop (without exiting the program), restart acquiring/logging or exiting the program. A point to note is that if you do 'Stop' and then 'Start' again, relatively quickly your 'CNAP INIT FILE' Vi will append a previously written file, which is fine, but it will also send out a new start time. So your readings in the same file will start from 0 time. You may want to catch this and not update the new start time if appending an old file.
    I have attached the VI in both LV2009 and LV8.6 as you never stated your version.
    Hope this helps,
    Rgs,
    Lucither
    Message Edited by Lucither on 03-27-2010 03:32 AM
    "Everything should be made as simple as possible but no simpler"
    Attachments:
    Data Logger VI 2009 and 86.zip ‏229 KB

  • Stopping Event Propagation

    Hi All,
    Am facing some issue in event propagation.
    I have a Application component with in which I have a link button. The Application has a mouseDown event listening for it and the link button has the click event listening for it.
    I have a requirement where in if i click on the link button i got to show an image and on again clicking on the link button hiding the image. Basically toggling the hide/show of image on click of the link button. This works fine as expected.
    Now I have mouseDown listening on the Application, where in If I click any where else in the Application again the Image show be hidden and only on click of Link button it should be shown.
    But since I have the mouseDown listening on the Application, whenever I click on the Link button the image is showing properly but then after that when I click the link button again to hide the image, then since two events are getting triggered  the Image is never getting hidden. It always shows up.
    THE FIX I NEED is that when i click on the link button, the parent event should be stopped from bubbling and hence only the Link Button's Click should be called and not the Application's mouseDown.. And in else other places, its fine to have the Application's mouseDown event called.
    I Tried event.stopPropagation () and event.stopImme()...but in vain.......... PLS HELP

    "Jimmy Jeeves" <[email protected]> wrote in
    message
    news:g8va3c$ak4$[email protected]..
    > Hi!
    >
    > I want to provide hotkey in my html webpage. (I am using
    >
    http://code.google.com/p/js-hotkeys/)
    > I also have a chat module in Flex. When I am typing some
    text in the flash
    > object, I don't want the hotkeys to be enabled.
    >
    > I tried to stop the propagation from the flash but it's
    not working.
    >
    > From what I know, the html events are propagated from
    the child to the
    > parents. So if I stop the event from my flash object it
    has to be ok,
    > right?
    >
    > See my example. If I display an Alert from the callback,
    it is displayed,
    > so
    > it works. Why the event is still propagated?
    >
    > Thanks
    >
    > public function reportKeyDown(event:KeyboardEvent):void
    > event.preventDefault();
    > event.stopPropagation();
    > }
    >
    > this.addEventListener(KeyboardEvent.KEY_DOWN,
    reportKeyDown);
    >
    I don't think you can preventDefault on key events. You could
    probably use
    ExternalInterface to tell the web page not to listen for the
    hot keys for a
    while, though.
    HTH;
    Amy

  • Unable to stop event structure manually

    Hello,
     I have a fully functional State machine program to control a stepper motor.
    However, I face a problem where I am not able to break the program inbetween execution by clicking the stop button for while loop MANUALLY.
    I dont know why it cannot exit upon User input.
    Abhilash S Nair
    Research Assistant @ Photonic Devices and Systems lab
    [ LabView professional Development System - Version 11.0 - 32-bit ]
    LabView Gear:
    1. NI PXI-7951R & NI 5761
    2. The Imaging Source USB 3.0 monochrome camera with trigger : DMK 23UM021
    OPERATING SYSTEM - [ MS windows 7 Home Premium 64-bit SP-1 ]
    CPU - [Intel Core i7-2600 CPU @ 3.40Ghz ]
    MEMORY - [ 16.0 GB RAM ]
    GPU - [ NVIDIA GeForce GT 530 ]
    Solved!
    Go to Solution.
    Attachments:
    Motor-UNI_Directiona Dev 3.vi ‏53 KB
    Control 1.ctl ‏6 KB
    Control 2.ctl ‏6 KB

    Uggh. I typed a response here to your note but NI website timeout kicked me out and I lost everything I typed.
    What RavensFan mentioned is shown in attached image, you have to unclick that option on every case of your events structure so that it doesn't lock up the front-panel.
    But more importantly as Lynn and other folks mentioned, you have a bigger problem with your design implementation.  My previous example was to show how a state-machine based design can be made clean/small/efficient/etc.  I have two 30" monitors on my Mac and your block diagram extends well into my second monitor!! :-)  (I'm a bit of a neat-freak so I like making things look nice/wires laid out properly/into straight lines, no unnecessary wires crossing/etc - all that makes it easier for yourself and others to see the design.)
    Sorry, back to the main point - you should definitely follow Lynn's advice on using Consumer/Producer (events) model - a simpler start would be to separate out your events structure into its own while loop that runs parallel to your existing loop.  With that, at least you will execute events structure at a regular interval.  Another strong advice is to simplify your design so that you don't use nested (one-inside-another) state-machine design. I have decades of LabVIEW experience yet I stay away from that kind of complication because it only causes more problems as you grow your design. Why not just add more cases to your existing state-machine design rather than adding a nested state-machine structure inside it?
    -DP
    New Controls & Indicators made using vector graphics & animations? Click below for Pebbles UI
    Attachments:
    Untitled.png ‏75 KB

  • How to stop events from firing

    helo..
    is there a way to stop an event from firing.. or making an effect event if it was raised..
    for example in my application.. i have a JList which has a ListSelectionListener and a PopupListener... when i right-click.. the populistener fires.. and also my selection (say i made a select-all-items) gets changed.

    Remove one if the listeners??
    /Kaj

  • Stop events structure

    Hi all!
    Here I am! I'm using a events case in a while loop. The problem is that
    I should press twice on the stop button to stop the while loop...WHY!!!
    That my question...I set Switch when release for my stop button...(I
    must use a local variable of it...) Now, I can't stop my VI it seems
    that the value of my Stop booleen must be read before the while loop
    begin...then, when I press once my Stop booleen, then, it stay at true
    value, end it seems that the while loop start an other time...So, I
    press the control again, and the Vi stop correctly...( By closing, I
    send a false value to the stop booleen, to recover a ready to use
    control Like a latch mechanical action...)
    Now there is the problem...To figure out where is the problem,  I
    highlight this...and now,  I got no problem! each time it is highlight,
    my VI stop correctly, but in normal mode, I should push twice on the
    control to stop it...Is it common? Do you know something weird with
    event case? By the way, I need to have an event case with no time out,
    because I use some shift registry each time I make an event action...
    An other weird tings, is when I recreate the "same" thing in an other
    VI, Or even I copy paste the inner part of my VI in a brand new VI, it
    working...
    In addition, I can't send you an example, because it is a part of a
    very huge program...(So I should send you too many subVI and special
    driver...So...)
    Nevertheless, I took a picture
    Thanks for help this...
    Fakstory
    Attachments:
    Doc12.doc ‏77 KB

    Look, if you only attach a picture, we can only comment on what we see!
    The main diagnosis ("race condition"!) has already been mentioned. The point about the event structure inside a case structure is serious and could possibly cause problems like you observe, but it is not possible to tell from the picture for sure. Your picture shows very little, but what it shows does not make sense. I just pointed out the two most glaring observations. Since you say yourself that you are a noob, such comments can help. A program that is clear and does not contain unecessary things is much easier to debug.
    Typically, the quality of the answer cannot be better than the quality of the question. You don't provide enough details and the image you posted is useless to pinpoint the problem.
    Analogy:
    You don't bring a picture of your motor to the mechanic and ask why the car does not start. Unless the picture show that the motor is missing or on fire, nonbody will be able to tell what's wrong.
    All we can say for sure so far is that have a race condition. Provide some code (even broken) and we can give a more detailed analysis.
    LabVIEW Champion . Do more with less code and in less time .

  • Stop Event Bubbling w/ VidPlayer Component

    Hello
    I am having trouble with event bubbling when using the flash video player
    I've tried several methods to stop the player,before submitting here - but nothing I've tried seems to work
    The example is posted at http://64.50.167.136/~natures/NaturesReflections.html
    The scenraio is:
    The site loads great - the buttons function correctly
    When the fourth button is click - it loads a frame with an embeded FLV player
    (the default vid player Flash uses when importing video into the swf)
    When the fourth button is click (Cheetah Coloring System)
    The video starts to play
    When any other button is clicked
    The video continues to play
    The embeded vid clip is named movie1
    and i've tried using move1.stop();
    but that stops the entire swf
    Any suggestions on how to stop the movie - when another button is clicked?
    Thank you for your time and attention
    COde used for the buttons::::
    btn1_mc.addEventListener(MouseEvent.MOUSE_DOWN, bhp1DownHandler);
    function bhp1DownHandler(event:MouseEvent):void {
    gotoAndStop(15);
    btn2_mc.addEventListener(MouseEvent.MOUSE_DOWN, bhp2DownHandler);
    function bhp2DownHandler(event:MouseEvent):void {
    gotoAndStop(16);
    btn3_mc.addEventListener(MouseEvent.MOUSE_DOWN, bhp3DownHandler);
    function bhp3DownHandler(event:MouseEvent):void {
    gotoAndStop(17);
    btn4_mc.addEventListener(MouseEvent.MOUSE_DOWN, bhp4DownHandler);
    function bhp4DownHandler(event:MouseEvent):void {
    gotoAndStop(18);

    don't embed your flv in your swf.  add an flvplayback component to your frame where you want the flv to be displayed, assign it an instance name (say flv) and use:
    flv.source="pathtoyourvideo.flv";
    and, if publishing for fp 10, use:
    flv.unloadAndStop();
    when about to exist that frame.
    if publishing for fp9, use:
    flv.stop();

  • How to stop events that span midnight from displaying on 2 days

    Somewhere around SnowLepoard iCal's default behavior changed. It used to be that If an event spanned midnight (e.g. 7p-7a) then in the Month view it would only show up on the day the event started.
    Now in Lion, it produces a colored bar that spans both days with 'ends 7am' on the right hand side of the bar in the second day. In Month view this is annoying and clutters the display when you have several consecutive events that span midnight e.g. three 7p-7a events in a row.
    How can I get the old behavior back without editing events as many of them are from calendar subscriptions?

    I work the same kind of shift, one that spans all night. Mine show with the start time on the correct day and another one for the end time on the next day.

  • Alert stops event(?)/binding(?) propogation - unless nonmodal?

    I'm new to Flex - so I'm not sure if this behavior is due to focus or events or what...
    I currently must use SDK 3.5.
    In my example - I have 3 controls/components - 2 Grids and 1 TextInput.
    They are bound to globals / so that they stay in sync with each other.
    On the TextInput - I have a RegExpValidator to check for wellformedness
    Within the handler for the RegExpValidator - I have an additional check for some additional criteria.
    If this additional criteria is met - I need to display a warning message to the user...
    What I have noticed is the following...
    ...If the alert is NONMODAL - then all the grids and data stay in sync (as desired).
    ...If the alert is modal - then the grid that clicks selected item is updated - but the change doesn't propogate to the other controls/components.
    As I am new to the platform - I don't exactly know how to word this to  google it...  So my searches thus far have yielded great information for everything but my problem
    Do I need to call something specific to propogate the changes if its a modal?  I'm hoping that this is the case...
    I probably could do this by specifically updating each component from the code where the alert is - but that seems like a really bad idea..
    To illustrate - I threw together this simplification of what I'm trying...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="955" minHeight="600"
                    creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.Alert;
                import mx.events.ValidationResultEvent;
                import mx.validators.Validator;
                [Bindable]
                public var ListA:ArrayCollection = new ArrayCollection();
                [Bindable]
                public var curIndex:int;
                public function setCurIndex():void {curIndex = Grid1.selectedIndex;}
                public function setCurIndexB():void {curIndex = Grid2.selectedIndex;}
                public function Checkit(e:ValidationResultEvent):void {
                    if (e.type == ValidationResultEvent.INVALID) {
                        e.stopPropagation();
                        Alert.show("Doesn't start with 'www.'   Enter www.something to continue...", "Error", Alert.OK);
                        Grid1.selectedIndex = curIndex;
                        Grid2.selectedIndex = curIndex;
                    else {
                        if ( txt1.text == "www.zzzzz.com")
                            Alert.show("Propogation should continue between grids - but doesn't....  Type www.somethingelse in the text to get going again....", "Warning", Alert.OK);
                        if (txt1.text == "www.zzzzz_nonmodal.com")
                            Alert.show("Propogation continues between grids - but as nonmodal  ??!?", "Warning", Alert.OK|Alert.NONMODAL);
                        if (txt1.text == "www.zzzzz_Later.com")
                            callLater(function():void {
                                Alert.show("Propogation should continue between grids - but doesn't.... ...this from a callLater...", "Warning", Alert.OK);});
                private function init():void {
                    ListA.addItem("www.google.com");
                    ListA.addItem("www.bing.com");
                    ListA.addItem("www.yahoo.com");
                    ListA.addItem("www.zzzzz.com");    //this should throw a warning and propogate - but doesn't
                    ListA.addItem("www.zzzzz_Later.com");    //this should throw a warning and propogate - but doesn't
                    ListA.addItem("www.zzzzz_nonmodal.com");    //this should throw a warning and propogate - and does but as NonModal
                    ListA.addItem("qwerty"); //this should fail validation - it does
            ]]>
        </mx:Script>
        <mx:DataGrid x="10" y="48" id="Grid1"  editable="false" draggableColumns="false"
                     dataProvider="{ListA}" rowCount="{ListA.length}" selectedIndex="{curIndex}"
                     itemClick="setCurIndex()" >
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
            </mx:columns>
        </mx:DataGrid>
        <mx:DataGrid x="10" y="255" id="Grid2"  editable="false" draggableColumns="false"
                     dataProvider="{ListA}" rowCount="{ListA.length}" selectedIndex="{curIndex}"
                     itemClick="setCurIndexB()" >
            <mx:columns>
                <mx:DataGridColumn headerText="Column 1" dataField="col1"/>
                <mx:DataGridColumn headerText="Column 2" dataField="col2"/>
            </mx:columns>
        </mx:DataGrid>
        <mx:TextInput x="10" y="216" id="txt1" text="{ListA.getItemAt(curIndex)}"/>
        <mx:RegExpValidator id="RegExCheck"
                            source="{txt1}" property="text"
                            flags="g" expression="^www\..*"
                            valid="Checkit(event)"
                            invalid="Checkit(event)"
                            trigger="{txt1}"
                            triggerEvent="focusOut"
                            />
        <mx:Label x="10" y="10" text="1) Select something in a grid - 2) Click in the TextInput - 3) Click in a Grid - 4)Repeat" width="507" height="30"/>
    </mx:Application>
    Thanks in advance.

    Find a way to dump out the globals.  Make sure they are being updated.  Then
    you'll know where to look next.

Maybe you are looking for

  • ANY Way to Increase TM Back up speed????

    I'm fed up with the SLOWNESS of Time Machine Backups, why is it that it's SNAIL slow??? So I went to carbon copy cloner and in FOUR minutes CCC has done more work that TM in 3 HOURS!!!!! WTH!! I'm using WD Firewire External and there is no reason at

  • XSL and carriage return problem

    I'm using an HTML form to get the input text from the user. The text is stored in an XML file and after that I use XSL transformation to show the text as HTML file. The problem is with carriage returns that user has entered. In HTML file I see &#13;

  • Controlling Captivate movies from a parent Flash movie

    Hello, i am in the works of onverting my old AS2 code, for controlling Captivate movies lodaded into a Flash container, over to AS3 becasue of the transition to Captivate 5. There were some weird issues in AS2 and Captivate 3 which i fortunately vere

  • Showing the pages on the left side

    When I open my adobe file, the pages on the left side (where the bookmarks are) are NOT showing.  How do I get them to show please?  Thank you.

  • IPhoto 6.0.6 upgrade

    I'm still using iPhoto version 6.0.6. Assuming I've done the latest OSX software updates, can I upgrade directly to version 11 without any problems? Thanks for your help!