Loading control settings from a different VI?

This question is a bit difficult to explain, but I'll try.
I have a main program (main.vi), and a sub vi (setup.vi) that loads the front panel in order to do setup.  The setup.vi has the option to "save settings", in which it writes all of the controls to a .txt file.  When I click "done", the setup.vi builds a cluster with all of the parameters in order to easily pass all of the information in to main.vi.  
Now, when main.vi loads, I want it to be able to read the default setup from setup.vi, and build the same cluster from that data - and I am having a difficult time figuring out how to do it.  I have attached the sub-vis that setup.vi uses to both save and load the controls.  They are fairly simple.
Attachments:
LoadSetup.vi ‏12 KB

How about adding an boolean input 'silent default' to your setup.vi, that if true, just loads the default and doesn't need the user action?
Try to keep one action in only one vi. So if you need changes, there is only place to go  
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

Similar Messages

  • Can't load Network Settings from System Preferences

    For some reason I can't load Network Settings from System Preferences anymore - it just stalls with the bar showing "Loading Network" and doing nothing. This is happening in conjunction with a new inability to connect to a network printer - it won't show up on the list of printers, even when I manually enter the IP address. Something is obviously mucked up - can anyone tell me what it might be & how I can fix it? Thanks!

    I was able to fix this myself by using one of the techniques suggested here for a different problem. Basically I went into Library/Preferences/System Configuration and deleted networkinterfaces.plist, preferences.plist & com.apple.nat.plist. All were rebuilt when I restarted and went to System Preferences/Network and I was able to load the Network Settings. This didn't fix the problem with my printer, but at least it got the settings up.

  • How can I restore Parental Control Settings from Time Machine Backup?

    I was trying to adjust one of the parental controlled accounts for my child.  I disabled parental controls, rebooted, and re-enabled it.  Now all the settings that I had setup before are gone.  How can I restore Parental Control Settings from Time Machine Backup?

    Hi ...
    I've found a solution to my problem.
    Time Machine locates extenal HDD backups differently depending if they were done via a network or via a USB/FireWire/Thunderbolt connection.
    My initial backup was done via a direct Thunderbolt connection. I ran into the above issue b/c the second time when I tried looking for the backup file the HDD was conencted to my iMac and I was accessing it via a network conenction.
    I simply connected the drive directly to my MacBook pro and ... voila. I was able to see the backup, select the iPhoto library and begin the restore.
    Hope this helps.
    BTW - I found this out by reading the 'blue box' selection on this page: http://pondini.org/TM/E2.html
    (Thanks goes to Pondini!)

  • Is it possible to load an IPAD from two different ITune accounts?  When I try it says it'll delete all the other account first.

    Is it possible to load an IPAD from two different ITune accounts?  When I try it says it'll delete all the other account first.

    This is correct.
    Ipad wilol sync itunes content and pics with one and only one computer at a time.  Syncing to another will erase the current content.

  • Run multiple SQL*Loader control files from command prompt

    I have written control files for 15 different tables with specific data files for each table. I have build the control files using toad for each one of them at once. Now I want to run the sql loader for all the tables one time. I know I cannot run multiple files from toad and not sure If I can run from the command prompt.
    Please let me know If I can.

    skvaish1 wrote:
    Hi,
    On unix you can create a script to runn all sqlldr at once like as followes.
    1. Create a script load_sqlldr.sh with following content.
    export ORACLE_SID=<YOUR DB_SID>
    export ORACLE_HOME=<Your Oracle Home>
    export PATH=$ORACLE_HOME/bin:$PATH
    sqlldr (Full command with parameter for 1st table) &
    sqlldr (Full command with parameter for 2nd table) &
    sqlldr (Full command with parameter for 3rd table) &
    sqlldr (Full command with parameter for 4th table) &
    sqlldr (Full command with parameter for 15th table) &
    2. Then execute the script.
    Regards1. Can I also write script load_sqlldr.sh with following content
    sqlldr user/psswd@db_name control=controlfile1.ctl
    sqlldr user/psswd@db_name control=controlfile2.ctl
    sqlldr user/psswd@db_name control=controlfile3.ctl
    sqlldr user/psswd@db_name control=controlfile15.ctl
    2. Then execute the script.

  • Path Problem: Can't Load Database Settings From  A File

    <b>I am writing a swing application with the following functionality:</b><br>
    (1) There is a base class that supports things like changing the look and feel &ndash; this is done via a JDialog that loads all the installed lafs from which the user selects a choice.<br>
    (2) Enables the user to set/change the physical database properties &ndash; location, password usernames and the like. -<br>
    The idea is that when the application starts up for the first time the user will be asked to provide the database settings and then they will be stored in a file and then every time the application starts the settings will be loaded from this file. This works out fine!!!!!!!!!<br>
    <br>
    <b>Now here is the problem:</b><br>
    All the above is supported by an abstract class that extends JFrame (I&rsquo;ve put abstract after testing) - MySuperFrame. After testing, I packaged this class together with other utility classes into a jar file.<br>
    So my application which inherits from MySuperFrame fails on start-up with an exception that the database settings file cannot be found &ndash; And I know that it is in the jar file.<br>
    +<br>
    I think that my problem is the path and nothing but the path &ndash; or relative path.+<br>
    <br>
    This is the structure of my project:<br>
    There is the src and the bin directories and then there is an external folder (not a package inside these two folders) called files (this is where my database settings file is stored).<br>
    How do I solve this problem?<br>
    How do I make sure my application loads the settings file regardless of where it is? I thought of passing the database settings file to a constructor of a database settings dialog class. But I don&rsquo;t know how to sort out the path issue.<br>
    <br>
    Please give me advice on how to implement that?

    Apologies for the bad formatting on the original posting. Here is the formmatted posting:
    Hi All,
    I am writing a swing application with the following functionality:
    (1) There is a base class that supports things like changing the look and feel &ndash; this is done via a JDialog that loads all the installed lafs from which the user selects a choice.
    (2) Enables the user to set/change the physical database properties &ndash; location, password usernames and the like. -
    The idea is that when the application starts up for the first time the user will be asked to provide the database settings and then they will be stored in a file and then every time the application starts the settings will be loaded from this file. This works out fine!!!!!!!!!
    Now here is the problem:
    All the above is supported by an abstract class that extends JFrame (I&rsquo;ve put abstract after testing) - MySuperFrame. After testing, I packaged this class together with other utility classes into a jar file.
    So my application which inherits from MySuperFrame fails on start-up with an exception that the database settings file cannot be found &ndash; And I know that it is in the jar file.
    +
    I think that my problem is the path and nothing but the path &ndash; or relative path.+
    This is the structure of my project:
    There is the src and the bin directories and then there is an external folder (not a package inside these two folders) called files (this is where my database settings file is stored).
    How do I solve this problem?
    How do I make sure my application loads the settings file regardless of where it is? I thought of passing the database settings file to a constructor of a database settings dialog class.*{color:#ff0000} But I don&rsquo;t know how to sort out the path issue.{color}*
    Please give me advice on how to implement that?

  • Loading master data from two different infosource.

    Hi Experts,
    I would like understand the mechanism behind loading data to masterdata infoobject from two different infosource.
    Ex: I have one master data infoobject called A and it has 4 attributes B C D E.
    now I am loading values for A B and C from INFOSOURCE1
           D and E is getting loaded from INFOSOURCE2.
    could ne one please explanin how this works and how all five values get merged in single record?
    Please help
    Best Regards
    Falgun

    Dear Falgun,
    Component of an InfoSource:
    An InfoSource is always a quantity of InfoObjects that logically belong together and are updated in data targets.
    a. <b>InfoSources with flexible update</b>
    An InfoSource with flexible update can be updated in any data targets (with the exception of hierarchies). Update rules are created for this InfoSource.
    InfoObjects can be used in as many InfoSources and data targets as you like.
    b. <b> InfoSources with direct update</b>
    Using an InfoSource with direct update, master data (characteristics with attributes or texts) for an InfoObject can be written directly (without update rules) to the master data table.
    Visit the following link for more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Hope this is helpful.
    Regards,
    Naveen.

  • Copy control Settings from a Quotaion to Value contract/Quantity Contract

    Hello Friends,
    I would like to know whether it is possible to create a Value/Quantity contract in R3 with reference to a Quotation,Currently I am not able to see the copy control settings between quotation and Value/Quantity ,Also it help me a lot if you can provide me the copy control settings -Header and Item level
    Thanks and Regards
    Mohammed Roshan

    if you run VTAA you would try to create a copy control as follows:
    source: QT (quotation)
    target: CQ (quantity contract)
    say, take the existing record QT->AA (just an example) highlight it and hit 'Copy As'. Type 'CQ' in Target SalesDocTyp field.
    hit Enter. Hit 'copy all'. (if you get a message regarding the "-" or "+" quantityt set this field blank (empty)
    save it and test.
    good luck!

  • CS6 Photoshop asked do I want to load previous settings from CS5.5

    How do I get all the features in CS6 back as when I installed it it asked did I want to load previous settings. As I didn't know what this ment I said yes, now I don't have things like the new perspective tool.
    How do I reload these features?

    Delete the preference file in your prefs folder. Provide system information and we'll tell you where.
    Mylenium

  • How do I import IE settings from a different drive letter on the same computer?

    I have switched to a new computer since my old motherboard went flaky. I took my old C drive and made it the secondary hard drive since I wasn't sure if win2k would boot properly from the old installation. I have IE installs on both C and D drives and i want to import my settings from the D drive. Firefox doesn't seem to allow setting a path when using the import function. Any suggestions?
    Chris

    Hi,
    You need to log into his account and look, under the Movies folder, for iMovie Events. Inside, you'll find folders with the events names and still further will be the movie itself. Copy each to an external media or use the Shared folder so both accounts can reference them.
    Another option would be to attach an external HD and via iMovie (Events Library pane) move them to the new disk. You would preserve the thumbnails and analysis already performed on the videos.
    Good luck!

  • Loading Instrument settings from file

    Hi there
    I am developing a new app that uses quite a few possible instrument configurations and needs to be able to support multiple instruments models. I have written a little GUI that lets users select a config from various settings on different tables. I now want to save this config to a file and maybe read in the settings when they want to edit it again. Can any body suggest and tried and tested formats for doing this. I was going to use configuration files with a section for each instrument type and then keys for model number and GPIB addr but am open to any other suggestions as I need to do this quickly (whats new eh !) and it needs to be scalable.
    Instrument settings will be loaded from file into Globals by each test sequence so that globals can be re-used etc
    Cheers in advance.
    Chris R

    Chris,
    Option 1 - HDF5
    I have found HDF5 the best method for saving configuration data. You can get low-level HDF5 utilities for LabVIEW by searching for sfpFile or HDF5 on the main NI website, or try this link.
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/cb8a7f8090900f6c86256cc700033816?O...
    HDF5 is a binary, hierarchical file format, with a lot of built-in features such as compression and 64-bit file pointers. As such, it is fast, allows for easy backwards compatibility, and you can put anything into it. It also allows circular references (it is actually a directed graph, not a tree), so, for example, you can reference data from configurations and configurations from data. I maintained the NI-SCOPE Soft Front Panel configuration file with this method through many years and configuration changes.
    Now for the bad news. HDF5 is very low level. Expect to take a week to get comfortable with it. HDF5 is not threadsafe, so you must ensure that you never call the DLL from more than one place at once. The posted code uses version 1.4.4 of HDF5, while the latest version is 1.6.3.
    Option 2 - Configuration file VIs
    If your configurations are fairly simple and have no real hierarchy, consider the configuration file VIs found on the file palette. These store your data in a Windows style INI file, so it is easily human readable. They are not as fast as the HDF5 solution, and have only a single layer of hierarchy, but they are written in pure G, so are very portable.
    Good luck. Let us know how you make out.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Retrieving Parental Control Settings from Time Machine Backup

    After having 20+ websites saved for "Allow access to only these websites" in Parental Controls I was experimenting and clicked on "unrestricted access" which caused all the websites we had saved to disappear when I decided to go back to "Allow access to only these websites." Is there anyway using Time Machine to recover the sites we had chosen? Any recommendations on ways to back-up the sites, so if I have another problem I can fix it easier?
    Thanks!

    You won't be able to see them in the nice display of the current settings as when selecting +Mail > Preferences+ from the Mail Menubar.
    And, neither the data (emails) or preferences are stored in the application.
    The preferences and settings are stored in this file:
    *<your home folder>/Library/Preferences/com.apple.mail.plist*
    If you can read XML, find that file in your backups via +Finder > Time Machine,+ then double-click it to open it with QuickLook.

  • L305D-S5934 Has formatted hard drive, can I load recovery disk from a different machine?

    Hi,
    I have an older L305D (can't remember the sub group model, but it does not have the web cam).  The LCD screen went out so I bought a L305D-S5934 with a formatted hard drive.  I swapped my old hard drive into the new computer, but it will not boot up.  It tried to recover, but that failed.  Can I make a recovery disk with my old computer to use in the new one, even though they are different sub models?  The new computer has a Windows license on it.  If I can't make a recovery disk with the old one that will work, can I get a copy of Vista Home and use the license on the new computer to install it or does the license only work with the recovery disks?  Once I have an operating system installed, I know I can get the right drivers from this website.  Any help/ideas would be appreciated!  I would rather not have to buy a recovery disk through Toshiba if I can avoid it.

    Satellite L305D-S5934
    Can I make a recovery disk with my old computer to use in the new one, even though they are different sub models? 
    That won't work.
    can I get a copy of Vista Home and use the license on the new computer to install it or does the license only work with the recovery disks?
    The OEM key won't work with a retail version of Windows. (And with the recovery discs it's unnecessary, because that one is pre-activated.)
    The recovery media from Toshiba costs less than the product key for the retail installation DVD. And you don't need to mess around adding drivers and utilities.
       Order Toshiba Recovery Media
    -Jerry

  • Controlling iTunes from a different computer

    I have an old Powermac G5 with my music collection on, and a MacBook connected via Ethernet to it. As the G5 doesn't have an infra-red port, I was wondering if there was anyway of using the infra-red port (with the apple remote) on the macbook to control iTunes on the G5?

    FlurryM wrote:
    I was wondering if there was anyway of using the infra-red port (with the apple remote) on the macbook to control iTunes on the G5?
    no. but you could use *screen sharing* to control iTunes on the G5. also, there are some scripts @ Doug's that may be of interest:
    http://dougscripts.com/itunes/scripts/ss.php?sp=remoteitunesviassh
    http://dougscripts.com/itunes/scripts/ss.php?sp=dansremotes
    http://dougscripts.com/itunes/scripts/ss.php?sp=ittorem
    lastly, if you have an iPod Touch or iPhone, you could use Apple's *remote app*.
    JGG

  • Why is it so chaotic to Sync Settings between apps of Adobe CC 2014? (and to transfer settings from CC to CC 2014)

    Although, in general I'm a big fan of the Adobe Products and the CC Idea, I think that some parts of it were not ready for launch.
    The part that mostly disturbs me is the settings syncing / Update. (Or "Seamless Update")
    Concerning the updates:
    I had own workspace in all the CC Adobe Apps, the only CC 2014 App that imported the previous settings in the new app at the first start was Photoshop.
    Indesign made it through the Edit => Migrate previous local settings
    Illustrator by copying the settings files manually
    in Dreamweaver and Flash I had to recreate the workspace manually (which finally took less time then trying  to sync settings.)
    So long for the Seamless update that wasn't so seamless.
    Concerning the settings syncing
    Why could'nt adobe have the settings syncing working the same way in all it's CC 2014 applications? ( File Menu on PC / The Name of the App Menu on Mac => Sync Settings, upload or download settigns; done!)
    Instead (on mac) :
    In Photoshop: Photoshop => my account name => upload and download settings ( and no way to import settings from previous version )
    In Illustrator: Illustrator => my account name => Sync Settings ( and I cannot import settings from the previous version, only from the same version )
    in Indesign: Indesign => my account name => Sync Settings ( and the only CC 2014 App where the "Migrate previous local settings" function is working )
    in Dreamweaver => my account name => Sync Settings and a button on the far right of the upper toolbar (and no way to import previous version's local settings)
    in Flash => my account name => Sync Settings and a button on the far right of the upper toolbar (and no way to import previous version's local settings)
    in Premiere Pro => my account name => Sync Settings with the possibility to clear settings and to use settings from a different account
    Appart from that update and syncing chaos, the syncing between two computers simply doesn't seem to work ( at least for me).
    I have a computer at work and a laptop at home and I'd like to have the same workspace in my apps at home as at work for occasional home working.
    I created and configured my custom workspaces on the mac at work and then synced settings (respectively uploaded them in Photoshop). I had cleared all the saved settings from the Creative Cloud online account first.
    I arrived at home, tried to sync settings but no workspace was implemented. (and before you ask, yes i had checked that the workspaces should be synced and that, on the laptop at home, the cloud settings should be applied.)
    After few tryings I gave up and ended up recreating my setings on both machine. Frankly I don't know why the sync settings are for, since they just don't seem to work.
    I really think you should rethink this feature: make it simpler, working THE SAME WAY in all Adobe apps, and, well, just working!
    I'd just like to log into creative cloud an any computer, sync settings, and be able to use my custom created workspace.
    I posted this in the Cloud Forum since, in my opinion, the settings syncing is a cloud matter and not a matter of each app individually.

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests
    Error: "Unable to sync files"

Maybe you are looking for

  • Unable to filter the report by clicking the last column's name

    Hi, I have interactive report page having lots of column. All columns were not fitting in the screen so I added a code in the region--- header and footer section--- <div style="overflow: auto; width: 1220px; height: 700px;"> I got a scroll bar at the

  • Where are my bookmarks in Apple maps after the iOS 8 update?

    What happened to my bookmarks in Apple maps now that I have upgraded to iOS 8?

  • Employee master data creation by Idoc HRMD_A01

    hi Expert, I use the idoc HRMD_A01 to create and modify new employees. I use only these infotypes : E1P0000 Mesure             0000 E1P0001 Affectation 0001 E1P0002 Données individuelles 0002 E1P0006 Adresse 0006 After processing the Idoc, the "statu

  • Can someone help with Error 4280?

    Hi- I am getting Error Code 4280 every time I try to burn a cd. Can someone help me get past this? John Here are my diagnostics: Microsoft Windows XP Home Edition Service Pack 2 (Build 2600) Dell Computer Corporation Dimension 2400 iTunes 6.0.4.2 CD

  • Event based Automatic execution of ODI scenario (or package)

    My requirement is that whenever my source XML data file is replaced with new file (file-name remains same by the way; the new file is ftp'ed at this location); Whenever this event occurs my odi scenario (or package) should get executed automatically.