VI crashes but highlight execution works without error

I designed a VI for my business and unfortunately I can't post any code due to the nature of the project.  However, I developed a VI that works with a Lua script, communicate in a way hand-shake-accused of receiving over TCP.

Basically I have a typical State Machine that goes around where the main report for a TCP command, then once, he gets one, the Lua script waits for a response than the finished LabVIEW acknowedging.  Then the LabVIEW waiting again for another command.  It just goes back until I get out.

When I run the VI with my script, it crashes.  I see no error message or anything. the LabVIEW program ends completely.  However, if I use the execution to highlight, it works 100% as planned and I can't visibly see all problems.  I also ran through the entire program, using "Step-Through" and who also worked 100%.

I tried to get the information from 'error', but there is none.  If I run this, it just completely stop LabVIEW on crash with no notifcation at all.  If I run it using one of the methods above, the error Out reported no errors.

I use not all local variables, or anything that might cause a race condition (to my knowledge).  Except wait for a command by sending one to the end, the code works sequentially and even the communicaton is relatively sequential (since both programs block / busy wait until they receive the order).

Does anyone have any additional suggestions on how can I debug this problem?

Looks like that it comes with Developer Suite 2009.

Do not attempt to teach you to suck eggs here, but you can strip enforcement up to the bare bones to try to isolate the problem.

Keep the feature to cut until it no longer hangs and then build up until the problem reappears to try to limit.

Tags: NI Software

