How can I duplicate a control in a subVI using the reference?

Here's what I want to do. I have a tree control in my main application. I add and delete items dynamically based on user input. If I pass my tree reference to a subVI, I can add, subtract and reorder the items in the tree and the changes are shown on the main tree. How can I duplicate the tree in the subVI? Would I simply pass the tree control in (which I'd rather not do) or is there some other way to accomplish this?
Thanks in advance for any help.
Gary

Here's my attempt.  This VI uses a control reference of the old tree and generates a data structure that can be used by the "Edit Tree Items.Add Multiple Items to End" method to add contents to the new tree that should be identical to the contents of the original tree.  Note that this VI only works with LabVIEW 8.0 and later, since the afore-mentioned method is not available in previous versions.
I hope this helps...also note that I saw some re-draw issues with LabVIEW 8.0, i.e. after the VI ran, I didn't see the tree displayed properly until I minimized/restored the window, or dragged another window over it.  I did not see the redraw issues in LabVIEW 8.2.
-D
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Attachments:
Duplicate Tree.vi ‏21 KB

Similar Messages

  • How can I set up an older airport express using the newest airport utilities?

    How can I set up an older airport express using the newest airport utilities? Seems like there isn't an option to set this up.  Normally you could add/set up this in the airport setup assistant- but that doesn't exsist any longer.
    Thanks for any suggestions 

    How can I set up an older airport express using the newest airport utilities?
    Unfortunately you can't, since Apple dropped support of the older AirPorts with AirPort Utility 6.x.
    Using some workarounds....not supported by Apple.....you might be able to download and install an older version of AirPort Utility that would allow you to administer the older AirPort.
    See this thread for more details and instructions:
    https://discussions.apple.com/message/21397085#21397085

  • I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy

    I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy
    help me please

    You can't. Return the phone for a refund, if you can, because without the previous owner's Apple ID/Password, you will not be able to re-activate the phone. It will be useless to you.
    Apple can't/won't help you with this.

  • How can we share and transfer data at Labview using the internet

    How can we share and transfer data at Labview using the internet
    Dr. Eugene Berman, Moran Kamilyan and Ravit Bar

    [email protected] wrote:
    How can we share and transfer data at Labview using the internet
    Check these links:
    Basic TCP/IP Communication in LabVIEW
    Data Sockets
    Integrating the Internet into Your Measurement System

  • I live in Afghanistan how can I have a free Apple ID to use the free app

    I live in Afghanistan how can I have a free Apple ID to use the free app

    Try to go into the App Store and try to download an app. When you have the option to sign in or create an Apple ID, choose to create one and you should see a 'none' option under payment.

  • How can I set the caption text of picture controls inside an array or how can I choose which array element is assigned using the array elements caption text property.

    I have 8 picture controls inside an array and I would like to set the caption text of these controls.
    I have used the property node of the array and used the array elements property caption text to set the text.
    The problem is however that I set the same text to all the picture controls inside the array.
    My question is how to set caption text of specific elements (Picture control) that I have so far only been able to access using the array elements caption text property.

    Some more help
    1 You could use the caption of the array and place it in front of the selected picture and update that using property nodes.
    2 Like Norbett said if you use a cluster of pictures then their caption can be updated individually.
    Here is a an example that demonstrates the above
    David
    Attachments:
    Modify the Captions Of Pictures.vi ‏83 KB

  • HT201205 How can I connect to a bluetooth devise and use the head phones at the same time? I have a new  ipod Touch  (32GB)'and want to play through a stereo system using the headphone jack and connect to a blue tooth speaker in another room

    How can I

    Not possible, there is a physical switch inside the headphone port, when the headphone jack is plugged in the switch is open and disables the iPod speaker and Bluetooth networks. Cheers.

  • How can I open an AS400 connection w/o using the ODBC in the Control Panel

    Hi.
    Is it possible that i manipulate the ODBC settings in Windows NT using Java?
    I've been using the Client Access ODBC Driver (32 bit) of IBM to connect to AS400 database. Normally i would just configure my DSN and input the default library inside the Server tab that i would be using . All was working perfectly. But i was informed that the default library would vary depending on the data inputed in the library database.
    As in, in our SQL Server they have there a tbl_library where in lib_type is one of it's field. This(lib_type) is where they can specify which library my program would be opening. So in this case, I can't just manually configure my DSN library when retrieving data from AS400 because it would always vary.
    Thank you very much for your time.
    -marlin
    ps.
    Btw, i am doing a servlet for this connectivity.

    If you use the JDBC driver that's included in the AS/400 Toolbox for Java you don't need to use ODBC at all, you can access the AS/400 directly. See this link:
    http://www-1.ibm.com/servers/eserver/iseries/toolbox/

  • HT1212 I just updated my Ipad 2 to IOS7, now it is asking me for a passcode. I never set a passcode on my Ipad, so how can I enter a passcode. I tried using the OIS7 passcode I use on my Iphone  and it did not work and now my Ipad is disabled

    I just updated my Ipad 2 to IOS 7, now it is asking me for a passcode. I never set a passcode on my Ipad, so how can I enter a passcode. Earlier today I upgraded my Iphone 5 to IOS 7 and it asked me to set a passcode, which now works fine on my Phone. I  tried using the OIS7 passcode I use on my Iphone 5 and it did not work and now my Ipad is disabled. Both devices are on icloud and share the same apple id. The Ipad screen says slide to set up but then there is a prompt for passcode, not for setting up passcode

    I called Apple Support and a supervisor helped resolve this for me on my iPad. I suggest calling them for help as this is obviously an issue with the iOS 7 update - she helped me without charge. I could be missing something in my upcoming description, so do not take this as complete - call them.
    I had to update iTunes on my Mac Air to the latest version, and I had an iCloud backup from the day I updated to iOS7. Have iTunes open but do NOT connect your iPad yet. Shut down the iPad. Then press/hold the Home key on the iPad while you connect the USB from the iPad to the computer (an image of the USB cable appeared on the iPad). Follow the prompts in iTunes to restore and then backup using iCloud. When the iPad rebooted again to do the backup install, I got the same pass code issue and iTunes would not recognize the iPad without entering a pass code. I disconnected the iPad, turned it off, pressed the Home key while connecting the USB cable. When I did the restore and backup from iCloud the second time, it worked without the pass code issue occurring.

  • HT204053 I have forgotten my questions and answers for my password. How can I replace them. I want to use the same password I have ?

    I was on the phone for almost 2 hrs. yesterday because I had so many passwords I couldn't remember the one I used for itunes. The fellow helped me get it all straightened out but it still wouldn't let me get in because I couldn't remember the questions and answers. He was going to take care of it at that end and told me to wait 24 hours. So I'm at it again. I got into itunes but when I try to retrieve my previous apps,it wants me to put my password for that as well and then I'm in the situation with it not accepting my password so when I try to change my password it then wants me to answer the question and answer so now I'm thinking I have more than a seizure disorder and it's driving me to the point of no patience. Can you help?
    Anna

    Chick3597 wrote:
    Regardless of apple updating something or another. I have no need for the additional questions and really don't want to allow them to bully me into compliance.
    You may have no need for additional but Apple does. They don't want your iTunes account to be hacked and then go complaining to them that their security procedures are not up to standards.
    Chick3597 wrote:
    So how can I continue in the good old fashioned way?
    Its really absurd to even ask this in light of the information that you have been given already. The "old fashioned" way is gone. It's Apple's store, Apples's rules and IMO - its a wise decision on Apple's part.
    You do not have to comply at all, but you will not be able to purchase from iTunes anymore, but nobody is going to force you to do something that you do not want to do.

  • How can you develop photo galleries with multiple pages using the web module?

    Going through the web module I can see there are many options for developing a web page with a single collection of photos.  How can you develop a web site with multiple pages containing different categories of photos using the Lightroom web module?

    This thread will give you several ideas.
    Re: How do you embed a gallery into an existing website?

  • How can I save captured clips to hard disk using the actual video recorded date, not the date I transferred it?

    When using Batch capture in AP5.5, the clips are saved to hard disk using the capture date as the Created Date and Modified Date.  How do I configure Premier to use the actual clips recorded date (Meta Data Basic/Date Created) so that I can view them in Windows folders and other applications based on the date the video was recorded, not when I imported it.

    AFAIK, there's no way to do that with Premiere Pro.  You can probably find a utility on the Internet that will change the dates for you after the fact. 
    Cheers,
    Jeff

  • How can I write a array to other subvi when the program running?

    Hello
    I am working on a project with labVIEW, In the programme I made, there is an Case structure. And there  are several subvI, each subvi
    belongs to one case.My question is when I process the data I a certain subvI, how can I wrtie this file(an array)  to another subvi and
    show the file name in a listbox?
    Many thanks

    You could try using a global variable or  a shared variable. 
    Brian

  • How can i turn off Find My iPad without using the iPad?

    My swipe screen has stopped working completely on my iPad. Very disappointing as it is only 18 months old and has been well looked after! I have tried holding down the off/on button and menu button to reboot but this doesn't work. I have now logged the fault with Apple and have an appointment to see someone in the support team this Monday. However, I wanted to try one more thing. I want to restore to factory settings as I've read that this could resolve the problem. When I plug it in to iTunes and try to restore iPad i get a warning message telling me I need to go to iCloud settings on my iPad and turn off Find My iPad before restoring. As I cannot use the iPad I cant do it from there. Is there another way? Please help me, I want to weep!

    FORCE IPAD INTO RECOVERY MODE (this will disable Find My iPhone)
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.
    3. Repeat the process if necessary.

  • How can I print an 8x10 picture and not use the print tray

    I want to load photo paper into the regular paper tray and print but the system only prionts images onto the 4x6 paper. I've only had the printer one day and already I find it confusing, If I cannot print like I was able to using my old Epson printer, I think this ius the wrong hardware for me

    How can I print photo's larger than 4x6. The paper tray will not take a larger size photo pPer

Maybe you are looking for

  • External Firewire as Main System Drive...

    anyone have any comments on using an external Firewire drive as your main system drive? the stock 80GB internal drive in my mini is filling up at an incredible rate, actually had to offload my entire iTunes library just to clear some space, so i was

  • Apple Website Needs E-Mail Contact Info

    It would be nice if Apple would put some E-mail contact info to an Apple rep because no every issue can be solved by the online FAQ and other help files. Now I know there is a number but not everyone has access to a phone. Now myself, I am in a stran

  • DPS attempting certificate based authentication with Directory Servers

    I'm running DPS 6.3 and DS 6.3. I have DPS configured to always connect to the directory servers over SSL. This is working, however, all of the Direectory server error logs are showing certificate based bind attempts originating from the DPS. This re

  • WCS and WLC checklist

    I have a customer that ordered the WCS application, a 5508 WLC and (38) 1142 APs. Does anyone have a form that I can give to the customer to fill out as a guide to help with the installation and configuration which he can fill in the information need

  • Running low on disk space...

    My G4 main hard drive is down to a few GB. I have plenty of space on another internal and several external drives. I noticed my Library is about 37 GB. Are there any files (besides what is in the App folder)that can be moved or deleted to make more s