My vi is hung...how can I discover where it hangs without running it over and over

After my vi performs some of the tasks it is asked to do (all by events), when pressing the next button (latch type) that should create a new event, the button stays down (is never read by the event) , the event does not trigger.  The previous event seems to complete all its functions but doesn't seem to allow other events to be started.
any thoughts.
Solved!
Go to Solution.

Have you tried turning on execution highlighting? From the sounds of it sounds like you are getting stuck inside your event 1 task and not really exiting it. Also, as a general suggestion stacked sequences are generally frowned upon. You are much better off using a state machine. It is much more flexible and extensible. Another option would be to use a producer consumer archittecture and when the event triggers notify (using a queue) the consumer task, which is usually a state machine, to process the event. At a minimum I would turn the code from each of your frames into a subVI and then simply wire all the subVIs together.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • HT4113 What is a verification code?  How can I discover where and what it is?

    What is a verification code?  How can I discover where and what it is?

    Read through this: http://support.apple.com/kb/ht5570

  • HT4623 How can i download ios 7.1 without using my iphone and itunes

    How can i download ios 7.1 without using my iphone and itunes

    If you don't use your phone and you don't use iTunes, what are you expecting to use? Your options to update your device are Over The Air through Settings>General>Software Update or by connecting the device to iTunes and updating.
    Best of luck.

  • My wife has new ipad. I have i-phone synch on a mac laptop. How can I synch the new ipad without synch my contact and other things, but only the music etc//

    My wife has a new I-pad2. i have I-phone synched on a mac laptop.
    How can she synch the ipad to the laptop i-tunes to synch music etc ??

    Configure in iTunes.
    Be forewarned that iCloud can throw a monkey wrench into this.  Post back if you have that situation.

  • How can i compile a C program to run solaris 9 and 10?

    Hi,
    I need to compile a small C program to run on solaris 9 and 10. There is no C compiler on the target servers. I have compiled and tested the program on Linux over x86.
    I hope you can advise on the way forward. I see the following options:
    - install a C compiler, the lightest possible, on the target servers and compile the program
    or
    - set-up a sparc solaris (9 or 10) on top of virtualbox on my windows laptop, install the c compiler and then compile the program
    Thanks in advance.
    Gaby

    To run an application on both Solaris 9 and 10, you need to build it on Solaris 9. The application will then run on Solaris 9 and 10. (If you build on Solaris 10, you cannot expect the application to work on 9.)
    The most recent Studio version that can be run on Solaris 9 is Studio 12 (but not updates 1, 2, or 3).
    You can still get Studio 12 here, but since it dates from 2007, I don't know for how much longer.
    http://www.oracle.com/technetwork/server-storage/solarisstudio/downloads/ss12-136026.html
    Studio does not do cross-compilation, so you need to build on a system of the same type as the target system -- SPARC or x86. I don't know whether Solaris 9 can be installed on Virtual Box, but you can try. If it works, you can install the compiler, build on that system, then deploy on other Solaris 9 and 10 x86 systems.
    You can of course build the application on each of Solaris 9 and 10, but usually that is not necessary, and it complicates deployment and support.
    I believe Solaris 9 is End Of Life, so it would be a good idea to upgrade S9 systems to S10 or S11. I realize that such a change might not be up to you. :-)

  • How can I just email a photo without a set up and text and all that stuff?

    I used to be able to select a photo and email it - no and for quite a while a whole set up appears with place for text and choices of design, etc. Can I no longer just send plain unadorned photo?    I have a MBP 2010 running Lion. Thanks.

    To email photos from iPhoto on your mac set the iPhoto preferences in the "General" tab of the preferences to "Email photos using: Mail", not "iPhoto."
    Then you can compose and send a simple mail like this:

  • Ving created an iphoto book size L how can i increase it to XL without have to cancel and create again ?

    I have ceated an Iphoto book size L, but would like to increase size to XL but cant find a way to do it before ordering.
    The only way appears to be to cancel and create again, but it's a lot of work, any idea's.

    Barbara,
    If no one answers here there is an iPhoto forum. You can locate it by clicking Apple Support Communities in the upper left of this page then in the search field type iPhoto.
    Roger

  • I am trying to purchase a free app from the apple store. But, It says that i must update my payment information. How can I purchase the free app without doing the process and acredit card?

    I don't understand why it is asking for billing details for the purchase of a free app. do not have a credit card handy.

    If you didn't setp your iTunes account, from the beginning, without a credit card, you'll have to either add a credit card to your account or redeem an iTunes gift card, regardless of whether the app is free or not.

  • How can I discover a color saturation in an image?

    My name is Eduardo, from São Paulo/Brazil. I'd like know how can I discover a color saturation in an image? For example, I open an image in photoshop CS6 and I'd like to know what a color is more saturated for after to do a treatment with color balance. I tried to use a Color Sample Tool in Photoshop, tried to find some articles and techiques on Google, but without success.
    Somebody help me?

    Hi Eduardo,
    Try looking at the Color window.  You can find this by going to Window -> Color.  In the Color window, you can use the eyedropper to select a color and see the color information displayed.  See the screenshot. 
    Hope this helps!

  • How can i discover bonjour service with safari on IPAD?

    How can i discover bonjour service with safari on IPAD?
    I can use safari on MAC to discover bonjour service on network, but how can i do that with safari on IPAD?
    Thanks a lot.

    unfortunately, You cannot get bonjour on ipad. But however, you can get a program on the mac (assuming you have a mac) called printopia (http://www.ecamm.com/mac/printopia/) which will turn your printer in to AirPrint when the mac is on. it works very well all the instructions are on the website

  • I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    I've been trying to make an account with iTunes n everytime I get to the part of the credit card that's as far as I get because I dnt have one, how can I make an iTunes account without a credit card??

    Where are you located?
    Just go and buy an iTunes gift card at any store in your country.
    Then follow all the steps you did, but when it asks you for the credit card number, there shoujld be a GIFT CARD option which will let you load your account witht eh funds form the gift card without providing a credit/debit card #.

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • How can i update data in JTable at run time ?

    i am trying to build a client/server architecture for conducting quizzes & online tests.. My client will return a object to the server after the test is over, which contains details about the participant, his score and other details. i am putting the incoming object to an Vector. I'll create a new thread each time for the incoming connection and insert the object to the Vector.. Now, please tell me tat, how can i update my table automatically at run time so tat, my table is updated whenever a new object is entered into vector..
    here is my code for the table..
    public class MyTableModel extends AbstractTableModel {
        String columNames[] = { "ID", "NAME", "COLLEGE", "SCORE", "CELL" };
        /** Creates a new instance of MyTableModel */
        public MyTableModel() {
            Main.List = new Vector();
            SetDefaultData();
        public int getRowCount() {
            return Main.List == null ? 0 : Main.List.size();
        public int getColumnCount() {
            return columNames.length;
        public String getColumnName(int column) {
            return columNames[column];
        public boolean isCellEditable(int row,int col) {
            return false;
        public Object getValueAt(int rowindex, int columnindex) {
            if(rowindex < 0 || rowindex >= getRowCount())
                return "";
            Student row = (Student)Main.List.elementAt(rowindex);
            switch (columnindex)
                case 0 : return row.id;
                case 1 : return row.name;
                case 2 : return row.college;
                case 3 : return row.score;
                case 4 : return row.cell;
            return "";
        public String getTitle() {
            return "Student Table";
        private void SetDefaultData() {
            Main.List.removeAllElements();
            Main.List.addElement(new Student("CS041","Keerthivasan M","MNM",95,"9884326321"));
            Main.List.addElement(new Student("CS012","Arun M","MNM",90,"9884825780"));
            Main.List.addElement(new Student("CS019","Balaji S","MNM",79,"9841742068"));
            Main.List.addElement(new Student("CS005","Anand R","MNM",89,"9884130727"));
            Main.List.addElement(new Student("CS045","Manish J","MNM",55,"9841624625"));
            Main.List.addElement(new Student("CS013","Mangal S","MNM",5,"9841961742"));
    }

    In the future Swing related questions should be posted in the Swing forum.
    how can i update my table automatically at run time so tat, my table is
    updated whenever a new object is entered into vector..You don't update the Vector directly. You should be creating a method in your TableModel, called "addRow(...)". This method will do two things:
    a) add the Student object to the Vector
    b) invoke the fireTableRowsInserted(..) method of AbstractTableModel. This will cause the table to be repainted.

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • My weather app doesn't show the feels like temp or wind, etc.  How can I fix this?  I am running iOS 8.1.2

    My weather app doesn't show the feels like temp or wind, etc.  How can I fix this?  I am running iOS 8.1.2.

    is that really what it is?  this is the native iphone weather app.  the funny part is that when i use the actual weather channel app, it does provide it.
    is this an api issue with the weather channel and the iphone then?  i guess there's no fix?
    thanks for your help by the way.

Maybe you are looking for

  • EA6100 AC1200 Blocking Guest internet access during specific times?

    I see that you can disable guest internet access for specific times but only for specific devices. What I want to do is turn off Guest access for all devices during specific times.  I am using this in an environment  where I will have different guest

  • Confusion in group by function- Any thoughts?

    Hi, I always have a doubt regarding the group by function i.e. if we are using a group by function and we want to display some columns which are not to be grouped by then how do we display those. Like for eg. to display last name, department no and a

  • Fillable forms question - FrameMaker to PDF - Without losing copy protection options

    Hello, I'm looking for a solution that will allow us to integrate fields in a Chapter Review-style question area where users can comment their answers (instead of using StickyNotes). It must disallow printing/copying etc to meet content protection re

  • MIRO equivalent of MIGO exit_saplmbmb_001 (or MB_DOCUMENT_BADI)

    In the MIGO update task, you can do custom stuff using the exit "exit_saplmbmb_001" (FG XMBC, Include ZXMBCO01) or the BAdI "MB_DOCUMENT_BADI". Does anyone know "right-off" the MIRO equivalent of this exit and/or the MIRO equivalent of this BAdI?

  • Distortion after importing to premiere

    Hello I'm using a program called bandicam setup todo h.264, Recently whenever I import my footage to premiere its become very laggy and in the preview it shows signs of distortion. Before importing to premiere http://puu.sh/2UGMP.jpg After importing