How do you create an array without using a shell on the FP?

I want to be able to read the status of front panel controls (value, control box selection, etc.) and save it to a file, as a "configuration" file -- then be able to load it and have all the controls set to the same states as were saved in the file. I was thinking an array would be a way to do this, as I have done that in VB. (Saving it as a text file, then reading lines back into the array when the file is read and point the control(s) values/states to the corresponding array element.
So how do I create an array of X dimensions without using a shell on the front panel? Or can someone suggest a better way to accomplish what I am after? (Datalogging doesn't allow for saving the status by a filename, so I
do not want to go that route.)

Thanks so much m3nth! This definitely looks like what I was wanting... just not really knowing how to get there.
I'm not sure I follow all the icons. Is that an array (top left with 0 constant) in the top example? And if so, that gets back to part of my original question of how to create an array without using a shell on the FP. Do I follow your diagram correctly?
If I seem a tad green... well I am.
I hope you understand the LabVIEW environment and icons are still very new to me.
Also, I had a response from an NI app. engineer about this problem. He sent me a couple of VI's that he threw together approaching this by using Keys. (I still think you are pointing to the best solution.) I assume he wouldn't mind m
e posting his reply and the VI's for the sake of a good, thorough, Roundtable discussion. So here are his comments with VI's attached:
"I was implementing this exact functionality this morning for an application I'm working on. I only have five controls I want to save, but they are all of different data types. I simply wrote a key for each control, and read back that key on initialization. I simply passed in property node values to the save VI at the end, and passed the values out to property nodes at
the beginning. I've attached my initialize and save VI's for you to view. If you have so many controls that this would not be feasible, you may want to look into clustering the controls and saving the cluster as a datalog file.
Attachments:
Initialize_Settings.vi ‏55 KB
Save_Settings.vi ‏52 KB

Similar Messages

  • How do you create an array of any size(no limits).

    how do you create an array of any size(no limits). this array should hold BigInteger values.
    BigInteger[] array = new BigInteger[100000000]; //creates new array of BigIntegers array[0] = new BigInteger("6"); //puts "6" in
    array[1] = BigInteger.ZERO;
    but this type of an array can only hold a limited amount.

    Use a java.util.List, e.g., ArrayList or LinkedList.

  • HT2589 how can i create apple id without using credit card details ?

    how can i create apple id without using credit card details ?

    @Limnos - that doesn't work anymore. There is no NONE option. I've been at it for hours trying to set up my daughter's account. I've tried creating and verifying an appleID on the web, on her touch...everything. Every single time you get to the stupid Touch, it wants to walk you through the verification of the account and it demands payment (even for their suggested apple Remote method listed in the KB).

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • How do you prepersonalize a JCOP Card using JCOP Shell?

    How do you prepersonalize a JCOP Card using JCOP Shell?
    I don't have any clue where to look for this , so I have posted it here.
    Please suggest .

    Hi Shane,
    Actually I have received some Cards which are raw, with no card manager installed in them.
    I also have another set of cards on which I can deploy my applets using the APDU commands.
    I was wondering if I could issue some prepersonalization commands over the JCShell, but did not find anything on this and was looking forward for some suggestions.

  • Creating an array without using "auto-indexing"

    Hello,
    it is terrible! I'm new in working with LV5.0 (Evaluation) and I can't
    find any examples how to write data into an array without using the
    function "auto-indexing" of the "WHILE" or "FOR"-loops..
    The values do not appear all at the same time, so I can't use the
    "create_array" function.
    So I want to "collect" all occured values and then write them e.g. in a
    file.
    Did I miss anything in the description ???
    Who can help me?
    Thanks, CHZ

    CHZ wrote in message news:[email protected]..
    > Hello,
    > it is terrible! I'm new in working with LV5.0 (Evaluation) and I can't
    > find any examples how to write data into an array without using the
    > function "auto-indexing" of the "WHILE" or "FOR"-loops..
    > The values do not appear all at the same time, so I can't use the
    > "create_array" function.
    > So I want to "collect" all occured values and then write them e.g. in a
    > file.
    The "Create array" function can be configured to take arrays as well as
    elements. You have to use a loop that iterates as often as necessary,
    checking for new data. When it receives new data, it adds the new data to
    the existing array. It's probably easier to attach a small example than to
    describe it in more
    detail.
    [Attachment Array.zip, see below]
    Attachments:
    Array.zip ‏10 KB

  • HT2589 How do you create apple ID without the payment method?

    How do you create an apple ID without payment method?

    See this Discussion from the  More Like This section on the right...
    https://discussions.apple.com/message/18689003#18689003

  • How do you find your iPhone without downloading iCloud or having the find my iphone app???

    How do you find your iPhone without downloading the find my iphone app, or having your iCloud app/ ID setup????

    I HAVE THE SAME **** ?????'S & THE SAY SPEND $800.00 TO BUY ANOTHER IPHONE???? *** WHY CANT WE GET ANOTHER IPHONE FROM SPRINT AFTER A 2YEAR CONTRACT U STILL HAVE TO PAY PER AGREEMENT WHICH MEANS A MONTHLY BILL OF $100 4 2 YRS $2400 DOLLARS ($100X24MONTHS=$2400) + WHAT U PAID 4 THE IPHONE $150 SIGN UP 4 THE CONTRACT?

  • How do you create a list without a visible scroll bar?

    I'd like to create a list that can be scrolled via the actual list contents like iPhone apps.
    How do you go about setting this up in Catalyst?
    I could make the whole area the 'track' and put the
    returned array of objects on top of the track but then
    the 'thumb' needs to be the returned array of objects
    as well.
    Any thoughts or suggestions welcomed.
    Cheers,
    -Truce

    Hi Truce,
    It may be tricky to use a scrollbar for this.  If you think about iPhone-like behavior (or Acrobat-like, perhaps ), you want dragging downward to move the content downward.  But when you drag a scrollbar thumb downward, the content moves upward instead.  You can "cheat" your way past this by using the transform tool to rotate the vertical scrollbar 180 degrees upside-down.
    However, you may still have a few other problems with using a scrollbar.  First, having a thumb over top of your list items may make it hard or impossible to click items (without dragging) to select them.  Also, when dragging, the items won't move up/down at the same speed as the mouse.  This is because the scrollbar's drag range covers the entire list if you move the mouse the full length of the scrollbar... whereas with iPhone-style dragging, moving the mouse this distance will just scroll you one "screenful."
    - Peter

  • How do you create a disk image using Disk Copy?

    Hello,
    Is there any way you can create a disk image using Disc Copy? Is there a better way to create a Disk Image?
    I would like to burn two copies of a 4.2 gig folder on my mac. I usually insert a blank DVD-R and then the mac asks if I would like to prepare it at which point I click "yes". An icon of a DVD disk appears on the desktop and then I drag my files onto this icon. It takes a few moments to create the disc image and then I click "burn". However, after the disc is burned the disc image disappears and I have to start all over again if I want to make another copy.
    How can I save this disc image? If I could save the disc image, it would enable me to burn a second DVD right after the first without having to create the disk image all over again. This would save a lot if time.
    I am using OS 10.1.5
    Thank you for any suggestions

    Thanks Niel for the info about creating a Disk Image with the Disk Copy utility in OS 10.1.5
    That worked however when I insert a blank DVD-R, the disk image still has to be copied to the DVD-R buffer and then it can be burned. And so this doesn't really save any steps - the "copying into the buffer" step still has to occur whether or not you have created a disk image of your files. So creating a disk image doesn't really shorten the process of burning multiple copies of a DVD.
    I will try to describe the steps more clearly:
    Two of the three steps for creating a DVD (steps 2 and 3) are very time-consuming:
    1. put blank DVD into the drive (a DVD disk icon quickly appears)
    2. drag files onto this icon (this step takes a long time as the files are copied into the buffer)
    3. choose "burn" (the actual burning also takes a long time)
    I was hoping that when I create two or more DVDs of the same files, I could first create a Disk image so that when I create the second DVD, step 2 could be skipped. That does not seem to be the case - the disk image still has to be re-loaded. And so I think I will not bother with the Disk image idea - it doesn't seem to be necessary or helpful when burning DVDs to backup data.
    Thanks for your suggestion.

  • How can I create a Glow without using a filter

    I am creating an application for iPhone4, and one of the problems I am having is the lack of filter support.
    I am trying to create a "stroke" around some bitmaps... an example would be a text field that is white on a bright background - I would put a black stroke around it to contract it... there are other needs as well, but this is an example.
    Before, I would just put a glow filter on the text field, tweak the settings and it looked good and did exactly what I wanted.
    But iPhone4 high resolution with gpu acceleration don't support filters - and I can't change those requirements... so any and all bitmap filters are out.
    Does anyone know of a way I can create a glow filter effect without using filters that would not be a major preformance hit for fps and memory?

    Have you tried using tweenMax and code in a glow effect.
    Something like this:
    import com.greensock.*;
    import com.greensock.plugins.*;
    TweenPlugin.activate([TintPlugin]);
    var glowEffect:TweenMax = new TweenMax(mc,0,{glowFilter:{color:0x330000,alpha:1,blurX:5,blurY:5,strength:2,quality:2,ov erwrite:5}});

  • How can you backup your iPhone without using the front button?

    My front button doesn't work again. Had this fixed a week ago and it stopped working again.
    So how do I backup the iPhone without being able to close the email account it is in now and get to the Settings without using the front button?

    Restart your iphone by using the power button. After the restart you will be able go to the settings and enable assistive touch!

  • On the iMac Retina how do you scale to 5K without using a third party app?

    On the Apple website there is a statement suggesting that using FCPX a 4K video can be seen in native resolution and still have room for timeline and tools etc. Without resorting to use of a third party app how do you adjust an iMac retina OSX and FCPX to achieve this?

    Thanks for your comment
    I would have thought so too however having now visited two local Apple stores and asked staff how to see a 4K video at full resolution none of them could show me. The resolution settings of the iMac Retina are way below the full 5K. At optimised for Retina its understandably half but even when settings are adjusted to highest resolution it is nowhere near 5K - it gets scaled to somewhere between 3-4K. There is talk of "content awareness" but this didn't seem to have much impact when using Quicktime or FCPX to view the sample 4K video files (checking info on these files reveals they are 4K images but when viewed the  resolution was lower).
    I am aware third party apps (such as RDM) can be used to get greater control over what resolutions the display gets run at but from the description on the Apple website I would expect this adjustment to be able to be made in OS X.
    Quote from Apple iMac Retina pages:
    "The sheer number of pixels on the new iMac with Retina 5K display lets you view the latest high-resolution 4K video at 100 per cent, while still leaving plenty of room for your assets and timeline."
    So how do you achieve this? The iMac Retinas I tried in store did not show this.

  • In e-mail, how do you create a Save to My Mac mailbox? The instructions aren't complete.

    In order to save space in iCloud, the instructions recommend moving messages from iCloud to your Mac. They specifically state:
    "In Mail, choose Mailbox > New Mailbox, choose On My Mac from the pop-up menu, then enter a name for the mailbox.
    You don’t have to create a new mailbox if the On My Mac section of the sidebar already has a mailbox that you want to move iCloud email messages to."
    The problem is that I can't find the "Mailbox" button or folder or drop down (or whatever it is). It doesn't say WHERE in Mail to find it.
    Any suggestions?

    I think I have been interpreting the instructions incorrectly. I was going into iCloud Mail, NOT the Mail app. I didn't realize they were connected, and that iCloud mail messages could be saved to the regular Mail app, which I already know how to use.
    Thanks for the response. I think I've got it now.

  • How do you create a separate iCloud for each phone in the family?

    We have 3 people in our family with iPhones, plus 1 iPad2.  How can we give each of us a separate apple ID so that we can each have our own iCloud storage?  The 55 GB is not enough for all of us.  Deleting the accounts to create new ones is not an option because one of our phones is not backed up on iCloud AT ALL (could never back it up because the 55 is not enough for the 3 of us).

    For each phone, go to http://appleid.apple.com and create a new Apple ID.
    On the phone, sign out in Settings>iCloud by clicking the 'Delete account' button. You are going to have to do this or you cannot proceed.
    Sign in with the new Apple ID. Create a new @icloud.com address. In the Settings>iCloud page, purchase such extra storage as you need. Do a new backup.
    Leave the phone which hasn't been backed up until you've done this with the others. Delete their backups from the original account. Back this phone up to the original account. Then follow the procedure above.
    If you want these phones still to have access to the email, calendars, contacts etc. of the original account you can sign into it in Settings>Mail, Contacts & Calendars.

Maybe you are looking for

  • My display doesn't show up anymore for my MacBook Pro

    well, here's the issue.... my screen has completely stopped working, everything works (it powers on), but screen won't. it's a MacBook Pro

  • Insert Flash Movie

    In inserting a Flash swf file into Dreamweaver; I have tried a variet of settings percentage Height, width. Border alighnments, etc. and can not get the entire Flash mocie to fit into an HTML. About 80-85% of the movie is visable. Meaning it plays th

  • Calculating Fan in / Fan out of a metrics project

    Hey I am in the process of a coding a OOD metrics project. I am 90 percent done I just need a few more metric measurements to add to it, and two of the hard ones are fan in and fan out. The project consists of a GUI which allows opening of multiple f

  • Can we debug a idoc?

    can we debug a idoc?

  • 2 fabrics on a switch ?

    Hi I am new to SANs - done the course years ago and now have to put it into practice. Problem is - I have 2 existing fabrics - each with 1 9134 and 1 9124 hosts on the 9124 and storage on the 9134. Now my designer (who doesnt know SANs ) wants me to