What kind of code structure is good when target is to save and read huge amount scalar parameters?

Hi All,
LV 8.5.1 + DSC
In my project I need to save many scalar parameters to file and also read them. There is about 100 logical parameter groups and inside those groups there is about 10 to 50 parameters. Every parameter have own describe name e.g. "TAG1_measurement_upper_limit". Parameter type is string and length about 1 to 7 characters. 
In my first solution I made a typedef rings for every parameter group. This structure is not good because when there is a new parameter I must update many things manully. This means that number of parameters can vary. One good thing in this structure that it is documenting my code very effcient. I also like to keep my code simply as possible so I wan't write and read all parameters by using only two VIs. All parameters were saved to one CSV-file. Every column is one parameter group and every row is certain parameter. So there are many empty "cells" in this structure.
I have consired different structures as database, CSV-file etc.. Does anyone thought this same issue before? Is there efficient way to solve this issue.
-Jim

Values of FP variables can be easily captured.
1. Create a reference to the pane of the FP.
2. With that reference you can fetch all the controls(/indicators) on the FP.
NOTE: make sure that the label of the control/indicators is unique and have a distinct pattern e.g. IOgrp_IOitem_parameter (use caption for user viewing and label in blockdiagram)
3. Using the label naming pattern you can store them in a file.
The label can also be used to restore the value of the control.
1. Read the file
2. Get all control references
3. For each value in the file
3a. Find label name in control references
3b. if found set value
Regards,
André
Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