Similar Questions

  • My win xp sp3 displays this error 0X000000F4 (0 x 00000003, 0X80ED4020, 0X80ED4194, 0X805D2970) in the start time menu some time pc works without error after 2 or 3 p.m. shows this message what solution help me please

    My win xp sp3 displays this error 0X000000F4 (0 x 00000003, 0X80ED4020, 0X80ED4194, 0X805D2970) in the start time menu some time pc works without error after 2 or 3 p.m. shows this message what solution help me please

    This problem is solved replaced smps problem is resolved. Maybe the smps is not given the correct voltage

  • JavaScript works with an alert, but does not work without it. Why?

    This happened to me before, but I was able to solve my problem. Now I'm not.

    Let me explain: I have a javascript function which I call when I double click on a line on a table:

    [code]

    function CallServ (evt) {}
    source var = evt.getSource ();

    AdfCustomEvent.queue (source, "call",
    {
    },

    (false);

    auxDblClick.call (this, source);
    }

    function auxDblClick (CBC) {}
    split var = src.toString () .split ('=');
    var idButton = split [1];
    var split2 = idButton.split(':');
    okButton = split2 var [0].concat(':');
    for (var i = 1; i & lt; (split2.length - 1); i ++) {}
    okButton = okButton.concat (split2 [i], ' :');)
    }
    okButton = okButton.concat ('dc_cb1');
    var comp = AdfPage.PAGE.findComponent (okButton);
    Alert (COMP);
    AdfActionEvent.queue (comp, comp.getPartialSubmit ());

    }

    [/ code]

    As you can see, my alert line is commented. If it is not commented, the "auxDblClick" feature works very well: it will print the model on the alert, and then it will perform the action of the dc_cb1 button. However, when I commented the alert function, it stops working.

    I have PartialTrigger set to "true" on my dc_cb1 button and the clientComponent is set to 'true '. I've also set to true ClientComponent on the table, but it does not work.

    So, why the function working with alert, but does not work with the alert off the coast? What Miss me?


    P.S: jdev version 11.1.2.4.0

    I found the solution:

    Before the "AdfActionEvent.queue (comp, comp.getPartialSubmit ());" line, I used the update function. Like this:

          var t = document.getElementById (okButton);
       
          t.Focus ();

    Now everything works fine

  • Meta Refresh does not refresh the menu drop-down select options but don't check the boxes... IE works without error (Max FF issue)

    Drop-down list not update even if the html code was changed using the meta refresh tag. The problem has been resolved by deleting the name of the list in the html code in the part of my page refresh. It's a php script, so I can do but with html directly, I don't see a way to solve the problem for others finding this a problem, FF should not do this.

    Example:

    < select name = "page_header_color" >

                 <option >blue</option>
               <option >green</option>
               <option selected >red</option>
               <option >black</option>
               <option >silver</option>
             </select>
    

    whether refresh properly changed to this:

    < select name = "" >

                 <option >-------</option>
             </select>
    

    the script modifies the page preceding between the discount and the 'real' html that resolves this problem, otherwise FF does not update the drop-down lists at all, but it is updated check boxes and everything.

    You must reload and bypass the cache to reset the choices made through selection and from the drop-down list boxes.

    Otherwise the selection are reloaded from the cache, so a meta reload does not work either (can work if you reset the through an onload event).

  • So simple but does not work! Error # 1009

    Doing my first (very simple) interactive chart and am confused as to what could go wrong.

    I have four buttons running from left to right. In the initial screen on the test I can navigate to the second, third and fourth positions on the timeline, but I can't go back. If I select the third button I can move on to the fourth place, but can't go back to 1 or 2. If I test and immediately click the fourth button I can't navigate anywhere.

    Any help would be greatly appreciated.

    *****************************************

    Error

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    at RobberyTrends4_fla::MainTimeline/frame1() [RobberyTrends4_fla. MainTimeline::frame1:12]

    *********************************

    Stop();


    import flash.events.MouseEvent;


    Lossesbtn.addEventListener (MouseEvent.CLICK, showLosses)
    Injuriesbtn.addEventListener (MouseEvent.CLICK, showInjuries)
    Countermeasuresbtn.addEventListener (MouseEvent.CLICK, showCountermeasures)
    Incidentsbtn.addEventListener (MouseEvent.CLICK, showIncidents)


    function showLosses(event:MouseEvent):void
    {
    gotoAndStop ("Losses");

    }

    function showIncidents(event:MouseEvent):void
    {
    gotoAndStop ("incident");

    }

    function showInjuries(event:MouseEvent):void
    {
    gotoAndStop ("Injuries");

    }

    function showCountermeasures(event:MouseEvent):void
    {
    gotoAndStop ("Countermeasures");

    }

    Yes, this could be a way for you to solve this problem.  If your buttons exist permanently along the timeline without interruption of new instances of them, then they will all work when called.

    If you who continue and don't want the buttons to appear in their frames of destination, then you can set the visible property to false and keep the replacement images you already have in place... just to keep them on another layer.  You need to just reset their visible property when you move elsewhere.  The best way to do that is to create a reset function that you call in the destination of all executives just before the line where you set the invisible framework... button meaning first set visible property all the buttons for real, then select that you don't want showing on the right wrong after that.

    Another way, you might be able to get out is to have your functions defined in the first frame of a layer of actionscript that extends along the timeline and have it contain the functions of event handler for the button.  In this way, that the functions are available for the length of the timeline.  The part that needs special attention is you set the headphones of events for the buttons in the keyframes you have along the timeline.  So if interrupt you a button along the timeline with a stand-in image, then all instances of this button in the timeline panel need to have the event be given listener

  • Same scenario... in form, but in another work get error "the Date is not a constructor.

    Using this javascript in one of my forms in timestamp it, (just a simple secure text field.)

    Form1. MainPage.DateTimeStamp::docReady - (JavaScript, client)

    If (form1. MainPage.DateTimeStamp.rawValue == null) {}
    var now = new Date();
    Form1. MainPage.DateTimeStamp.rawValue = nowtoDateString() + now.toTimeString ();
    }

    This time stamp the shape she should.  The problem is on another form that I build, I use the same script (with a different absolute paths, of course) and I get an error on the date javascript is not not a builder.  I type the script in ten bajillion times and I am at a loss for what is the cause.

    All I want is a javascrip simpel where I can display the time/date of the system to users in a text field.

    Hello

    Is it maybe something else in the present form called Date... a subform, field, object, script, or something that JavaScript would take first before the Date object inbuild?

  • validation, but has not found any error line

    Dear all,

    When I restart the data that I encounter the following error, help me how to handle this case of use as point me blog useful links.


    Error

    Validator CntrD_Rule_0 needs a line of the BookingExpVO_1794 iterator
    to perform its validation, but did not find any line. Failed validation in line with key oracle.jbo.Key [I-AAA42120303382].



    Concerning
    KT

    I got the answer, I defined the Validation values to both sides of 'Entity Business Logic Unit' and entity object. When I removed the side validation object entity my program now works without error.

    Concerning
    KT

  • Instrunment: Works to "Highlight the execution", but does not work in an ordinary execution

    First of all how can I copy and paste of LabView code for the forum? I just do ctrl + c and paste it into the section "insert code"? If so, I tried to do that and it didn't work, would it because I am using a trial version?

    Come to the main point, I take medium-sized measurements of a multimeter. With the while loop measures in its own code snippet, it works but when I try to put it together with my original code I get this error:

    Reference not found: (xBFFC0012) Impossible to extract data from user for the given resource name as there was no data in the name of the resource.  Before you can read the data, you must write the data of the user by using the action to write data of this user data VI.

    However, when I run with 'Performance to highlight', I get an error. Anyone know what could be the problem or how to fix?

    Thank you

    William

    Hehe, now that I have started working on it. I have the problem that you have highlighted.

    I changed my program leaving the VISA section find resource as a stand-alone section then made a structure for the part of the measure of the event.

  • Why elements 14.0 crash without error message just after the start?

    Hello

    I use Photoshop elements on Windows 10 14.0.

    It worked well until two weeks or more.

    What is happening now:

    (1) I have the program launcher

    (2) I see the Welcome screen, I chose organizing

    (3) I see the splash screen for Organizer,

    (4) I can't see the launch of organizing,

    (5) just at the time when organizing screen finalise to appear, he disappears without error message.

    When I look in the Task Manager, I see an organizing process that is inactive. Sometimes if I wait, I managed to get to open correctly, but more often than otherwise.

    I tried to open it with the administrator, the same rights.

    I tried to reinstall twice, once with the removal of the preferences and it doesn't change anything.

    Someone has an idea?

    This could be due to the fact that I have installed Premiere Elements as well?

    Thanks in advance for your help and ideas.

    See you soon

    Please try the instructions mentioned in the article:

    Elements Organizer crashes at launch

    Thank you

    Blandine

  • HP Officejet Pro 8620 does not print, but the document is sent to the printer without error

    I bought a HP Officejet Pro 8620 and connect 2 computers via a wireless connection with the latest driver.
    In the first computer (windows 7) I can print without any problem
    On the second one (windows 8), when I try to print, I can see in the windows printer spooler file that I'm going to print. The file is sent to the printer, without error, BUT nothing happens.
    I already tried reinstalling the drivers, restart the computer, the printer. I tried to connect to a wired network. It still does not. It's very weird but I got no error, just does not print. I thought that the printer does not work, but on the second computer I can print.
    Thank you for your advice

    Hello

    Please download and run the HP print and Scan Doctor www.hp.com/go/tools

  • DAQmx write (digital) works in mode "highlight execution", and not in normal mode

    Hello!

    I would like to create a simple vi (it will work as a Subvi watchdog in a project) to send TTL 5V 0V 3 seconds 3 seconds, by performing an iteration in a loop.

    Use a card PCI-6703 to that effect (beside that I use for the generation of analog static waveform on several stations). I also have a DAQ USB6212 card, and I have test my digital output with this USB card digital input via MAX.

    The strange thing is that when I run my code in mode "highlight execution", I get what I want: 5V 3 seconds, 3 seconds, 0V, iteration.

    When I try to start it in 'normal' mode, I only see the 5V constantly from the output through my digital entry in MAX.

    I know I'm doing something wrong, but no idea what...

    Please find attached the vi simple.

    Thanks in advance!

    Kind regards

    Your overall loop time is 3 seconds (3000 MS of waiting).  You have a 3 second delay between writing the real and write the value false.  But as soon as the false is written, the loop reminds immediately (the second set of 3 waiting operates in parallel to the writing-Delay-Write sequence) so the real gets drafted immediately after the fake.  It will be just a blip.  So that if you run in the execution of climax, the code goes pretty slowly so that you see the Boolean value False as LabVIEW takes his time data flowing drawing wires.

    Put a delay function after your DAQmx write wrong, as well.

  • Get error "this application does not work without Google play services"...!

    Hello

    I use google maps in my application and be able to install the apk from file in the BB device. But after installation when launching the application, I get an error "this application does not work without Google play services.

    How can I get google game services to the BlackBerry device.

    Kind regards

    NGO.

    The BlackBerry Runtime for Android applications does not support Google Maps (or Google Services play). If your application uses Google Maps, there are two ways that you can support mapping in your application. One option is to replace the library card theGoogle with a WebView that integrates the web version of Google Maps.

    For more information on this process, see using a WebView to view Google Maps.

    Another option is to replace Google Maps with OpenStreetMap, which is a free card all over the world.

    For more information on this process, see Replace Google Maps with OpenStreetMap.

  • CS6 crash bridge I have cleared the cache etc but continues to work slowly then it crashes again.

    CS6 crash bridge I have cleared the cache etc but continues to work slowly then it crashes again.

    Hi neilm,.

    When you have disabled the cache, did you do via preferences > Cache Purge? Rarely, this method seems to work for everyone. It hasn't for me, because he never removes all hidden. But now press Cmd-Opt-Shift/Ctrl-Alt-Shift while launching Bridge and purge the cache and preferences will generally produce as clean a sweep as possible without going through the uninstall/reinstall bit. You need to configure your preferences for bridge all over again, but that shouldn't take too long.

    If this does not stop smash, return and let us know your OS is and what version of bridge that you use. CS6, but the numbers that you see when you click on the bridge.

  • I downloaded the last Adobe Flash - it is said to be successful but will not work. What he says "Manage plugins but the plugin says it is enabled, but it will not work." I have tried disabling and then enabling - without success.

    I downloaded the last Adobe Flash - it is said to be successful but will not work. What he says "Manage plugins but the plugin says it is enabled, but it will not work." I have tried disabling and then enabling - without success. Help, please!

    There are two different versions of Flash. ActiveX for IE version and the version of the Plugin for other browsers. Have you installed the correct version? This forum software is not thing that Flash is installed for Firefox or the Plugin is disabled.

    1. download the file of configuration Flash from here:

    Adobe Flash - Plugin version.

    Save it to your desktop.

    2. close Firefox using file > exit

    Then check the Task Manager > processes tab to make sure that firefox.exe is closed.

    {XP: Ctrl + Alt + Delete, Vista: Shift + Ctrl + ESC process tab =}

    3. then run the Flash configuration from your desktop file.

    4. run Firefox and test your installation here: https://www.adobe.com/software/flash/about/

    • On Vista and Windows 7, you may need to run the installer of plugin as administrator by starting the installation program via the context menu if you do not get a UAC prompt for permission to continue (that is to say that nothing seems to be happening).

    See this:

    http://vistasupport.MVPs.org/run_as_administrator.htm

  • WiFi, tries to connect but do not. No error. Work on other machines

    Yes I saw this sticky.

    1 5 PCs stopped connecting to the WiFi router. He had worked for a while. The SSID is listed as "automatic". Click on connect and it runs for minutes before stopping without error message. Nothing is displayed in the event viewer. Virus scan says own. I can run an Ethernet cable to it and it will work. It happened during a month. Because it is used occasionally by a 9 year old child I let go. Another computer is now too from Saturday. We ran on the second PC Ethernet cable and it will work. Recently the 9 year old had used this computer for school work. His computer (a 1st) worked very well until some time after starting his homework on it. Of course, it could be something else. It is now two machines not connect is not without error. Could be related to something he does inadvertently.

    Any ideas on troubleshooting?

    Once you connect to a wireless network, the connection details are often recorded as a 'profile' in your wireless network application and re-used the next time the wireless network is met.  If this profile has been changed somehow, the default information collected may not be sufficient to authenticate on the subject at a later date.

    Look in your system tray for your wireless internet application, double-click on it or otherwise run it on the screen.  Find a 'Profiles' button and open the window profiles.  Then, remove all the profiles you see here such that it is no longer a story for a connection attempt.  At a minimum, remove the profile that is associated with the SSID that you are trying to connect to.  After that, try to re-scan and reconnect to your network.

    HTH,
    JW

Maybe you are looking for