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

Similar Messages

  • I want to save an image of the front panel, (with data), after every VI run

    When I try to copy the front panel (using a select all), and paist to paint, all the data in the graphs show up as they did after the last run, but the data in the charts dissapear. The chart itself is copied but the data is not. Any ideas on how to solve this?
    Thanks,
    Brian
    Attachments:
    Brians_graph_compilation2.vi ‏1363 KB

    This Knowledgebase also has some information on programatically saving VI images
    http://digital.ni.com/public.nsf/websearch/942DAA35C7B35616862565FE005F713F?OpenDocument
    (KB 197BB7VJ if the link doesn't work).
    Note that you don't have to put the code in the VI you are running in order to save it to a file, so you don't actually have to modify your VI. You can just run a seperate VI that uses the VI name from the first one (I've attached a VI which could either be run standalone or used as a SubVI, as well as an example of using it as a SubVI).
    If you don't want to do it programatically you could just hit the print screen button on your keyboard and then paste it into paint and crop off the extra windows stuff.
    Attachments:
    CreateVIJPEG.vi ‏34 KB
    ImageExample.vi ‏24 KB

  • 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

  • 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 to save the data that a user has written in a table (front panel) by using a "press button"?

    Hi,
    I have the following situation. I need to be able to save the data I write in a table (front panel) when desired.
    This allows me to modify, add new data, etc in the "Table" when wanted and to SAVE the latest information when wanted.
    I need to save all the table data by using ONLY one button.
    Thanks for the help!
    Kind regards,
    Amaloa S.

    Hi,
    Thanks for the feedback. :-)
    Your answered helped.
    In this case I need to save the Data into an ARRAY.
    Now I have the following issue. I will try to explain:
    Suppose that I have following:
    1. Several GROUPS of Data like this:
        ER-1234
        ER-3245
        ER-4786
        ER-9080
    2. Each GROUP has the following ELEMENTS:
        A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
       So it would be like
        ER-1234: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-3245: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-4786: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
        ER-9080: A, Bi, Pb, Sn, Sn, Cr, Ni, Ca, ...., Al
     3. An each ELEMENT has DATA that I need to save, BUT! that I need to be able to get by specifying the group and the element.
        A:
             2,3   2,4    2, 8,   2,8 
             2,2   2,3    2, 7,   2,6
             2,1   2,6    2, 6,   2,7 
             2,5   2,4    2, 5,   2,3
    How can I save the ELEMENT "A" Data with the label of the GROUP and the ELEMENT so that I can recongnize it when I need to get the DATA again?
    Thanks for the help!
    Best regards,
    Amaloa.

  • How to save settings in the front panel to different files and retrieve it later?

    How to save the front-panel controllers' settings to different files and retrieve it later?
    What I've archived is the "Save Settings" function, but when trying to "Reload Settings", I can only retrieve the saved data to front-panel indicators, but not the controllers!
    Can anybody give me some advises?
    Thanks in advanced!
    Charles Lu

    Hi
    Just write the retrieved data to a local variable (but make it writable first) or property node of the controls.
    Hope this helps.
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Save a front panel image problem

    Hi, i'm trying to save at run-time an image of my front panel, and the little code with the Invoke Node (FP.GetImage) works well but there is a problem, i have a background image for my front panel and this image don't show up in the image saved so i have an image with controls and graphs but a blank background. Is there some way to obtain an image of my ENTIRE front panel? Thanks

    Hi,
    Here's how I got ride of tghis issue, I use Windows "printscreen" function by simulating a keyboard stroke and then I get the data from clipboard (crop it it necessary) and save the image.
    What I like about it is that the "crop" makes it easy to get just what I want when there's more than one monitor.
    What I don't like is that it's a windows only solution.
    Hope it helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Save Part of Front Panel as picture - sharing VI and asking for advices

    Hi,
    I use LabVIEW 8.2.1. (DSC&RT),
    It is common (at my work) that we want to save some parts of the Front Panel and to add it to the LogBook.
    we usually do PrintScreen and then cut the picture to the boundaries we want using 'Paint'.
    I have created a simple procedure that makes it easier and the user can now select the boundaries of the picture at the Front Panel.
    You can see the 2 VI's attached, (try2.vi is a sub vi of try.vi)
    Open 'try.vi' and press 'select boundaries' button and drag the boudaries with your mouse,
    after you have selected the boudaries, press 'save picture' button.
    I hope there are no bugs.
    Originally I have wanted to use drag and drop, but i didn't really understand what is going on behind the scenes
    when I used it.
    For example - look at the example (at NI Example Finder at LabVIEW) 'Drag and Drop - Multiple Data Types to Start Drag.vi'
    (C:\Program Files\National Instruments\LabVIEW 8.2\examples\general\dragdrop\Drag and Drop - Multiple Data Types to Start Drag.vi)
    (or via typing 'drop' in at the NI Example Finder search)
    1. I don't understand how the 'Drag and Drop Data' (located at the Application Control Palette)
    2. I don't understand the inside terminals of the Event Structure of 'Drag Enter' and 'Drop' -
        for example - 'available data names' and 'accepted?'
       where can I get information help written about any of the Event Structure inside terminals?
       (it does not appear in the Context Help when I enter with the mouse)
    3. Do you have any comments on the VI  I did ?
    4.I am planning to use this VI as a part of Log-In data to a follow-up LogBook Using Mysql as Database and NI sql connectivity toolkit,
       so users will be able to insert information to the LogBook from the Front Panel, and attach pictures of the Front Panel.
      Did anyone here has performed anything similar ?
    If you send me corrections of someting or any other NI item, please send it in a version that I can see it (I use Labview 8.2.1 DSC&RT)
    Sincerely Yours,
    Amitai Abramson.
    Attachments:
    try.vi ‏67 KB
    try2.vi ‏23 KB

    There are examples that come with the database connectivity toolkit so you are going to have to be more specific about your question. Whether you call it a logbook or something else, it's still a database and a database write is a pretty generic opertation. If you need help in the design of the database, then you should say that is what you need.
    The event data is going to change depending on the event and the type of control. Again, do you have a specific question?

  • Front Panel values lost upon save

    I am just taking my first steps with Labview. I have created a couple of VIs and have managed to get I2C communication happening through a third party DAQ box. The problem I am having is fairly simple, I am trying to save VIs but they are not retaining the values I have entered in the Front Panel.
    I have a top level VI and a couple of subVIs that contain lower level functionality for sending I2C messages. The top level VI has a couple of value controls that let me enter device addresses, etc. It also has groups of toggle switches that I am using to set bits that I later combine into bytes of data that I can send.
    But whenever I save a VI the front panel settings are defaulting to some other value. I dont understand it, I just want the value box to hold the number I entered. And more importantly in this case I need the array of toggle switches to stay where I set them so when I run it again the same bytes are transmitted. But each time I open the VI, the toggle switches are all greyed out and set to 0.
    Is this normal? How do I get controls to retain there values? Is there a design reason they do not?
    Thanks for any advice.
    Solved!
    Go to Solution.

    You may also consider initializing these values from a file. There are lots of posts which go into details about how you can do this. This is a much more flexible and maintainable approach then relying on the default value of a control.
    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

  • I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadshee​t. Any ideas?

    I've got the labview vi written to read my IMU data from a serial port in COM1 and it displays onto the table on the front panel. I'm having trouble getting this data onto an excel spreadsheet. Any ideas? Right now my data will collect one reading instead of continuously reading my IMU which displays data in a continuous stream.
    Thanks
    Attachments:
    Read_IMU_Drew.vi ‏21 KB

    Hi
    Your vi is in 2009 version, which i am unable to open in 8.6
    However, if you want your data to be saved in excel sheet, here is the VI
    Somil Gautam
    Think Weird
    Attachments:
    save to excel.vi ‏12 KB

  • How to Save & reload front panel position

    I would like to save the front panel position into an ini file or registry, so that the next time the program is used, it comes up where the user left it.
    With the Invode Method: Front Panel.Run-Time postition.Get positon  
    I can get all the position data I want:
    left-top
    state
    monitor
    However...  How do I set the same information at startup?   
    There's no  Front Panel.Run-Time Position.Set position. as far as I can see...
    To set position, state and monitor values, it seems I need to first call  FP.Open for the state, then FP.Run-Time Position.Centered to select the monitor, and then FP.Run-Time Position.Custom to set the position....   
    That looks weird and complicated...    Am I missing something here?   Is there a more elegant approach?

    NI explains the difference between Property nodes and Invoke nodes as this.
    Property nodes access the properties of an object and allow you to read/write those properties.
    Invoke nodes perform actions on an application or VI allowing you to get and sometimes set attributes of those actions.
    Sometimes there is some overlap between Properties and Methods as you noticed with the "Get Position" method and the "Panel.Position" property. But most of the Methods do not have a similar Property. For instance, there is a Method you can use on a front panel item called "Get Image". This will return image data about the item that will let you save the items current visual appearance to a graphics file. (.bmp, .png, .jpg) There is no equivalent property to do this.
    So it really depends on what you are trying to do as to which one you end up using.
    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.

  • Hi,why I have a "DMA hardware error detected" when I try to save file as *.htm for remote front panel application?

    Hi,
    I try to learn how to present my data anywhere by using labview remote front panels. I use PCI-mio-16E-4 device to acquire data. After I start web server and try to save to as *.htm file, I got the "DMA hardware error detected" message. Can anyone help me to solve the problem. Thanks.

    What was the actual error code?
    Copyright © 2004-2015 Christopher G. Relf. Some Rights Reserved. This posting is licensed under a Creative Commons Attribution 2.5 License.

  • I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?

    I have a VI and an attched .txt data file. Now I want to read the data from the .txt file and display it as an array in the front panel. But the result is not right. Any help?
    Attachments:
    try2.txt ‏2 KB
    read_array.vi ‏21 KB

    The problem is in the delimiters in your text file. By default, Read From Spreadsheet File.vi expects a tab delimited file. You can specify a delimiter (like a space), but Read From Spreadsheet File.vi has a problem with repeated delimiters: if you specify a single space as a delimiter and Read From Spreadsheet File.vi finds two spaces back-to-back, it stops reading that line. Your file (as I got it from your earlier post) is delimited by 4 spaces.
    Here are some of your choices to fix your problem.
    1. Change the source file to a tab delimited file. Your VI will then run as is.
    2. Change the source file to be delimited by a single space (rather than 4), then wire a string constant containing one space to the delimiter input of Read From Spreadsheet File.vi.
    3. Wire a string constant containing 4 spaces to the delimiter input of Read From Spreadsheet File.vi. Then your text file will run as is.
    Depending on where your text file comes from (see more comments below), I'd vote for choice 1: a tab delimited text file. It's the most common text output of spreadsheet programs.
    Comments for choices 1 and 2: Where does the text file come from? Is it automatically generated or manually generated? Will it be generated multiple times or just once? If it's manually generated or generated just once, you can use any text editor to change 4 spaces to a tab or to a single space. Note: if you want to change it to a tab delimited file, you can't enter a tab directly into a box in the search & replace dialog of many programs like notepad, but you can do a cut and paste. Before you start your search and replace (just in the text window of the editor), press tab. A tab character will be entered. Press Shift-LeftArrow (not Backspace) to highlight the tab character. Press Ctrl-X to cut the tab character. Start your search and replace (Ctrl-H in notepad in Windows 2000). Click into the Find What box. Enter four spaces. Click into the Replace With box. Press Ctrl-V to paste the tab character. And another thing: older versions of notepad don't have search and replace. Use any editor or word processor that does.

  • How can I display only the Data Logging pull down menu on my LV front panel?

    Is it possible to hide all unused pull down menu on my front panel vi like File, Edit, View etc.. and only
    display the pull down menu for the Data logging?!
    best regards
                          Norick

    Hey,
    You can build your own runtime menu (Edit>runtime menu) and then e.g. only display the application items you want to.
    Christian

  • Is there a way to create a button on the front panel that would automatically open the txt file data is being stored to?

    I am saving data read from FieldPoint to a .txt file. Is there a way to create a button on the front panel so that when the user pushes this button it automatically opens the .txt folder in notepad? I want to bypass the user having to find the file in the computer in order to open it.

    Hi jem,
    I suggest that you break this up into three seperate questions and re-post to this list. That way you get more ideas from others that may have better insites than myself.
    Re:the sysexec
    The Sysexec will allow you to execute a dos command. This is the equivalent of going to
    Start>>>Run
    What you should do is find the proper DOS command sysntax that is required to open a text file in notepad or your favorite editor. Once you know what a good DOS command is, you should pass that string to the Sysexec.VI. The Sysexec has an input that allows you to choose if the code waits for the command to complete or if it should just start the program and let it run in the background. Sysexec will open its own window to run the command you speci
    fiy.
    Ben
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • New system with Neo4 Platinum doesn't work at all!!!

    Hi guys, I bought my new system: 1 - AMD Athlon 64 3200+ Core Venice 2 - MSI K8N Neo4 Platinum /BIOS 1.1 3 - RAM S3+ 1GB (2x512 MB) 4 - Western Digital Caviar SE 120 GB SATA WD1200JD 5 - Hitachi Deskstar 80 GB SATA II HDS728080PLA380 6 - NEC 3500AG D

  • Adobe Form Layout is not loading from webdynpro abap

    Hi Experts, I am creating adobe forms using webdynpro.If i double click on the adobe form name from UI element properties,i am getting an error: 'Error while opening document' Also in diagnosis it is written as: 'An error occured in the desktop appli

  • Skype won't install (WIndows)

    I have used Skype many times in the past on other computers. Today I downloaded the install and have been trying to install it on a different home PC and it will not install. Every time, the install module launches no problem, the install starts, the

  • Microsoft outlook connection with 4.6C

    Dear All, Does anyone has a step by step procedure guide on " How to connect SAP 4.6C with Microsoft Outlook" for sending and receiving emails. I have done it with ECC6 but for 4.6C is very different. Regards Farooq

  • HT1918 how can i delete my billing payment

    I want to delete my billing payment and have been unable..how do i do it