LabVIEW exits while editing block diagram unexpectantly

Hi all, while editing block diagram in LabVIEW 2010, I have experience some strange behaviour from the software. I have two monitors, one has the front panel of main VI and the other - block digram of the specifed VI. When I switch from block diagram to front panel, and vice versa, every now and then the LabVIEW exits unexpectantly without the notice. Upon restarting the program again I get the undo.cpp error. I have attached the error log for my clarification on the type error that I am dealing with. Does anyone have any ideas why this is occuring? Thanks in advance for your help.
Viktar
Attachments:
lvlog2010-09-17-09-35-46.txt ‏2 KB

Thanks for all the responses. 
I was using an existing VI as template to create a new program.  There were nested loops in the original program and I needed the logic for the outter loops only for the new program.  After deleting many objects in the 'yes' case in the inner loop, I was left with many loose wires in the 'no' case.  And that's when my problem started, when I was trying to delete them.  Yes, I tried rebooting my PC and that did not help.  The problem seemed to get progressively worse, as crashing started to happen even when I was only selecting a wire.  But somehow I was later able to select one wire, delete it, and did a save.  Then I went to the next wire, and so on.  My program is now cleaned up and I'm ready to go on.  I will experiment more when the problem returns. 
Thanks again.

Similar Messages

  • Frequent Crashes - Running, Exiting, While in Block Diagram...

    I am suffering from frequent crashes and lockups of LabVIEW 8.5 Base version. I have not been able to pin down the root as the occurances may happen when my program is running , or when I try to exit, or when working in a block diagram. It seems like it is more likely to occur in and around vi's created using the dll conversion wizard. The vi's are for the API for Silicon Labs CP210x USB to UART configuration. In my test the device powered on an off several times and so appears and disappears several times, and this gets repeated as new devices are tested.
    How do I track this down?
    How do I practice "safe" programming to avoid unexpected occurances that crash LabView?

    Hi MG,
    Are you using the Import Shared Library Utility from Tools >> Import >> Shared Library (.dll)?  This is a tool within LabVIEW that can be used to convert shared libraries to VIs.
    In response to your most recent question, by controlling or adding a timeout for the COM (USB) communication you would be able to stop a portion of the process or the entire VI. This is because when the timeout value is exceeded this initiates an error which will propagate to the subsequent code and prevent any further operations from executing.  In order to stop this error chain from continuing to the end of the code a General Error Handler VI can be used with the COM timeout error code wired to the 'exception code' terminal to ignore this error for future code execution.
    Hopefully, this is a possible solution for your application.  If you need any further clarification, please let me know.
    Jason W.
    National Instruments
    Applications Engineer

  • LabView Crashes When Editing Block Diagram

    When least expected and usually at the most inopportune times the LabView 8.6.1 development environment crashes when I am editing my block diagram. It usually happens when I am moving VI's or wires using the arrow keys. This has happened to me several times. Is anyone else having this problem? Is there a bug fix out there?   Attached are some of the windows error logs
    Attachments:
    lvlog06-17-09-11-01-33.txt ‏2 KB
    lvlog06-16-09-15-52-19.txt ‏9 KB
    lvlog06-15-09-13-53-20.txt ‏2 KB

    There is a known issue with LabVIEW running out of memory slots in it's image table
    http://zone.ni.com/devzone/cda/tut/p/id/7324#36543_by_category
    I have experienced this issue first hand and it does make LV very unstable with crashes at the most inopportune times.
    Try uninstalling those toolkits and drivers that you are not currently using. In my case 8.6.1 became completely stable after that.

  • LabView causes system to lock up when editing block diagram of large application

    I am attempting to go through a large application which was written for on a different machine with I/O attached. I am looking at it on a plain PC with no attached hardware. The application loads, I can get into the block diagram, but after viewing it for just a short time the display freezes (including the taskmanager), then the keyboard locks up. The only way out is to cycle the power on the PC. This is running W2K on a 550Mhz pentium III processor with 256MB RAM and a new installation of Win2K with all updates applied. This is with LabView 7.1. I can run smaller subvi's with no problem.
    I am new at LabView, so any help is appreciated.
    - George

    Hi George
    what kind of Hardware - IO do you use in the app? are there any DAQ-channel- or VISA-Connection-constants in your diagramm? maybe the problem is not the size of your code but the missing hardware...
    best regards
    chris
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Can't edit block diagram.

    I had been running TestStand and had finished the test and stopped TS. I needed to edit a subVI, one that is several layers deep in the calling sequence. When I try to edit it the white hand appears and I cannot make changes. So I close all sequence files as that usually frees the VI. No good. Close TS, no good. Close the VI and re-open it and still the White Hand of Saruman thwarts me. I tried to close LV and finally had to use Task Manager to kill it. Why does this happen and what should I do different to avoid it? Using version 9.0.1.
    Thanks,
    jvh

    tbob,
    since he said that he closed TS, i doubt that this is the solution. Nevertheless, it is a valid point (and good one to know for everyone working with TS) and the first one i thought of too.
    So either the OP encountered a bug (so question: how often did this occur?) which presumably was some kind of corruption occuring a single time it seems, or there has to be some other reasons.
    I had a similar issue the last couple of days where i wanted to edit a subVI of a X-control and it was not possible to do this until i unloaded the VI which used the X-control. And yes, a surely unlocked the X-control for editing before trying to edit that subVI.......
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • In block diagram connecting wire getting blur while saving the VI in LabVIEW 2009

    Hello,
    I am using Labview 2009, And while I am saving  a simple VI connecting wires are getting blurry. What could be the problem?? Is it affect my program while running?
    Solved!
    Go to Solution.

    Go into Tools>>Options, select the Block Diagram page and find the section called Constant Folding. If the CF for wires check box is checked, then this is most likely the reason. You can uncheck the check box and it won't affect the way your code runs.
    If this isn't the case, you should upload an image of what it looks like.
    Try to take over the world!

  • The Block diagram that cannot be edited...

    The customer wanted to launch the application ( done in LV7 ) with a shortcut from the desktop and when done with it wanted to close all including the LV environment.
    So I made the following changes :
    1. Made the application to "Run on Open "
    2. Connected the while loop Stop button to the "EXIT" function.
    3. Saved and started the application.
    Presto!! All worked as expected. Except that I no longer was be able to Edit the block diagram !!
    Good - I had a copy of the code before the change and survived the nightmare ....
    So the moral : Be very clear of what you are doing before you use the EXIT function.
    Just though will share the experience, before somebody makes the fatal mistake as above.
    ( I have now ordered out my copy of the Application Builder, so that I can have my editable code well away from the customer's PC.)
    Raghunathan
    Raghunathan
    LV2012 to Automate Hydraulic Test rigs.

    Here's another way to do it.
    Create a directory in your LabVIEW x.x directory named 'wizard', and save the attached VI there. If LabVIEW is running, you'll need to restart it, but then in the 'File' menu, you'll have a new selection named "Supress Run on Open...". Select this and you'll get a browse dialog to select the VI to open. It opens it by reference so it will not run.
    This is saved in LabVIEW 6.1, but works fine on 7.0 and 7.1.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    Supress Run on Open.vi ‏18 KB

  • LabView applicatio​n hangs up when scrolling the block diagram

    Hi all.
    I attached you "Main.vi" that is part of my LabView project. I don't know what's going on, but when I scroll the block diagram to the maximum right, the LabView application hangs up. There are a lot of things in this block diagram because is an outline yet. My plan was to make it more structural, but now I can't do anything because this error don't allow me to edit the diagram.
    Please, try to open it (ignore all the dependencies) and check if it hangs up also in your computer.
    If it does, is there any way to recover it? It's really important for me because I don't have any backups since two weeks ago...
    Regards,
    Francisc
    Hi all.
    I attached you "Main.vi" that is part of my LabView project. I don't know what's going on, but when I scroll the block diagram to the maximum right, the LabView application hangs up. There are a lot of things in this block diagram because is an outline yet. My plan was to make it more structural, but now I can't do anything because this error don't allow me to edit the diagram.
    Please, try to open it (ignore all the dependencies) and check if it hangs up also in your computer.
    If it does, is there any way to recover it? It's really important for me because I don't have any backups since two weeks ago...
    Regards,
    Francisco
    Attachments:
    Main (v3.1).vi ‏257 KB

    It didn't hang up on my computer, but it did make me nauseous, luckily I keep a bucket by my desk.
    You might have video card issues. Try this: open the VI, and hit Auto Cleanup, then save. Close LabVIEW, reopen. If that does not work, try to get to the far right side by going to the Front Panel, and double clicking something that will take you there. If you get there successfully, use the disable structure to disable ~ 1/8 or more of the diagram on that side. Save, reopen.
    Richard

  • Can we design analog to digital signal conversion block diagram (ADC) in labview

    hi every one,i've doubt i.e can we convert function generator output (i.e analog signals) to digital signal in labview......can anyone help me how to create ADC circuit that means ADC Block Diagram in LABVIEW.....please give me solutions for my problem

    Hi guru,
    from signal generation VIs you get arrays containing float values (aka DBL). Those floats are just digital values made of 0s and 1s…
    Any value in your computer is digital!
    To provide a solution you need to rephrase your question! What exactly do you expect as result of your operation?
    Edit: kkkkkkk ur ckt ???
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Open Block Diagram After Deployment on a Non-LabVIEW PC

    Hello all,
    I have a application created in LabVIEW which will be deployed on a PC which does not have LabVIEW Development System installed in it, but only the RTE. With this application, I am also deploying the dependent VIs in a separate folder.
    My question is, is there any way we can open the BD of these dependent VIs in Highlight Execution mode on such PC with no LabVIEW Development System installed? I just want to view the BD of the VI in highlight execution mode, I don't want to edit/make any changes to the VI. Then obviously, we would be needing the LV development system.
    Since I've left block diagram (allow debugging) option enabled before deployment, I hope there must be some way we can acess the BD in highlight execution mode. I know that BD get image property works in PC with no LabVIEW Development system installed, so there must be some way or other to access the block diagram in highlight mode.
    Can anyone try to help in this?
    Thanks in advacne!
    -FraggerFox!
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"

    You can't do it on a PC without the development environment.  If you have debugging enable in the .exe, you can connect to it remotely over the network from a PC with the development environment to watch the execution.  Look for "remote panel connection" under the tools menu.

  • How to lock block diagram alone from editing leaving front panel for editing?

    i want to lock block diagram from editing but front panel can be edited for creating controls, moving controls editing properties...

    executables will be delivered to customer and they can create new vi and edit frontpanel and link tag through databinding. but i dont want them to open block diagram...
    Natasftw is right - you seem confused about the difference.
    If the customer can "create a new VI and edit frontpanel" then they have to have LabVIEW Development System.
    If you give them an EXE, and they don't have the DevSys, then they can use your VIs, but not edit them or look at the code.
    If they have the DevSys, then they can edit your VI and look at the code, UNLESS you protect it.
    If you save a VI with protection (VI PROPERTIES - PROTECTION ) then you can LOCK it (user has to explicitly unlock it with an extra step), or you can PASSWORD PROTECT it (user has to explicitly unlock it by giving a password).  Either way requires the DevSys.
    There is no situtation where one can edit the front panel without being able to edit the block diagram.
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks

  • Can we edit the icon that represents our XControl on the block diagram?

    I created an XControl in LabVIEW 8.5 (and 8.2.1), and I did add custom icons to all the typedefs and VIs associated with it.  However, when I drop it on the front panel, I get a generic-looking icon representation on the block diagram.  However, when I create a simple typedef and drop that on the front panel, I get the typedef's icon framed in the datatype-specific border on the block diagram.  Perhaps I missed something about how do edit that guy.  It's a minor issue, but I'm curious.
    Thanks,
    Dan Press
    PrimeTest Automation

    Right click the XControl itself in the project and select Properties. There you'll see an icon that can edit, which will show up on the XControl on a block diagram.
    ... Michael beat me to it!
    Message Edited by Jarrod S. on 08-17-2007 04:39 PM
    Jarrod S.
    National Instruments
    Attachments:
    Icon.PNG ‏2 KB

  • I want the Programmin​g pallet to appear whenever I right-clic​k while in the block diagram

    I want the Programming pallet to appear whenever I right-click while in the block diagram.  Right now I have to look at the Express dialog, arrow down and then click on Programming.  I want Programming to pop up first.  This has to be dirt simple but for some reason I'm not seeing the solution in Help.
    Solved!
    Go to Solution.

    go to tools...options...controls/functions palette...formatting
    Select "Icons only" and "category(standard)".
    Now right-click and pin the palette to get to the "customize" button. Select "Change visible palettes..." and click "select all".
    see if this is better. 
    LabVIEW Champion . Do more with less code and in less time .

  • Question about labview block diagram

    Hi all,
    I'm working on labview with fieldpoint modules. Why can't I connect the FieldPoint IO Point Constant directly to the FP Read (Polymorphic)? It says "I connected 2 terminals of different types". But somehow I found some manuals on NI which said these 2 items could actually be connected. I use Labview 7.1.
    Regards,
    Nicky
    Solved!
    Go to Solution.

    That Fieldpoint Icon looks different from the one I'm used to seeing.  Unfortunately, my PC that has 7.1 on it isn't running anymore, so I can't check that far back.
    The error tells you something about what it is looking for (cluster of 2 elements).  Turn on context help for the Fieldpoint function.  Delete the broken wire and right click on the connector input and select Create Constant.  With either of those, you should be able to find out some information as to what is required in that "cluster of 2 elements".
    Here is what mine looks like.  I am curious to know where you got your Fieldpoint function from.  Is it from an older version of LabVIEW than 7.1?
    What version of Windows are you using?  The font that is showing up on your block diagram looks oddly blocky.
    Message Edited by Ravens Fan on 05-10-2010 03:56 PM
    Attachments:
    Example_VI_BD.png ‏10 KB

  • Need to know how to print in one page a big block diagram from labview

    Hi!
    I wanted to know how i can print a program i made on labview. The problem is that the program is quite big and i need to print it in one page. Just the block diagram.
    Thanks!
    Meli

    Hello Meli,
    I know, normaly your VI should not be bigger as the window screnn.
    Anyway, you can use the "Print VI documentation" as explain in the following link and and choose the option "Scale block diagram to fit"
    link:
    Printing Documentation for VIs, Templates, and Objects
    Best regards,
    Nick_CH

Maybe you are looking for