Similar Messages

  • What kind of codes are those????

    i found some codes i put in a java game chatroom like: m.msg_self and in the chat appears :talking to yourself is a sign of ....! what kind of codes are those and where do i find more?

    They are user-defined codes depending on the application.

  • What does "Only DRM free/unprotected" mean when trying to transfer pictures and videos to my laptop?

    What does "Only DRM free/unprotected" mean when trying to transfer pictures and videos to my laptop?

    Only Digital Rights Management music and video which you do not own rights to copy or use cannot be placed on your device.
    songs you have paid for or own outright will not have those restrictions.
    hope that helped?
    Good Luck

  • HT4075 I don't have any problems merging the documents by dragging, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I tried save and export, how can I create the file after merging?

    Hi, I'm having trouble saving the documents when merging in Preview. I don't have any problems merging the pdf documents by dragging them in preview, but when I try to save and open afterwards, only the last shown doc was saved, not the combined files I wanted to merge. I've tried save and export, but none merge the documents after saving... how can I create the file (with all the pdf files) after merging?

    That's a comment in the file. It has no effect at all.

  • HT4059 Am getting an error message when I try to open and read my book, how do I correc this?

    I am getting an error message in iBooks when I try to open and read my book, how do I correct this?

    Welcome to the Apple community.
    Have you tried deleting the book and re-downloading it from the purchased section of the bookstore. If this doesn't help, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History.

  • My Macbook Pro was frozen when I was watching video and reading document. I just purchased this laptop last month. why does it happen?

    My Macbook Pro was frozen when I was watching video and reading document. I just purchased this laptop last month. why does it happen?

    If your temps are back to normal then the only thing that I would do is to completely uninstall the Avast software. See Thomas Reed's excellent Mac Malware Guide and pay particular attention to the "Do I need a/v software" section. 99% of the time, you don't and Mr. Reed only suggests the use of two av apps.
    Clinton

  • What kind of data structure should I use?

    I have a user input dialog basically like following which need user input the sample number to specifiy each file belongs to which sample:
    user input the sample number in the following dialog:
    file name             sample
    test 1                  1
    test2                   2
    test3                   1
    test4                   2In another words, each sample could include multiple files, each file has a column of data. I tried to get
    a data structure which specifies the sample and file relationship, to get an idea of what kind of files are in
    one sample. I tried to use hashmap or hashtable, but they ask the key must be unique. What I need is to get the sample data structure for the later data processing.
    thanks in advance!

    You could make a Sample object, which creates a List of file names. Then put SampleNumber and SampleObject into a Map...
      class Sample {
        java.util.List fileNames;
        Sample()
        {  fileNames = java.util.ArrayList(5); }
        addFile(String fName)
        { fileNames.add(fName); }
        String[] getFileNames()
          String[] names = new String[fileNames.size()];
          for (int a = 0; a < names.length; a++)
          { names[a] = fileNames.get(a).toString(); }
          return names;
      Map samples = new HashMap();
      Sample samp1 = new Sample();
      samp1.addFile("Test1"); samp1.addFile("Test3");
      Sample samp2 = new Sample();
      samp2.addFile("Test2"); samp2.addFile("Test4");
      samples.add("1", samp1);
      samples.add("2", samp2);
      String selected = //String user selects...
      Sample sampNeeded = (Sample)samples.get(selected);
      String[] files = sampNeeded.getFileNames();

  • What kind of configuring does Apple do when buying an iPad?

    I've noticed that when you buy an iPad-mini Retina wi-fi + cellular at store.apple.com, and you select the options that you want, that the following statement appears when you select the carrier:
    "Your iPad will be configured to operate with the carrier you choose right out of the box."
    What kind of configuring is going on here? Does Apple simply use the iPad itself to fill in the Cellular Data settings for the chosen carrier and perhaps edit the APN appropriately? Or is there more to it than that? If so, what?
    As part of this step does Apple insert the appropriate nano-sim card into the iPad tray before it is shipped to the buyer?
    Thanks,
    Eric

    Hi Eric,
    I bought an iPad Air 64 GB Verizon Cellular. When I received it I set it up then called verizon. The iPad was ready to connect to Verizon and I could add it to my plan. The cellular setup took about 5 minutes, most of that was a reboot while it propagated itself onto the verizon network. The sim was already installed and the iPad was easy to configure.
    That beats the heck out of driving 6o miles, in my case, to a verizon store, getting a sim, setting up the iPad and driving home another 60 miles.

  • What kind of code signing certificate do I need for Profile Manager?

    I'm new to Lion Server and the Profile Manager, and I'm wondering what kind of CA-recognized code signing certificate I would need to buy to use in the Profile Manager -> Sign configuration profiles? For example, Verisign sells a bunch of different kind (http://www.verisign.com/code-signing/): Microsoft Authenticode, Java, etc.
    Patrick

    The cable should be just the normal one, the special smarts that tell the tablet to charge at full speed is in the power brick.

  • What kind of music file to use when you download

    I just got my Video Ipod and i do not know what kind of music file i am using to download my music. i know thereis aac, mps, wave, and all different kinds. i do not know how to change which one i am using. i assume it already is set to aac???please help

    To check and change the format iTunes will import music into, follow the first two instructions in this article. Music purchased from the iTunes music store will not be converted.
    (10299)

  • What kind of compression does Acrobat do when files are combined?

    I'm working with some raster print media (specifically PNGs) that I've combined and saved into PDFs for easier printing. The original files are 300dpi scans, lossless compression.
    This is the process I follow:
    select files to combine in Windows Explorer
    right click > Combine supported files in Acrobat
    File size: Default
    wait for the new binder to open in Acrobat
    Save As > Save as type > Adobe PDF Files (*.pdf)
    So it looks like there are two steps where possible compression occurs, 2 (combine) and 5 (save).
    2: The "Default" file size button tooltip says all files are kept at their original quality.
    5: No information is given on screen as to what kind of compression is done.
    The second file type in step 5, Adobe PDF Files, Optimized (*.pdf), gives the option for "Standard" optimization, which compresses images to JPEG and downsizes them to 150dpi. Is this the setting for the first file type as well?

    An ordinary save or save as does no additional compression.

  • Created a PDF and added sticky notes, saved and emailed for review, recipient could not see or read the sticky notes.  What needs to be done for my sticky notes to be seen and read when emailed.  Thanks

    I scanned a map and printed to create a PDF document, at that point I added sticky notes of different locations with notes of descriptions, saved and email to client for review.
    Client received email but when he opened the attachment, all he could see was the map and none of my sticky notes.  
    What needs to be done so the recipient can see my sticky notes and read the descriptions for each sticky note?

    Hey roy,
    Could you please tell me what is your Acrobat version?
    Please ensure that recipient downloads the PDF and uses either Adobe Acrobat or Reader to open the sticky notes.
    Regards,
    Anubha

  • Windows 8.1 probably the disc is full- error message when i try to save and open a file i downloaded.

    I am trying to download a program from the internet and I save it to my download folder. when I try to save it or open it, I get an error message saying probably the disc is full. this is a new computer with plenty of disc space available.

    I am trying to download a program from the internet and I save it to my download folder. when I try to save it or open it, I get an error message saying probably the disc is full. this is a new computer with plenty of disc space available.
    how much free space on C: do you have available?
    you may need a NAS to move some previous downloads too etc
    Corsair Carbide 300R with TX850V2
    Asus M5A99FX PRO R2.0 CFX/SLI
    AMD Phenom II 965 C3 Black Edition @ 4.0 GHz
    G.SKILL RipjawsX DDR3-2133 8 GB
    EVGA GTX 660 Ti FTW Signature 2 (GK104 Kepler)
    Asus PA238QR IPS LED HDMI DP 1080p
    ST2000DM001 & Windows 8.1 Professional x64
    Microsoft Wireless Desktop 2000 & Wacom Bamboo CHT470M
    Place your rig specifics into your signature like I have, makes it 100x easier to understand!
    Hardcore Games Legendary is the Only Way to Play!

  • How do i add selection when closing firefox to save and quit, the tabs?

    how do i save and quit when closing firefox?

    '''cosmos''':
    For illustrated example and explanation of entering/using '''''about:config''''' see: http://kb.mozillazine.org/About:config
    <br />
    <br />
    '''Other issues needing your attention'''
    The information submitted with your question indicates that you have out of date plugins with known security and stability issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post. You can also see your plugins from the Firefox menu, Tools > Add-ons > Plugins.<br />
    <br />
    *Adobe PDF Plug-In For Firefox and Netscape "9.4.1"
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use the links below to avoid getting the troublesome "getplus" Adobe Download Manager and other "extras" you may not want
    #**Use Firefox to download and SAVE the installer to your hard drive from the appropriate link below
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link</u>''': ftp://ftp.adobe.com/pub/adobe/reader/
    #***Choose your OS
    #***Choose the latest #.x version (example 9.x, for version 9)
    #***Choose the highest number version listed
    #****NOTE: 10.x is the new Adobe Reader X (Windows and Mac only as of this posting)
    #***Choose your language
    #***Download the file, SAVE it to your hard drive, when complete, close Firefox, click on the installer you just downloaded and let it install.
    #***Windows: choose the .exe file; Mac: choose the .dmg file
    #*Using either of the links below will force you to install the "getPlus" Adobe Download Manager. Also be sure to uncheck the McAfee Scanner if you do not want the link forcibly installed on your desktop
    #**''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #**Also see: https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox (do not use the link on this page for downloading; you may get the troublesome "getplus" Adobe Download Manager (Adobe DLM) and other "extras")
    #*After the installation, start Firefox and check your version again.
    #'''Update the [[Java]] plugin''' to the latest version.
    #*Download site: http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java Platform: Download JRE)
    #**'''''Be sure to <u>un-check the Yahoo Toolbar</u> option during the install if you do not want it installed.
    #*Also see "Manual Update" in this article to update from the Java Control Panel in Windows Control Panel: http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    #*Java Test: http://www.java.com/en/download/help/testvm.xml

  • TS3276 How to get message when email has been received and read?

    How do I set my Mail so I can get a message when an email has been received and read?

    Read receipt feature is not available in Mail, unfortunately.
    Best.

Maybe you are looking for

  • All Downloads named "download", iTunes keeps "resettiing-first run" and more...

         I have just copied the original text sent to Apple Support, hoping someone has had the same problems so I can compare results. Currently their is not a fix for any of my problems.  I will have to manually rename, move, and add into my library ea

  • Officejet 7000: Squeaky printing

    I have a new Officejet 7000 printer which I just started using about 2 weeks ago. I only print a few sheets per day on average. Over the last week the printer has developed a high pitched squeaky noise as it prints. It seems to be when the print head

  • Is there a way to generate bars and tone in fcpx?

    All the discussion communities I could find seem to tell me how to do it in FCP7.  And when I download versions from the internet, they play incorrectly-soft and warbly. Thank you.

  • Reduce physical size of image with minimal quality loss

    Hello, I have to fit high res, high quality, images behind a presentation frame, which is only about 800x600. Everytime i reduce the high res images to fit behind the frame, even with bicubic sharper on, the reduction in quality is really bad. Is the

  • JSP 2.0 & Beans

    Hi All, I just learnt that with JSP 2.0, we do not have to specify the useBean or getProperty tags. We can simple get the job done through........ ${key.property}... but this has really started me thinking about the necessity of having getters and se