Saving and then populating the vi when loading

Hello,
what i have is a vi that if i seclect a boolean control to be true then an array value will go into a string indicator.  the boolean controls that are selected are then put into a boolean array.  what i would like to do is save the the string indicator and the boolean array and then when i try to load the saved file it will populate the indicatiors again.  can someone show me how to do this.  also, how do you convert a boolean array to an xml file.  thank you
i attaced a vi that is simple that creates the string indicatior and boolean array.
Attachments:
setup save.vi ‏19 KB

Could not open your VI as i do not have labVIEW 8.x installed on my system
But this is what I understood.
You want to save a boolean array ( Which corresponding to states of the controls) and a string array ( is it??)
What I suggest is , bundle them into a cluster, write to a file.
You can always read that file ( Note: define the byte stream type to be the same as what you write into the file), unbundle these arays and use it to update your Indicators.
look at attached Pic
Message Edited by devchander on 08-30-2006 10:49 PM
Message Edited by devchander on 08-30-2006 10:52 PM
Attachments:
cluster write.PNG ‏8 KB
cluster read.PNG ‏7 KB

Similar Messages

  • Can we drop and then recreate the indexes when database is open.

    Can we drop and then recreate the indexes when database is open.

    I am trying to drop the index not happening..any suggestion..
    I tried :
    drop index index_name >>> index does not exist, though it exist on particular table
    drop index table_name.index_name
    drop index index_name on table_name; >> SQL command not properly ended
    Could you suggest me how would i drop it

  • Apple logo pops up and there a grey loading bar underneath it and then once the bar is loaded the computer turns off. Help please

    My charger has a shortage in it and now everytime I start the computer the apple logo pops up and there a grey loading bar underneath it and then once the bar is loaded the computer turns off.

    Time to visit an Apple repair station.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Curious about the iOS 5 software that is coming out.  If I wait til its release to buy my iPhone 4 will it come with the iOS5 software already on it?  or should I go ahead and buy my iPhone 4 and then update the software when the iOS5 is released?

    curious about the iOS 5 software that is coming out.  If I wait til its release to buy my iPhone 4 will it come with the iOS5 software already on it?  or should I go ahead and buy my iPhone 4 and then update the software when the iOS5 is released?

    Keaten wrote:
    Yea I would have to say wait until the release of IOS 5, because the phone will probably run it a lot smoother. I mean go ahead and buy the Iphone 4 if you are dying to have it, because you can just update it which is no big deal at all, but it would be the smarter thing to wait for the new updates.
    And the networ issue as far as I am aware is fixed on the Verizon iPhones, so it really depends on which service you have.
    - correct me if i am wrong
    Have to disagree here, Apple have not even announced an iphone 5, it is pointless to speculate that we will see one or not see one until Apple actually releases a statement. ios was built and tested on the iphone 4 so there will not be any slowdown or laggyness compared to a phone that has not been released yet.
    If we are advising potential apple product buyers then we should not be putting them off buying a iphone 4 on speculations alone. Just because apple have for the last few years released an iphone every june/july does not mean then have to stick to this approach.
    Apple have not issued any statement regarding an iphone 5, until this time it does not exist, only in heresay on the internet.
    Any one looking to get an iphone 4, to you i would say waiting until ios 5 is released is a personal choice, no matter if you wait or not you will be able to update via itunes. One way or another in the future you will have to do an ios update via itunes whether this is the 5.0 software or 5,2,1.
    Please note that Apple are very closed mouthed about new hardware releases and potentially a new iphone could be round the corner, however there is no evidence to suggerst this, i.e Apple have not even mentioned an iphone 5 this year anything you hear towards the contrary is media spin thus far and speculation.
    ios 5 was built and tested to work seamlessly on iphone 4, the beta software released to developers is being tested on iphone 4. Please do not listen to people telling you that the iphone 4 will not run this ios as well as a phone that does not exist yet. When iphone 5 launches it will most likely have dual processors and not until its launch will the next gen apps start appearing.

  • . Try saving to disk first and then opening the file. when I download

    C:\Users\howie\AppData\Local\Temp\incredimail_install-12.exe could not be opened, because an unknown error occurred.
    Try saving to disk first and then opening the file.

    Did you try saving to disk first and then opening the file?

  • I have totally "uninstalled" what I had and then reinstalled the newest  version of itunes.  Still......  First, when I click on the itunes icon to load it takes the program anywhere  from two to three minutes to load.  None of my other programs take this

    I have totally "uninstalled" what I had and then reinstalled the newest
    version of itunes.  Still......
    First, when I click on the itunes icon to load it takes the program anywhere
    from two to three minutes to load.  None of my other programs take this
    long.
    When in the itunes program I can be moving around in my library and itunes
    when choosing a song or songs, choosing file, edit, etc,. whatever command I
    choose it just suddenly stops.  I can issue five commands and watch each one
    respond in 30 second to two minute intervals.  I can issue several commands,
    even shutting down, and it will do all but takes several minutes to do so.
    My itunes program was working fine when this problem suddenly arose.
    Terry

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99436)

  • HT4539 I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    itunes will only sync with an ios device.
    On the other hand, if you have a usb cord for your mp3 player, and you know what FOLDER your itunes music is located in (and for me its located at C:\Users\YOUR NAME HERE\Music\iTunes\iTunes Media  )
    you can just select that folder and copy it to your mp3 player.
    typically when you first plug in something like an mp3 player you get a windows alert asking if you want to view the contents of the device- say yes. copy your itunes folder to the music folder on your mp3 player.

  • I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    I just down loaded itones to my computer, then bought a bunch of music.  How do I add the songs to my mp3 player.  When I go to "file" and then devices the button that says sync isn't availlible to push, so I cant put the music on my mp3???  Help

    Which mp3 player?  iTunes will only sync with Apple devices.

  • When viewing documents on a Web Server, IE automatically opens a blank page and then opens the document in the default program. The blank screen should close automatically but isn't happening.

    So here is the situation, my company uses a third party scanning software, that puts documents scanned or created onto a webserver. We use a program that grants a user access to view the documents on the webserver. The user will have to log into the system
    using credentials, we have Kerberos doing this. Once the user is logged onto the system they navigate to the document they want to view or edit. So the user wants to view a .pdf file, they click the document they want, and it is supposed to open in the default
    program associated with file extension. ie: .doc would open Word, .xls would open Excel. When the document is loading in the default program Internet Explorer opens a blank page, this page is supposed to prompt the user if they want to open or save the document.
    (I changed the registry to have the files selected to automatically open without this prompt.) The blank screen generated is still staying open, this screen is supposed to close automatically after the prompt or close automatically after the document is opened.
    So when a user is looking at several documents, this floods the screen with all these blank Internet Explorer pages. This problem is only occurring for users that have Windows 7 PC's, XP users do not have this problem at all. My PC is the only one in the company
    that is Windows 7 64-bit, and working properly with the IE blank page automatically closing. I'm wondering what can be done to fix this problem, is it as simple as registering some .dll files or do I need to make a registry change? Any help would greatly be
    appreciated.

    What is the registry change exactly?  Sounds like one which is supposed to avoid the prompt.  I know
    that there used to be such a thing, before the new prompt and I know that some users think that there should be such a thing for any program but I'm not sure if that expectation is valid or not.  I think this may also be related to a concurrent change
    in the OS.  E.g. in XP we had File Types Options editor but starting in Vista that was removed.  You might get some more clues on this tack from NirSoft's FileTypesMan utility.
    The registry change that I did was to remove the open and save prompt. I will be sure to look into that. Our company
    isn't worried about the user's automatically opening the files since they are all trusted. They also do not have the ability to install anything, so if they were to download a potentially harmful file they could never install it. We monitor downloads as well,
    if they download files off the internet that aren't work related we remove their download capabilities.
    Sounds like a scenario for using ProcMon to take two traces and compare them for their essential differences.
    I talked to my boss about using this tool and he is worried about using it. I'm only an intern at my office and do not have the authority to use a program without their knowledge or consent. I will run the idea by them again and see if it's okay I use this.
    I'll maybe make some presentation about how it can help us with our problem and how much time and money it will save. Because I really want to get down to the bottom of this.
    Probably the most significant thing is going to be the Content-type that the files are being served by. 
    You could use the Developer Tools, Network Capture to check on that and ProcMon could help explain what happens after that.  A related workaround to change the symptom when the Content-type is not what is expected is to disable MIME Sniffing (e.g. in
    Security options, Miscellaneous section).  In fact, perhaps that could explain your machine's difference with anyone else?  MIME Sniffing is a default, previously known as "save according to type not extension" (or some such wording).
    Okay I will be completely honest I have no idea how to use Developer Tools (F12), yes I could google it, when I tried using it on the blank pages it would never work, I also have no idea what I'm looking at. I should mention that I do not have access to
    the web server. Our programming and development side only has access to our AS400, which is where the web server is located. I do have MIME Sniffing enabled and so does everyone else. I may be wrong but, I believe it is needed in order to open the file extension
    in the correct default program, yes? I thought MIME Sniffing would see a .docx file and then find the appropriate program to open that .docx file in. I may be wrong but I know it's used somehow along these lines.

  • Just bought a new iphone4 and was loading os6 and now it won't turn on. the apple glows like it is starting up, then the screen goes black and then repeats the same process over and over. i have tried to reboot multiple times now

    just bought a new iphone4 and was loading os6 and now it won't turn on. the apple glows like it is starting up, then the screen goes black and then repeats the same process over and over. i have tried to reboot multiple times now

    I am assuming the phone was working prior to you installing IOS 6? Did you use itunes to install IOS 6 or just run from the phone?
    When I tried to do the Over The Air update to IOS6 on my iPhone 4, it errored out and I had to connect it to iTunes and select "Restore" from the summary screen after iTunes finds the phone is connected. If this works for you, it will go through a couple of reboots that take a few minutes to complete. It should then give you the option to start with a fresh new phone or to use one of your previous backups to load your contacts and other information, provided you have backed up the phone previously.
    I hope this helps you my friend!

  • I just purchased an iPhone 5 and my phone has many duplicate contacts on it.  I want to edit my contact list that's saved on the cloud and then replace the contacts on my phone with the edited list.  I have spent hours but no success yet.

    I just purchased an iPhone 5 and my phone has many duplicate contacts on it.  I want to edit my contact list that's saved on the cloud and then replace the contacts on my phone with the edited list.  I have spent hours but no success yet.

    Okay
    So when you edit in iCloud you are not seeing an update on your iphone?.  I just did a test in iCloud.com and it changed my iPhone contact list in less than 1 second.  So iCloud is functioning fine.
    If you delete all the contacts on your iPhone and if you are properly synced they will all be wiped out on iCloud.....ugh!  So let's not do that...
    Your plan should be to make all the changes in iCloud and have them flow down to your iPhone.  That sounds what you are trying to do anyway.
    So. if you delete a contact in iCloud or edit a contact in iCloud then you are not seeing the changes on your iPhone?
    If so then they are not properly synced..... but I wonder how you have any contacts in iCloud.
    Let me know if you are seeing any changes, if mot then we can review the syncing set-up.
    Cheers

  • Accidentally deleted startupitems from library/startupitems on macbook now the computer wont startup and i get the grey startup loading screen with the apple symbol and a loading bar but wont load then turns off.

    hi, please help.
    Accidentally deleted startupitems from library/startupitems on macbook now the computer wont startup and i get the grey startup loading screen with the apple symbol and a loading bar but wont load then turns off.
    i saved these files to a folder on the destop and then turned the computer off. oops!!! now computer wont start up
    How do i put the startupitems back to this folder or beter yet get into the computer to fix this.
    Please please help!!!

    Reinstall OS X, either from disc or a recovery partition. You don't mention which version of OS X you're running so I don't know which it will be.

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • When i take a picture with my iphone and then forward the picture in an email (regardless of picture size) it will not send - any thoughts????? Thanks.

    When I take a picture with my iPhone and then forward the picture to an emaila ddress (regardless of picture size) it will not send the email with the pciture enclosed - any thoughts on how to fix ?????
    Thanks -

    The collum to the right listed similar problems.  The solution appears to be that under smtp outgoing settings the user name and password are listed as optional.  I have not plugged in the information and it seems to be working.  However from my office it always allowed the relaying.  The true test will be when I try to respond later from the road.
    Thank you for your help.

  • HT2513 I have a mac and an ipad.  when i create and ical event on my mac and then sync to my ipad, the event replicates;   however, when i create an ical event on my ipad and then sync, the ical event does not sync.

    Question:  I have a mac and an ipad.  when i create an ical event on my mac and then sync, the event transfers to my ipad. HOWEVER: when i create an ical event on my ipad and then sync, the event does not transfer.  what am i doing wrong???
    cadybill

    Greetings,
    Go to Apple > Software Update and install all available updates until no more are offered.
    On iPad go to Settings > General > Software Update and install any updates.
    Follow this article for issues with calendars: http://support.apple.com/kb/TS2481
    Hope that helps.

Maybe you are looking for