Key Config VI or XML file?

Hello:

I want to save some configuration values I want to load when the program runs again after closing. My program have many clusters.

What is the best: use a Config VI key or an XML file? I test both and...

If I use the 'Key Config VI', I can use the same file to store all the values of the different cluster but the program is bigger and more complicated because it does not directly accept clusters and I must save values of a.

If I use the ' XML ', I need to create a large number of files (one for each group), but it is easier to store values as he accepts the clusters.

Therefore, what is the best, or which do you choose? Any other suggestions?

yenknip wrote:

The OpenG API config is pretty cool

I agree with yenknip. There is an open G vi to register (and retrieve) a cluster of a file of configuration using Variant. Making your clusters type def, if you need to change them it will save you a lot of work.

Ben64

Tags: NI Software

Similar Questions

  • Is it possible to search for key words in an XML file?

    Hey all,.

    I am currently looking for ways to count the number of keywords in an XML file. An example would be trying to find how many times 'war' is mentioned in a network of new RSS feed < title > < / title > and adding it to a variable.

    I found a few AS3 XML class custom there files but nothing that I was able to adapt. I'm to the point just taking the title of these stories convert all channels and their research in this way...

    I would be grateful for any help

    Thank you!

    Just to clarify the JCSurf

    In your example, you're checking whether the XML element has an attribute "NAMED" keywords.

    If you try to determine the number of times keyword 'war' appears in a specific XML newsfeed, I guess that XML elements already have an attribute named "Key words" and you check in to this existing attribute and then check if the word ' war exist in the keywords attribute, and then finally to count the number of times where that is. "

    ============

    function negativeKeyword(keywords:String)

    {

    for (var i: Number = 0; i< 29;="">

    {

    If (myXML.channel.item.title [i] .attribute == keywords) / / this is only check verifies if an attribute exists that is called keywords

    {

    -negativeNumber;

    }

    }

    }

    ============

    It should check to see if the keyword attribute is an element tag and if it contains the word 'war '.

    If (myXML.channel.item.title [i] .attribute ("keywords") is 'war')

    I also believe you need to do your quoted strings.

    Keep me posted.

  • Invalid application - cannot find the config.xml file archive

    I'm new to webworks development... I created a sample config.xml and index.html in the folder Helloworld and made a Zip file...

    Then using ripple I packed up the app and the. Cod files are generated correctly...

    But I was not able to pack and sign using ripple, if I had the signature keys added to the bin folder of the SDK correctly...

    So I tried bbwp command line argument to achieve the same... But it has ended up with the error "Invalid application archive - cannot find the file config.xml.

    What is the problem that I do with the archieve file?

    How to use eclipse for development for the Webworks 2.3.1.5 sdk?

    My guess is that you have a HelloWorld inside your zip file and the file config.xml and index.html are inside this folder. The config.xml file must be in the root and must reference the index.html file, wherever it is in the zip directory structure.

  • Problem with emulator no config.xml file found in the root of the file .zip Blackberry 10 ripple

    I just started development for blackberry 10. I had developed application in the native language. But with blackberry 10 I get "no config.xml file were found at the root of the .zip file" when I run my Hello World application on emulator of the ripple.

    Help is appreciated thanks.

    Here what I got on emulator ripple

    Here's my Helloworld project structure

    Your config.xml file is probably invalid.

    Copy and paste it into this XML validator. http://www.w3schools.com/XML/xml_validator.asp

    If there is a training error will not be able to correctly parse.

  • backgroundImage to different resolutions in the config.xml file

    each mobile has within the config.xml file and different screen resolutions, we can change the images according to the resolutions like this

    
    

    but in my case, it always uses "StartUpScreen.png".

    what I am doing wrong?

    why it gets correct resolution image?

    I use the Simulator to blackberry 9700 (screen resolution 480 x 360)

    BlackBerry plugin - 2.5.1.2 Webworks... Version

    BlackBerry Webworks SDK plugin - 1.5.1.2. Version

    Version of the OS - 5.0.0.680

    This post is actually tim it would be great IF we had something like that. Unfortunately we do not have

  • Cannot find the config.xml file

    Hi all

    I searched the forum and google my problem with no luck.  I hope someone here can help me.

    On my Windows XP VM, I try to use Packager WebWorks to compile a file to archive.  Whenever I do, I get "archive invalid - cannot find the file config.xml.  Of course, my zip file has a config.xml file.

    While trying to fix it myself, I downloaded the sketchpadStandard.zip of the sample and could only compile without error.  I extracted the file and re-compressed it and got the error "cannot find the config.xml file.  I used the utility of windows XP, I downloaded winzip and used this utility, I used my mac to compress the file.  Whenever * I * do, I get the error.

    Obviously, package manager works, and I'm in the right directory that I'm able to compile the provided sample Archives, but why the hell can not compile the VERY SAME FILES I checked myself?

    Any thoughts much appreciated.

    After several hours of experimentation, I finally load the mac version of the SDK directly on my mac, rather than the version of windows on my virtual Windows machine.  I did the fix here would solve the same problem on a mac and it worked.

  • Error 25004 config.xml not specified as a configuration xml file is valid must be created during deployment (null)

    Error 25004 config.xml not specified as a configuration xml file is valid must be created during deployment (null)

    Hello niecy1963,

    Thanks for posting on the Microsoft answers Forum.

    If you get this error when you try to install Office 2007, then be sure that you have uninstalled the trial versions of Office from your computer.
    It may be a software problem with an uninstall of Office add-in Microsoft any component snap-in via the control panel. Reset. Then you can reinstall the add-in.

    You can also follow the article below for assistance.
    KB Article ID: 928218 -how do I uninstall manually Office system 2007 if you cannot uninstall it by using the function "Add or Remove Programs".

    If you experience this error with another program and not Office 2007, with more details please reply and we will be happy to help.

    If please give an update and let us know your status.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Is there a document identifying all the directives of a config.xml file

    The document found here comprehensive?

    http://docs.BlackBerry.com/en/developers/deliverables/30182/Creating_a_BB_Widget_configuration_docum...

    I'm looking for something that tells me that all permissions, all the transition effects, basically everything what is possible with the config.xml file.

    Hi shnuffy,

    You can find our docs updated here - https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/working_with_config_xml_file_1...

    They should have what you are looking for

  • 25541 error could not open xml file c:\windows\microsoftnet\framework\v2.0.50727\config\machine.config, 2147024786 system error... what kind of error is it?

    25541 error could not open xml file c:\windows\microsoftnet\framework\v2.0.50727\config\machine.config, 2147024786 system error... what kind of error is it?

    I had tried... .but not possible... someone has this problem soluton...

    Prom KrishnaNyaupane Hello,

    Please check the TechNet link below for a proposed solution.
    http://social.technet.Microsoft.com/forums/en-us/officesetupdeploy/thread/86787c69-5909-4885-843e-b8b977e5cc33

    Let us know if it helps.

    Marilyn

  • Encrypt the password weblogic in the config.xml file

    Hi friends,

    I get the below error. while trying to start the administration server.

    < 17 November 2015 14:18:09 IST > < opinion > < Log Management > < BEA-170019 > < server log file /u01/app/orawls/product/fmw11g/user_projects/domains/ClassicDomain/servers/AdminServer/logs/AdminServer.log is open. All events in the log server-side will be written to this file. >

    < 17 November 2015 14:18:09 IST > < critical > < WebLogicServer > < BEA-000386 > < server subsystem failed. Reason: java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    java.lang.AssertionError: java.lang.reflect.InvocationTargetException

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:175)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy.decrypt (DescriptorManager.java:192)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl.decrypt (DescriptorManager.java:114)

    at weblogic.descriptor.internal.AbstractDescriptorBean._decrypt(AbstractDescriptorBean.java:1092)

    at weblogic.management.configuration.SecurityConfigurationMBeanImpl.getCredential(SecurityConfigurationMBeanImpl.java:737)

    Truncated. check the log file full stacktrace

    Caused by: java.lang.reflect.InvocationTargetException

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to weblogic.descriptor.DescriptorManager$ SecurityServiceImpl$ SecurityProxy._invokeServiceMethod (DescriptorManager.java:173)

    Truncated. check the log file full stacktrace

    Caused by: weblogic.security.internal.encryption.EncryptionServiceException

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptBytes(JSafeEncryptionServiceImpl.java:139)

    at weblogic.security.internal.encryption.JSafeEncryptionServiceImpl.decryptString(JSafeEncryptionServiceImpl.java:187)

    at weblogic.security.internal.encryption.ClearOrEncryptedService.decrypt(ClearOrEncryptedService.java:96)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    Truncated. check the log file full stacktrace

    I searched the support of oracle in this regard. In one mentioned to modify the config.XML and add either encrypted or clear text.

    I don't know how to change the file and that all entries have to be changed. I enclose the config file. Could you please suggest me.

    Kind regards

    Prates

    What doc id you are referring to? If you need to replace the password encrypted with password plain text in the config.xml file, just edit it with a text editor and replace the values starting with {ESA}.

  • How do you use the config.xml file to determine which version of an application, a user will download?

    I have two APKs for the same application and I implemented the config.XML of lower version number working for all screen sizes.  The config.XML for the higher version number is set up for only the scresns large and extra-large.  Here's the code from the config.xml file.

    Version 1

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "true".
    Android: normalScreens = 'true '.
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    Version 2

    < media screens android: anyDensity = "true" android: Center = 'true '.
    Android: smallScreens = "false".
    Android: normalScreens = "false".
    Android: largeScreens = "true".
    Android: xlargeScreens = "true" / >

    When I try to download the app on Google game, only the top version is available, regardless of the size of the unit.  When I asked Google game why this was not behave as expected, they said that the file manifest for both applications is the same.  Here is the code, they shot in the manifest after having used PhoneGap Build.

    < media screens android: anyDensity = "true" android: smallScreens = "true" android: normalScreens = "true" android: largeScreens = "true" android: Center = "true" android: xlargeScreens = "true" / >

    Can someone explain why PhoneGap Build is not using the settings I set in the config.xml file?  And how to fix this?

    The tag is not a valid tag in the config.xml file. This is probably why you see the same tag in two, as the build service is ignorant.

    As to how solve you this problem. Currently, you can not, but the next version of android-cordova will include the ability to add a tag which you will be able to use like this:

  • Modify the config.xml file (what is the command to save)?

    Hello

    I use ESXi 4.1. I am connected to the host via SSH and Putty.

    I need to add something in the config.xml file however I can't save changes to it.

    I am connected to/etc/vmware/hostd #vi config.xml

    When I add a line and try to save it is not. How save you changes to a file? I tried Ctrl X, S, Z

    Thank you guys.

    (+)

    : wq means you need to swich mode command by esc. Also take a look at Vi Cheat Sheet

  • By getting Unattended.XML file not recognized when booting from the USB key dvd

    I have prepared without supervision. XML file and put it in the root of the USB stick and kept Windows 7 OEM DVD player. Mentioned the path of the file catalog in unattended mode. XML. active all USB ports in the BIOS settings. But without surveillance. XML file is not acknowledged at the start. What could be the possible problem here? Can someone help out me?

    Hello

    Please contact the Microsoft community.

    I suggest you to send your request in the TechNet forums to get the problem resolved.

    Please visit the link below to send your query in the TechNet forums:

    https://social.technet.Microsoft.com/forums/Windows/en-us/82410df7-2e70-47C7-a9dc-7dba7c17fbf8/autounattendxml-will-not-load-from-USB-HDD?Forum=w7itproinstall

    Hope this information is useful. Please come back to write to us if you need more help, we will be happy to help you.

  • I'm not able to open my documents pages. I get the message: the requested index.xml file is missing.  I wonder if it is because I have updates 10.11.5

    I have an iMac (20-inch, mid 2007) processor 2 GHz Intel Core 2 Duo 3 GB 667 MHz DDR2 SDRAM memory and recently updated to el capitan 10.11.5.  I have Pages ' 09, and I can't open my documents pages and get the message:

    The index.xml file required is missing.

    I now see that it says return to default pages 5.6.2.

    I can open them as 5.6.2 then save tehm in pages ' 09?

    Can someone help me with easy tips?

    Only the Pages ' 09 or old documents contain internal index.xml file. When you try to open a document in Pages ' 09 Pages v5, you get this dialog on the missing index.xml. The key is to stop Pages ' 09 and then double click on the document to open it in v5.6.2 Pages.

    Pages ' 09 will not leave by simply clicking on the red light on the title bar of the document. As long as the Pages ' 09 continues to run, it will intercept all attempts to open any document Pages, including incompatible versions of the v5 Pages.

    This has nothing to do with OS X 10.11.5. He has been a user focused on the issue since October 2013.

  • The XML file syntax

    Hi all

    The attached vi shows an excerpt from an XML file. I can correctly extract the values of interest to me, as average (I'm using the syntax is shown on the left)

    Now, I want to associate the value as a means to its key, for example SENS0710:10951:IntSolIrr.

    I tried all kinds of combinations but have had no success. My vi works as suggested above, so I'm not after improvements in code or corrections and this is why I have not attached the code.

    Could someone show me the syntax to use for the search expression to extract the key please

    Thank you.

    OK... just posted and then click on the answer... works fine now

    Thanks anyway

Maybe you are looking for