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...

Similar Messages

  • How to synchronize presentation on the front panel to the start of a 75Hz monitor's retrace cycle?

    How to synchronize front panel presentation with the start of a retrace cycle of a 75Hz Monitor, so when a bitmap is presented 100ms, its duration is indeed 100ms on the monitor?

    Hi,
    In the old days (late 90's), we used in port and out port to wait for
    vertical retraces (or even horizontal retraces).
    I searched the web (vertical retrace), and there seem to be lots of
    infromation and tools, like
    http://www.compuphase.com/vretrace.htm
    It uses a simple routine:
    mov dx, 3dah ; VGA input status register
    vretrace_loop:
    in al, dx
    test al, 8 ; bit 3 set?
    jz vretrace_loop ; no, continue waiting
    But to get it working, you need a VxD. Good news is you can download it.
    The also suggest you use WaitForVerticalBlank(), but dx could be hard to get
    working under LabVIEW.
    Please let us know how (and if) you got it working with LabVIEW!
    Regards,
    Wiebe.
    "Vinci HK" wrote in message
    news:[email protected]...
    > Hi Robert,
    > I am so excited to have received a response! Sorry that I didn't reply
    > earlier as I have been out of town. You are understanding the problem,
    > so good!
    >
    > I just want to know the exact duration a stimuli in the front panel is
    > presented. I can make it to last for 13 frames, but the problem is to
    > ask LabView to synchronize with the start of a frame.
    >
    > The crucial thing is that I want a trial of presenting 700ms blank
    > screen + 1300ms bitmap will add up to 2000ms on the front panel. And
    > in the next 2000ms, a different bitmap will be used for the 1300ms.
    > The start of a trial is initiated by a pulse from the parallel port. I
    > need the 2000ms on the front panel to be really 2000ms+/-5ms.
    >
    > My worry is that even if I buy the external clock and the RealTime
    > system of LabView, I won't be able to get the front panel to
    > synchronise with the refresh cycle of the monitor, so that the trial
    > length as it appears on the front panel is 2000ms +/- 5ms.
    >
    > What do u think?
    >
    > I am using LabView for my fMRI experiment, and I wonder if you know
    > anyone from the fMRI community who are using LabView for stimulus
    > presentation and synchronization with MRI data acquisition?
    >
    > Thanks,
    > Vinci

  • Should it take sooo long to install Flash on a new Mac book pro?  And should the CC panel say "syncing files" and look like it will never finish?

    I Have CC and it's taking so long to install on my new Mac book pro.  The CC panel also says its syncing files down at the bottom, it's so slow it looks like it will never finish.  Should it be taking this long?

    I had an issue where I had to wipe my mac as well. What you have to do to format the hard drive and reinstall is this:
    Restart the computer while holding down the option key. Choose the recovery disc. Find the main hard disc and hit format. Then you can reinstall Lion via the internet, it takes a while though, my computer took 5 hours or so.
    For your first question, if you got the family version of office, I believe you have 3 computers you can authorize it on. If you are not sure, look it up in the apple store.
    For the second: Time machine would probably be your best option, but I would reccomend restoring from a backup before you were having problems, and restore that one (put new files you need on another external or a digital-online storeage site such as dropbox.) To restore a backup, restart your computer and hold command+R and select "Restore from Time Machine Backup" (for more information go here: http://support.apple.com/kb/HT1427 )
    I don't believe tere is anything else you need to do, but I am new to macs, so I may not be the best source, but this is what I have found/have had to do.

  • Creating panels in different files and adding to main frame

    I'm trying to write panels in separate files so program is more modular and the files shorter. The panels don't appear in the main window at all. All I get appearing is the title bar. This is the basics of the code I've written:
    GuiMain.java
    // in main...
    guiFrame frame = new guiFrame();
    frame.setVisible(true);
    frame.pack();
    guiFrame.java
    // constructor calls method createFrame();
    // in createFrame()
    northP np = new northP();
    Container cp = this.getContentPane();
    cp.add(np, BorderLayout.NORTH);
    cp.setVisible(true);
    northP.java
    // extends Component
    // constructor calls method createContents()
    // in createContents()
    JPanel northP = new JPanel();
    // contains buttons and labels
    Any ideas much appreciated!!

    I should say that it's not possible for you to trap events from the first popup,and this depends on the basic concept of "popup panel".
    When you install a popup panel, all user interaction with existing panels is excluded: all focus it aimed at the popup only, no other user interface event is generated. If you launch another popup from the first one, the second popup prevails over the first one and no event can be generated on the first panel until the second one is closed.
    Handling a chain of two popup panels while looping on GetUserEvent can lead to unpredictable situation not so easy to untangle.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Need your help, How to write a program such as drag the objects to the front panel like using the LabVIEW Front Platte

    Dear all:
    Sorry for so long title.
    I need your help with how to drag the objects and drop onto the front panel.
    Like the LabVIEW front platte, i can choose the objects i can drop onto every where of the front panel.
    Could drag and drop function can satify?
    Any idea?
    Thank you
    Attachments:
    Image00000.jpg ‏75 KB

    What you want to do is relatively complicated and it seems that your knowledge of LabVIEW is relatively basic. I suggest you try searching this site and google for LabVIEW tutorials. Here, here, here, here, here and here are a few you can start with and here are some tutorial videos. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

  • Screen capture of the front panel automatically

    I've got a VI that analyzes a data file and outputs a graph, some numbers/notes, and a pass/fail message to the front panel each time we run it. I want to be able to automatically save all that data into one easy-to-access file (no html) after running it, and ideally this would be accomplished by just capturing the screen of the front panel and saving it as a .jpg.
    I've looked up how to do this on the forums and searching the web, but no solutions have come up. I've looked at the "Get Image" method, but that only lets me get the image of one object in the front panel, and not the entire front panel screen. I read something about referencing the front panel as an global, and inputting that into the "Get Image" method, but I can't get that to work and don't know if that's possible.
    Is there a way to make a straightforward automatic screen capture of the VI front panel? How can I program that?  (Manually using the "pinrt screen" function off the keyboard and copying and pasting it won't be feasible for this application).
    -- Thanks for the guidance

    No sure why you couldn't find a reference to it but there is the VI method Get Panel Image.
    Message Edited by Dennis Knutson on 03-16-2007 07:42 AM
    Attachments:
    Get Panel Image.PNG ‏4 KB

  • How can i open front panel of a vi and run it

    Hi
    I have a vi that i call multiple times from another vi, however i want it to open the front panel on some calls and not on others.  What is the best way to do this?
    I have come up with a way and was wondering if this method was okay or is there another method that might work better escepcially since i am eventually going to create an application out of it and hope that no problems pop up then
    Unititled 1 calls Untitled 2 where with one call it opens and runs Untitled 2 while with the other call it simply runs untitled 2.vi
    What I did was i changed untitled 2.vi window appearance to dialog but i deselected the show front panel when called, so by simply calling the subvi form untitled 1 it works.  Unititled 2 runs but does not open
    Now with another call i want to open and run untitled 2.vi so by looking the attached vi you can see what i have done
    Again if there is a better method that would make my vi's more efficient i would greatly appreciate it.
    Reza Sed
    Attachments:
    Untitled 1.vi ‏24 KB
    Untitled 2.vi ‏10 KB

    What you did, in theory, is the correct way to do it.  However, you should move the front panel open and close into Untitled2.vi and have a boolean input as to whether to show the front panel or not.  This way, your calling code is cleaner, and you don't have to reproduce the code everytime you want to call the subVI and show the panel.
    If you were to use Untitled2 in another project, then you woud have to go back and look how to implement the showing of the front panel in your other code.  If later, you were to decide you want that VI to be maximized, then you make one change in the VI, and not in every place you ever call it showing the front panel.

  • Embedding Macromedia Flash on the front panel?

    I'm new to the use of ActiveX controls. I was wondering if I am able to place a flash .swf file on the front panel of a VI and possibly have it play when a button is pressed?

    I'm also new to ActiveX controls, but you can download here at NI site an example of LabView ActiveX-based browser from here:
    LV Browser
    and supply to its address string a path to your flash movie - it will run in labview browser window. For me it was a good examle of code to start...

  • Adjust front panel to screen size and re-position objects on different systems automatically

    Hello, i have designed a vi that contains 5 led's placed at the 4 corners and center of the front panel which occupies the entire screen. However, this vi is to be used on different systems having different screen sizes. But on every screen, i'll need the front panel size = screen size and the led's to  be placed to the centers and corner of this new screen size automatically without any manual operations and positioning bieng done every time. Will the resize option perform this task completely or do i have to go for some other techniques?
    Solved!
    Go to Solution.

    As far as I know, what you want is not easy to do but it is doable but you have to programmatically do it (no Labview setting). Here is an example for only 2 LEDs but I suppose that you will be able to make it work for your other LEDs.
    This VI maximizes the front panel and then positions the 2 LEDs in the center and top right corner upon running. The LEDs are positioned according to their own top left  corners, not according to their centers.
    Marc Dubois
    HaroTek LLC
    www.harotek.com
    Attachments:
    Position LEDs.vi ‏14 KB

  • Hi. I want to build a GUI based on several windows appearing following a certain sequence. How can i create different windows in the same VI? Also, i want the front panel of a subvi to appear when i run, how can i enable this.Thanks

    Having several windows appear ...

    Hi,
    You can't create several windows for one VI. But you can use the "Tab Control" and change tab's in the program. Or you can use sub VI's and show ther front panels.
    To show the front panel of a sub VI you have to open the VI you want to show and select "File->VI Properties". In the VI Properties window select Category "Window Appearance" and click Customize...
    In the Customize Window Appearence window, here you can set a number of attributes for how the window will appear, select "Show front panel when called" and "Close afterwards if originally closed" click OK and OK and save the VI, done.
    Now the VI front panel will appear then you use it as a sub VI.
    /Thomas

  • 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

  • When the screen saver turns off my front panel does not refresh.

    when the screen saver turns off my front panel does not refresh. If I use the show desktop button sometimes I can not maximize my vi by just clicking on it from the start bar.

    I utilize both a screen saver and the show desktop feature but have never seen this problem in the past. You might play around with your screen saver settings to see if they have any affect. You might also try another computer just to make sure something larger scale isn't going on. Also, testing with other programs to make sure it isn't a general OS issue is always a good idea. Other possibilities include changing your Video Driver settings, updating your video driver, and uninstalling - reinstalling.

  • How do I center and/or maximize the front panel on every event?

    Hi,
    So basically I have a little issue with trying to maximize and then scale back a VI's front panel every time a user selects a different option from a ring control.
    So far i've been using the LVWINUTIL.LLB and the provided window size vi to set the size I want on ring selection change which works fine, but as far as centering the VI goes, the method I'm calling only works the first time. After it maximizes and I select a different option on my ring control which is linked to a case within a while loop it simply resizes to the size i set which is correct but when I got back to the ring case which is supposed to maximize the front panel again, it doesn't do it. Centralizing the FP also only works once.
    I'm  using FP.Run-Time Position.Centered to try and center the VI....only works once. I do understand that this might be the desired behavior since the name is run-time position meaning it'll only do this when the VI is first run, however I need this to happen more then once, how can i do this? Thanks...

    How did you center the FP?
    Their a method that should work time after time.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How can I simultaneously acquire and display an image on the front panel using a PCI-1424

    Dear friends;
    I want to use PCI-1424  , and labview 5.1 to capture the image,  But I can not find some functions in labview to capture, display and save the image.Can you be kind to share some examples or provide some information.
    Another question is how I CAN display the image in the front panel.
    thanks so much

    Hello yangshang,
    Thank you for contacting National Instruments!  To acquire images from the 1424 you will need NI IMAQ 2.5.1 or later.  This can be found HERE on our drivers download page.  One thing to note is that in LabVIEW 5 we only had the ability to view an IMAQ image as a pop up window.  This VI is called "IMAQ Windraw".  This will pop up a separate window that will display your picture.  If you need to view the picture on the front panel you can try saving the image as a file (BMP, JPG, etc) then use the LabVIEW Graphics and Sound VI's to Read a picture file in and then wire the picture to a picture control on the front panel.  Let me know if you have anymore questions.  Good Luck.
    Regards,
    Mark T
    Applications Engineer | National Instruments

  • How to resize the front panel to fit different resolutions

    I m using LabVIEW 8.2 on Windows XP SP2
    I've tried both “maintain proportions of window for different monitor resolutions” and “scale all objects on front panel as the window resizes” selected but just messed up everything when i switched to another different resolution. It's annoying since I'm using 22 inch monitor to do the coding but the user supposed to run it on laptop or wince.
    Any solutions to it?
    Thx in advance.

    Thank you all. Following is the reply from NI support.  I think the best way is to edit vi in low resolution.
    One of the easiest ways to tackle varying screen resolutions is to design
    the front panel to the lowest resolution that you expect it to run on. It
    should then look acceptable on any screen larger than that.
    However, you can get a bit more tricky by programmatically determining the
    computer's screen resolution and then dynamically changing the size of your
    front panel objects. Use an Application Property Node and select
    Display>>All Monitors to return the current screen size. Then, according to
    the screen size, you can size the control or indicator programmatically
    using the Size property node for your front panel objects.
    Ultimately, these issues have often been a result of font size issues.
    Specifically, this can be a problem when two machines have different
    desktop theme/font settings. If your objects are coming out in different
    sizes on different computers, you can setup up LabVIEW to use the same font
    on different systems by modifying the .INI file.
    The easiest way is to do this: use Tools->Options->Fonts from the LabVIEW
    GUI. You can then set the system fonts to anything you want. After you
    have done this on one machine, open your INI file (it is in the same
    directory as the LabVIEW executable) with any text editor and copy the
    corresponding entries to another file. Add these entries to the INI files
    on any machines you want to lock to font. You will probably run into
    issues if you are supporting different platforms (Windows and Mac or Mac
    and Linux, for example), since the fonts you want may not be available on
    both platforms. There are Windows fonts available for both Mac and Linux
    platforms, so this can be somewhat ameliorated.
    This is all I can think of, but that's not to say these are the only
    solutions. You might check the Discussion Forums, as many of our LabVIEW
    Champions have tackled similar issues and offer their expertise as well.
    Here's just a few threads that I'd like to refer you to:
    How to make the size of VI and controls unchanged irrespective of the
    resolution?
    http://forums.ni.com/ni/board/message?board.id=170&message.id=273613&requireLogin=False
    How to program the front panel size to fit different monitor resolution?
    http://forums.ni.com/ni/board/message?board.id=170&message.id=87160&requireLogin=False
    I hope this discussion helps you along the way in your application
    development. Please let me know if you have any further questions/comments
    and I would be happy to discuss them with you.
    Otherwise, it was a pleasure assisting you and thank you for choosing
    National Instruments.

Maybe you are looking for

  • Pulling information from an email and pasting it into the Subject line

    i have email requests coming in from project managers that are automatically created after they fill out a form. Outlook is set up with a rule on their machines to forward the request to my art dept. Problem is that the emails always have the name of

  • Can't find "Map as process incoming argument" functionality in BPM Studio

    All, ALBPM Studio 6.0.4 on Vista Home Premium and working through the tutorial. No issues until I tried to create the instance variable in Activity 3 of http://edocs.bea.com/albsi/docs60/pdf/ALBPM60_Tutorial.pdf Here is an extract of the step: 7. Sel

  • Portal 902. Uploaded document differs from downloaded document.

    We are currently trying to set-up a portlet, which would include items (documents, images etc.). The problem we faced in that process is related to portal's storing process. We uploaded a pdf-file (Java API Guide from otn.oracle.com) as a simple file

  • IE Transparency problem

    I'm having a problem getting PNG's to display their transparency in IE. I know this is a well known problem and there are a bunch of fixes available but I've tried several of them and none of them seem to exactly work. B/c I'm using my PNG in an imag

  • Private field in a stateless session EJB

    Hi guys, I have a question about the design of a stateless session EJB. I would like to know : Does it make sense to put a private field in a stateless session bean??? Imagine the following sitiation: I have a stateless session bean. Its job is to de