LV 2009 SP1 corrupts front panel VI during 'save' operation

My best guess is that corruption happens during 'save' operation.
Steps:
1. Slightly modify vi.
2. Run it, then stop and exit with saving of changes. (Saving takes unusual big amount time and cpu/memory resources)
3. Try to open vi and get the message "LabVIEW:Generic error... error code 3:Could not load front panel."
4. Exit from LabView
5. Start LabView and got the message "The last time you ran LabVIEW, an internal error or crash occurred at loaddata.cpp, line 3070"
Tried to reinstall LabView but it didn't help.
Any advice?
Thanks,
Boris

There were a lot of things that you did not post so I skipped through them.
Did a diagram clean-up and saved without issue.
maybe you should duplicate what I did (load with sub-VI and X-Controls adn save) to see if it is still corrupted for you. If not start adding stuff back in until you find what causing the crash.
So no crash on my machine.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Use the Recycle Bin during Save Operations

    The other night I was working on a big image.  I had been saving it to my master .psd file, and right before I quit my Photoshop session I downsized the image and did a Save - As .jpg so I would have a draft copy.
    When I exited Photoshop it dutifully prompted me "The document has changed, do you want to save?" and I absent-mindedly clicked [ Yes ].  Oops!
    By virtue of the fact that I had saved the master file in several different folders, I did not lose all my work, even though my latest master file was overwritten with a small image.
    I believe that when Photoshop saves a file it actually writes a new file with a temporary name, then deletes the old file and renames the newly written file to the name of the old.  So I thought to myself, perhaps Photoshop used the Recycle Bin, and I can undelete the previous version...  But it wasn't there.
    If the deletion I mention above is actually happening...
    It would be great if Photoshop would to send files that are deleted during Save operations to the Windows Recyle Bin.  Then prior files could be available via undelete.
    I've also submitted this via the wish form.
    Thank you.
    -Noel

    Thank you, c., for the suggestion and offer to help.  I'm quite aware of making duplicate images, etc., to avoid what I boneheadedly did.  I actually have an action that does the job, though I've kind of stopped using it now that Photoshop can now Save-As a Copy directly to an 8 bit JPEG from a 16 bit document.  Perhaps I should resurrect it.  I rarely make this kind of mistake, but it was late and I was tired.  My practice of changing folders for my final sprint to the finish line saved me in this case, as I had only done one or two small things that needed redoing.
    But it would have been nice to find the previous version of the file all nestled and waiting for me in the Recycle Bin. 
    -Noel

  • How to keep a "front panel" open during another sequence?

    Hello everybody,
    I'm new on the TestStand forum and I have a question for my project.
    I need to make a test sequence with several sub-steps: Barcode reading, Data reading, Data analysis etc... and all these steps in a "For" or "Do... while" loop under TestStand.
    Before doing the loop, I want to create a "global HMI" step using labview, with on the front panel, the status of each sub-steps. I need to update the status of each sub-step after their execution. 
    The sequence TS is:
    Step Action Labview: HMI.vi (display front panel when calling vi)
    Loop for
    Barcode reading
    Data reading
    Data analysis...
    That's why I need to keep the front panel of "HMI.vi" always open to updated /display the status of each sub-step. (something like colors of a LED). I doner 't want to call the HMI.vi after each sub-step.
    I understood it's a multi-threading process and the reference of HMI.vi should always be active during all the "for loop", but I don't how to keepthe reference.
    Could you please kindly show me how to do it under TestStand (verstion 4.1) with LV (7.1).
    Many thanks in advance, 

    Hi zuzu,
    A UIMessage is typically used as a method to alert and pass information from your sequence or code modules to the User Interface. 
    For a good discussion on this, refer to the section titled "Communication from the Test to the User Interface" here:
    Developer Zone Tutorial: Best Practices for NI TestStand User Interface Development
    However, you can register a callback to listen for these UIMessages in other parts of your code besides the UI as well. That's what we are doing in this case with the floating panel.
    So basically, in your "Update HMI" step, you would post a UIMessage using RunState.Thread.PostUIMessage.
    This posts the UIMessage, and you can pass whatever value you want from  the "Update HMI" step to the HMI.vi.
    For information on the function call, refer to:
    NI TestStand Help: Thread.PostUIMessage
    In this case, we are sending a UIMessage with message code 10200, along with 2 pieces of data, Locals.Progress (a numeric) and "TestProcedure" (a string).
    Typically, you can pass a Number, a String, a Boolean and a Variant with each UI Message. If you need to send multiple pieces of data of the same type (your second question), then you should bundle them together into an array or cluster (container) and pass it via the ActiveX parameter.
    See the following forum posts for more details:
    reference a numeric array in PostUIMessageEX
    HOW To pass more than one numeric data with ActiveX postUIMessage
    Jervin Justin
    NI TestStand Product Manager

  • Front panel entry data save

    Dear All:
                   I modified the data like the sampling rate from 1000Hz to 100Hz in front panel and save the vi with normal "save" function . It defulted to be 1000Hz when the vi was restarted. What is the proper way to save the entry data in the front panel? Comments will be greatly appreciated!
    zibin

    Hi zibin,
    If you're only concerned about that particular control, you can right-click on it and choose "Make Current Value Default" before saving your VI.  If you want to preserve every value on your front panel, go to the Edit menu and choose "Make Current Values Default" before saving your VI.  With both of these methods, the "new" default value is the one that will be displayed the next time you open the VI.
    Hope this helps,
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How to show the front panel when launching VI with Call by reference node??

    Hello!
    I just wonder how I make the front panel visible during execution when I launch the VI with CALL BY REFERENCE NODE.
    Se example.
    Could u also show me how to change different properties (window size ..) of the front panel??? (launched with CALL BY REFERENCE NODE)
    Thank you!
    Attachments:
    test.vi ‏18 KB

    In VI Properties>>Window Apperance>>Customize you can check "Show front panel when called". This will open the front panel on each call. It doesn't matter how the call was initiated.
    You can set a lot of Front panel properties during runtime. Place a Property Node in the block diagram. Change the class from App to VI. Under properties select Front Panel window>>Panel bounds to set the position and size of the front panel.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • Close top vi front panel while sub vi front panel run

    Hello,
    I'm writing wiring a program and  have several (several several several .. ) VI which launches Sub-VI with their front panel.
    During there Sub VI, the Front Panel of the Top-VI get bored behind...
    Is it possible to Hide this Front Panel while the sub-VI is running.
    Thanks
    Solved!
    Go to Solution.

    Sorry for this post, i didn't read every replies of the folowing topic :
    http://forums.ni.com/t5/LabVIEW/closing-front-panel/m-p/300115
    The VI of falkpl :HideFPvi.vi 24 KB is a very good method for my VI.
    Sorry again, hope this'll help someone

  • Load error code 3 unable to load front panel

    Hi all,
    Wrote a vi in 8.6 and saved it for 8.5 for collaborators. When they run it up pops the error code 3 unable to load front panel. Memory full. see attached picture.
    Has anyone any suggestions as to how to fix this?
    Regards,
    leeser
    Attachments:
    labview error code 3.png ‏51 KB

    Hi guys,
    Thanks for the comments,
    Attached is the code (zipped). Excuse the bulkiness of the block diagrams. It basically controls a rotation stage and makes an avi at specific times/angles. The motor stage is ActiveX controlled.
    As I don't have access to the hardware I am writing semi-blind. However, when I did visit them and had a quick look at the code I could get it to work by quickly including the subvis into a new main vi and obviously compiling it in 8.5. (may be onto something here!)
    Different versions of the labVIEW -> doing a group a favour; I have v8.6 they have v8.5, wrote it in v8.6 saved it for v8.5. I don't have v 8.5. I also have v 8.2.1 on a different machine. Saved it for v8.2.1 and it opened no problem in 8.2.1. Will send this version on and see how they get on. More likely to be forward compatible???
     I agree that the optimal situation is 1) use the same version of labview and/or
    2) they get someone to do their coding on-site!!!!
    I think the corrupt front panel object could be true given that I could get it to work when the subvis were included in a new main vi on-site.
    so versions 8.6, 8.5 and 8.2 attached.....
    regards,
    Leeser
    Attachments:
    rotation_control.zip ‏178 KB
    rotation_control_v8.6.zip ‏60 KB
    NCLA_rot_usb_v8.5 Folder.zip ‏141 KB

  • Different Front Panels on 3 different screens, same data collection

    Hi
    I'm having an issue on where to even begin with this problem. I would consider myself a novice-intermediate LabVIEW user.
    I'm going to be doing some testing at a facility I work at. We need three different front panels running during the testing one in the DAQ room, one in the firefighter tech room, and one in the viewing room. The issue I need help resolving (I don't even know where to begin and have looked everywhere) is how can I show three different front panels on three different screens. We have a lot of equipment going into the system, but I only want to produce temperatures on some, gas analyzers on some, and a red LED in the fire tech and control room (not in the viewing room we don't want to scare people if something goes wrong!). I have these set up just fine and they are working based on the thermocouples I have tested.
    I need to be sure the control room can read all of the data coming in, even if it isn't displayed on the screen, and the 3 different front panels are required. How can I do this without having to run 3 instances of LabVIEW? Is there a way I can use S-Video or something, or incorporate subVis to show up on a screen somehow?
    We are hooking up to a FieldPoint system as well if that helps. Im using LabView 8.6.
    I'm not going to attach the code because it's working, I just need to know how to integrate the three together.
    Any help would be greatly appreciated. Thanks so much!
    Tanya
    Solved!
    Go to Solution.

    _Bryan wrote:
    I have no idea on the video.  But LabVIEW has a built in web server where you can view vi's through a web browser.
    Here are a few links, also do a search and see if it might work.
    http://sine.ni.com/nips/cds/view/p/lang/en/nid/110​17
    http://decibel.ni.com/content/docs/DOC-5776
    http://digital.ni.com/public.nsf/allkb/7B5D6CC1CBC​E32C98625716C00828BF4
    Bryan's idea and links should be your first approach.
    If that does not work for you let us know why and we'll gofrom there.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Saving Image of front panel in an application

    See attached image.
    Using my source code, I can save the image of the front panel with no problem. However, when i build an application and run this, the image of the front panel does not save. Can anyone help?
    Attachments:
    Save Image of Front Panel.JPG ‏19 KB

    This piece of code does the trick, don't mind the wiring.
    André
    Message Edited by andre.buurman@carya on 09-17-2007 05:39 PM
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
    Attachments:
    Top level dir.PNG ‏10 KB

  • How does one empty an array during runtime with a front panel switch

    I can 'empty array' from the front panel during runtime but I want to empty all arrays (20) from my vi with a front panel switch (see screenshot). I have used replace array subset and reshape array with no success. Any help would be appreciated
    Attachments:
    TempScan_screenshot.JPG ‏26 KB

    Hmm... You can empty an array by reshaping it or by assigning a constant empty array - using local variables or properies of the original control (see attached example... hmmm... not the best one ). May be you can attach a part of your code to see what is better to do in the given case.
    Attachments:
    reset_table.vi ‏20 KB

  • Are there any disadvantages to writing data to front panel indicators when the vi's panel is not shown during execution?

    Hi,
    In the case where a sub vi's panel is not shown during execution, does it matter if I include front panel indicators on the sub vi's panel? (these indicators were there for debugging purposes). Is there any performance penalty for this? Thanks!

    If the frontpanel is not loaded it has no time penalties. But a frontpanel is sometimes loaded because of property nodes!
    greetings from the Netherlands

  • TDMS File Corrupts on Close in LV 2009 SP1

    I have an application that logs data to a TDMS 2.0 file, LV 2009 SP1, Windows 7 x32.
    Initially, I set it up so that the app opens one R/W reference to the file.  The state machine program writes data to the file in one step, then reads back the last 1000 points in another.  The logging is slow, roughly 1Hz.  There is no possibility of concurrent Reads and Writes.
    When the program closes, I call the TDMS CLOSE method.
    When I restart and try to read the data, I get error -2511/0xFFFFF631 "LabVIEW:  The specified TDMS file is corrupt."  Every time.
    When I try and open the file in the TDMS viewer, the viewer shows the wrong number of samples in the properties, then shows no data at all (I assume it's eating the error, since it does not present it to me).
    I have tried:
    1) commenting out the code that reads.  No good.
    2) Opening a separate reference each time I wish to make a read.  Nope.
    3) Buffer On/Off
    4) Flushing
    5) Deleting the index and trying again.
    6) Removing the CLOSE function
    7) Killing the app instead of gracefully closing
    8) Changing the filename/path
    9) Writing to an SSD disk
    10) Writing to a SATA disk.
    None of that works.  Essentially, the TDMS file is fine until it is closed.  Then it is corrupt.
    Any ideas?

    Hi Jed,
    I have a couple of questions:
    Have you tried with the latest TDMS component? It's free to download, and here it is: http://zone.ni.com/devzone/cda/tut/p/id/9995
    Is that possible or convenient for you to post your reproducible VI here, it would be great helpful for us to look into?
    I have made a very simple VI for recovery corrupted TDMS files, attached in this post, maybe you can have a try, but please backup your file before trying.
    Attachments:
    RecoveryTDMSFile.vi ‏17 KB

  • Any LabVIEW 2009 Front Panel Gage displayed as Continuous 360 deg circle?

    Any LabVIEW 2009 Front Panel Gage displayed as Continuous 360 deg circle? I want to display a Motor position on the LabVIEW Front Panel as 360 degree circle. Is there any way to make the gage display as a continous 360 deg circle?
    Solved!
    Go to Solution.

    dbaechtel wrote:
    The knobs, gages and dials, none of them seem to be designed for 360 degree continuous operation. Of course I can set the scale for 0 to 360, but I can not get rid of the gap between 0 and 360.
    How do I set up a gage to display a Continuous 360 degrees without a gap between 0 and 360?
    To change the gap, grab the high marker line and move it to the desired place (To change the origin, grab the low marker).
    Also, don't forget to wrap the raw data into the 0..360 range if it falls outside. Here's a quick example (LabVIEW 8.0).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    360degreeGauge.vi ‏9 KB

  • How to remove sub panel scrollbars with LabVIEW 2009-SP1?

    I did a search and found this thread on the subject: http://forums.ni.com/t5/LabVIEW/subpanel-scollbars-in-labview-8-0/m-p/284503/highlight/false#M149983
    I double checked that that the horizontal and vertical scrollbars were not selected in the Customize Window Appearance and they were not selected as shown in the image below.  You can see the nasty scrollbars in the front panel in the image at the bottom.  Of couse, since the code / sw cannot be shown, it has been painted over but you can still see the scrollbars along the frame of the sub-panel.
    Customized Window Appearance settings:
    Scrollbars are seen at the bottom & right of the sub panel frame
    Solved!
    Go to Solution.
    Attachments:
    WIndowAppearance.PNG ‏22 KB
    scrollbars.PNG ‏33 KB

    Just ran into this myself.  (To complicate matters, forgot that one of my debug tools turns the scroll bars back on upon program exit.)  "Off While Running" works, too.  You can insert this code onto the diagram of any VI that will be called in a subpanel.
    Thanks for the tip.
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • LabVIEW ARM break after update Front Panel during debug

    I try to debug the vi by Ulink, the vi just show the LED blinking for 500ms on/off with while infinity loop, after click run button the loop continue working about 5 second and then break button actived with front panel update. Is this normal working?
    Thank you

    After I click Run button on the toolbar the vi start ranning, the LED blinking show on the hardware but not update to the vi front panel, around 3 second the vi stop (like a we click on Pause button on toolbar) and update the status LED to front panel.
    I used ULINK1 for this example, I don't know this cause of the problem or not.
    Thank you.
    Attachments:
    vi_stop.JPG ‏25 KB

Maybe you are looking for

  • Calculating HASH values with WCCP

    Ok, I'm just not getting the HASH calculations.  Can somebody please explain how the HASH values translate into subnets? Thanks, Patrick

  • Weird Error With  Firefox

    Every once in a while this message pops up. Any clue what it means?? JavaScript Application injectScriptWithPath: Type Error: can't access dead object

  • Aperture will not write over PSE metadata

    I switched over to Aperture3 when I got my Mac a few months ago.  Previously I was using Photoshop elements on my Dell.  When I use the "Write IPTC Metadata to Master" function, it works well for any new photos that did not previously have keywords s

  • Error updating version of itunes to 10 from version 8.

    I am getting the following error when I am trying to update to the latest version of itunes.   C:\config.msi\b0f264.rbf.   I am currently using vista. Thanks!

  • Fantastic O2 Customer Service O2 Cheapside

    Hello, I wanted to leave my feedback on a recent visit to your O2 branch in cheapside. Your staff made me a very happy customer! I'd like to compliment one of your employees, James for the excellent service he provided me last week. James helped me t