How do I cleanly pass in a bunch of references to a subVI?

In a subVI, I use references to grab current control values and change properties of those controls according to those values. I'm only passing three references in, but even if I array them together to reduce input size, they clutter up my block diagram. They're also preventing me from turning some spaghetti code into a subVI, as they dont remain consistent through the edit->create subvi process. Is there some better way to handle this?

I go for one of the following options:
- Create a non-strict reference terminal on the front panel of the SubVI - useful when it's only one or two references you need.
- Bundle up the references into a cluster and then convert it into a type definition. I can then unbundle any of the references I need within the SubVI. This is good if you want to perform specific actions on specific references in the SubVI (e.g. update string, set colour of button etc.) and it keeps the correct class type
- Create an array of references. This is useful if you want to perform the same action on multiple items of the same class (e.g. setting visible / enabled state which can be done on any control/indicator). They'll get type-casted to the common parent class which means that some specific methods won't be available unless you cast it back inside the SubVI.
 

Similar Messages

  • How can I store my video footage in one library? Currently I have video clips in itunes, iphoto, movies folder, imovie, imovieHD... probably some duplicates, How can I clean this up?

    Currently I have video clips in itunes, iphoto, movies folder, imovie, imovieHD... probably some duplicates, How can I clean this up?

    Yeah, this is frustrating for me, too. I tried a few different variants: keeping everything in Aperture, keeping only videos in iPhoto, keeping videos in Movies folder, etc. Reason being I'd like to be able to sync some videos back to the iPhone will keeping access available for iMovie - which is tougher than it should be. Now that the iPhone does HD videos, Apple needs to either adjust iPhoto to work with videos better or work with iMovie to actually function as a movie database as well as editor.
    For now, I, too, have my stuff strewn about on my Mac but I'm trying to consolidate as much as I can into iMovie events on an external drive. I have a bunch of video clips of my 2 year old and I've decided to just group them by year and then put together an edit of each to then put into iTunes so I can view them on AppleTV as well as sync to my iPhone. I figure I won't ever sit down and watch every single clip so I might as well put together the "highlights".

  • How can i clean this

    i have a bunch of nasty scratches and stains on my ipod. How do i clean them.

    ive tried brasso and that todd dailey solution. It worked on my other white 30 gig, but not the black one. and i dont have iklear. Here a picture of my ipod.
    http://i10.photobucket.com/albums/a131/paki123/Picture002.jpg
    apple Mac OS 9.2.x

  • My iPad screen is stuck on an alert message telling me that I have not backed up to iCloud in 5 weeks. How do I get pass this alert message?

    My iPad screen is stuck on an alert message that is informing me that I have not backed up to iCloud in 5 weeks. How do I get pass this alert message.

    I have been dealing with this problem since upgrading to ios 6.  I have an old ipod touch that is still running ios 5.? that backs up daily with no problem whatsoever.  I have attemped every solution posted on these help boards (i.e. deleting accounts, turning off all apps from back-up, restarting device, changing routers, attempting back-ups through different wifi spots) sometimes one or a combination of these band-aid fixes will work for a day or two, then suddenly the ipad (version 3) will simply stop backing up, and I will spend hours of frustration going through all the tedious fixes.  All the while my old ipod touch running ios 5 backs up daily with no problem whatsoever.  I have called Apple support and they seemed surprised that this is a problem and offer no real solution whatsoever.
    Until Apple gets their head out of the sand on this one, and actually fixes the obvious bug that exists is ios 6 this problem will continue and will not be resolved.

  • TS4009 How do I clean up mail in my icloud?  I have already deleted old mail on all devices, and emptied the junk & deleted files, but it still shows that I am at max on my icloud. What do I do to free up space? (photos & apps do not take up that much roo

    How do I clean up mail in my icloud?  I have already deleted old mail (from all my e-mail accounts) on all devices, and emptied the junk & deleted files, but it still shows that I am at max on my icloud. What do I do to free up space? (photos & apps do not take up that much room).  When I go to manage storage on any device & it will display how much room each program or app is using, it still shows that my e-mail is taking up the most room.  Is there a way to actually log on to the icloud server to manage what it stored there?  If so, how do I do it?  Also, on a related subject,  why does my mail not sync accross all devices?   ie. when I delete an email on one device, why do I still see it on all my other devices?  How can I change this?
    I have an iphone5, ipad2, ipod 4th gen, ipod 3rd gen, all running on my same apple id - but I have a PC not a Mac home computer - is this part of the problem?  Looking to upgrade to a Mac sometime this year...
    Thank-you for the help!

    beckyfromoz wrote:
    I do have the Time Capsule and spoke to Apple Care here in Sydney about it yesterday.  They told me my mail is not backed up there unless I create a special folder. I just tried ringing them again but Apple Care is closed today...
    Mail is backed up automatically. If you make backups automatically, open Mail application and then, open the Time Machine app (in /Applications/Utilities). You will access to the Time Machine interface, and you will be able to see all your mails of all the backups you have, and you will be able to restore them. It means that your mails are backed up onto the Time Capsule

  • How can I clean up queue one-time on Sun Java system messaging 6.3

    Hi,
    <address>Our Email server have a problem, When I run _./imsimta qm directory tcp_local_, There are about 5 Millions of messages in the queue.</address>
    Now our Email server send messages very slowly, how can I clean up queue one-time?
    the command _./imsimta qclean_ is very slowly.
    What can I do to prevent this problem?
    our Email server version is :
    Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)
    libimta.so 6.3-6.03 (built 17:12:37, Mar 14 2008; 32bit)
    SunOS email-1 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V890
    Thank you !

    If you have more than 100,000 messages in the queue, then look at the MAX_MESSAGES parameter in [the job_controller.cnf file|http://wikis.sun.com/display/CommSuite/Job+Controller+Configuration+File]. If the parameter is not specified, it defaults to 100000. If you have more than that number of messages in the channel queues, it will take a long time for new/legitimate messages to be sent because job_controller is only considering the first 100,000 messages in the queue.
    If you get into the "imsimta qm" command do do "sum -database", it will show a summary of what job_controller has in its internal cache and therefore what job_controller is working on. If you compare that to "sum -directory" you will probably see a difference.
    If these are all legitimate messages, you need to increase MAX_MESSAGES, cnbuild, and restart job_controller.
    If they are not, then preventing this in the future will require determining how they got into your queue and correcting that.
    As for removing them, the "imsimta qm" commands allow you to select messages by various criteria and then you can "return" or "delete" them. But yes, that will take a long time if there are many messages because it is a single threaded process and it needs to open and examine each message. You may be able to accomplish the task more quickly with a shell script that works on individual channel queue subdirectories and then run multiple copies of that script in parallel. After you have cleaned out the queue, restart job_controller.
    Also, you might want to consider [the subdirs channel keyword|http://msg.wikidoc.info/index.php/Subdirs_and_nosubdirs_Channel_Options].

  • How do I clean the fans on my 2011 macbook pro 13inch

    I have a early 2011 macbook pro 13 inch. It travels with me every where I go. I have had the computer almost three months now and have not had a problem with it.  Some how, debris got in to the fans. I am thinking it some how got sucked in to one of the intake vents. I hear it  (not often) ratteling when I move the computer or tilt it ECT.  It sounds like somthing is blowing around in the fan.  It is a scarry sound.  At first I thought it was the hard disk.   I know it is not the hard disk because I was listening to the computer  when it was making the sound and it is comming from the back end of the computer, nowhere near where hard disk is located. My question is, How do I clean/ remove the debris? should I be concernd?  other than that the computer runs normaly

    Personally, I wouldn't touch them directly.  Use a vaccum (don't use one of those compressed air cans) to vacuum out all the stuff/dust/hair/etc.  Do not try to remove them.  Do not try to shove a stick or something in it.

  • My mac is running extremely slow lately how can i clean it

    my mac is too slow lately how can i clean it

    Yes. But what ever you do, don't buy any of the so called "cleanup" software. It is all worthless crapware.
    Try http://www.thexlab.com/faqs/freeingspace.html
    or http://www.thexlab.com/faqs/performance.html

  • I have duplicative song files in my library that are grayed out.  This seems to cause a syncing problem to my ipod or iphone.  How can I clean up this mess?

    I chose to let iTunes rearrange my files and it appears to have duplicated them in my computer's drive.  So now I have the same folders/files directly under my D drive (second computer hard drive) and also in the iTunes Music Folder that iTunes created.  Wasn't sure what to do so I did another import and now I have files in my library that are grayed out with the small i symbol in the circle next to them.  I also have the working (bolded) files too.  How can I clean this up?

    Musicman05 wrote:
    Is there a way to override the 256kbps "conversion" when uploading to iCloud? 
    No. All music that is mirrored in the cloud will be AAC@256 Kbps.
    Musicman05 wrote:
    Along the same lines, if I "download" a song from my library to my iPhone, then plug my iPhone into my computer and sync the song file from my computer, will the higher quality original file overwrite the 256 one? 
    No, because with iTunes Match enabled on an iOS device traditional syncing of music via USB is disabled. All music management is done directly on the device.
    Musicman05 wrote:
    Also, if I want to syncronize another computer using iTunes match, how can I get the higher quality audio files?  Will I simply have to transport all of them by an exernal hard drive or thumb drive?
    You will first have to copy the high-quality audio files to the computer, add them to the iTunes library then enable iTunes Match.

  • How can I clean my Mac Book Pro completely to hand it over to an other user ?

    How can I clean my Mac Book Pro completely to hand it over to an other user ?

    Follow these directions:
    http://www.thesafemac.com/how-to-prepare-your-mac-for-sale/
    Ciao,

  • I am a serviceman deployed to East Africa, and I bought an itunes gift card but cannot use it to purchase anything because itunes sends me to the billing page for a credit card but I only want to use the gift card, how do I get pass that?

    Hello, deployed an want to use an itunes gift card after I put in the number to use it and purchase music itunes continues to take me back to the credit card billing page. I only want to use the gift card, how to I get pass the credit card billing page. Also as soon attempt to put in my new credit card number it immediately times out can this be associated to where I'm located?

    Go to your account on your computer and set the credit card to none. This will allow you to use the gift card.

  • How can I clean all the junk files from my iMac so that it can run faster?

    How can I clean all the junk files from my iMac so that it can run faster? Its been slowing down ever since I started using it.

    Before doing anything, we might be able to help with your iMac issues here.
    Please download, install and run Etrecheck.
    http://www.etresoft.com/etrecheck
    Copy/paste its report here in another reply thread so that we have a complete profile of your Mac's hardware and installed software.

  • I just purchased the Iphone 5 and i want to give my iphone 4 to a family member but there's a passcode set on my restrictions that i don't remember. How can I by pass this?

    I just purchased the Iphone 5 and i want to give my iphone 4 to a family member but there's a passcode set on my restrictions that i don't remember. How can I by pass this?

    Restore the iphone as new

  • How do I fully cancel a synchronization with flickr? How do I clean up my get my Aperture library to accurately reflect what's on Flickr?

    I went to add one photo to my Flickr site yesterday and I must have had the whole project selected because it started to upload all 635 photos in the project. I realized this about an hour later when I came back and I managed to pause the synchronization, but I can't seem to cancel it. Clicking on Cancel Task doesn't do anything.
    I need to cancel the rest of the synchronization, and then what I would like to do is somehow make sure that what I've chosen to be in my Flickr account is what Aperture thinks should be in Flickr account.
    I went into my Flickr account and deleted all of the ones I didn't want. I ended up keeping more than the one I intended to upload, but I sure didn't want all of them. So, right now, the Flickr account is correct, but my Aperture Flickr library is probably all screwed up. How do I clean up my Aperture library to accurately reflect what's in Flickr?
    Before I just upgraded to the latest version (after upgrading to Mountain Lion) when I tried to synch to the main Flickr set I've been working in, I got a message saying that Aperture could only add the first 500 photos (I only had about 110 photos in the set), so I'm wondering if I had already somehow accidentally added everything at that point, but it wouldn't do it, then I upgraded and now it's trying to synch everything.
    OS: Mountain Lion
    Aperture: 3.3.2
    Thanks.

    I went to add one photo to my Flickr site yesterday and I must have had the whole project selected because it started to upload all 635 photos in the project. I realized this about an hour later when I came back and I managed to pause the synchronization, but I can't seem to cancel it. Clicking on Cancel Task doesn't do anything.
    I need to cancel the rest of the synchronization, and then what I would like to do is somehow make sure that what I've chosen to be in my Flickr account is what Aperture thinks should be in Flickr account.
    I went into my Flickr account and deleted all of the ones I didn't want. I ended up keeping more than the one I intended to upload, but I sure didn't want all of them. So, right now, the Flickr account is correct, but my Aperture Flickr library is probably all screwed up. How do I clean up my Aperture library to accurately reflect what's in Flickr?
    Before I just upgraded to the latest version (after upgrading to Mountain Lion) when I tried to synch to the main Flickr set I've been working in, I got a message saying that Aperture could only add the first 500 photos (I only had about 110 photos in the set), so I'm wondering if I had already somehow accidentally added everything at that point, but it wouldn't do it, then I upgraded and now it's trying to synch everything.
    OS: Mountain Lion
    Aperture: 3.3.2
    Thanks.

  • With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?

    With journaling, I have found that my computer is saving a large amount of data, logs of all the changes I make to files; how can I clean up these logs?
    For example, in Notes, I have written three notes; however if I click on 'All On My Mac' on the side bar, I see about 10 different versions of each note I make, it saves a version every time I add or delete a sentence.
    I also noticed, that when I write an email, Mail saves about 10 or more draft versions before the final is sent.
    I understand that all this journaling provides a level of security, and prevents data lost; but I was wondering, is there a function to clean up journal logs once in a while?
    Thanks
    Roz

    Are you using Microsoft word?  Microsoft thinks the users are idiots. They put up a lot of pointless messages that annoy & worry users.  I have seen this message from Microsoft word.  It's annoying.
    As BDaqua points out...
    When you copy information via edit > copy,  command + c, edit > cut, or command +x, you place the information on the clipboard. When you paste information, edit > paste or command + v, you copy information from the clipboard to your data file.
    If you edit > cut or command + x and you do not paste the information and you quite Word, you could be loosing information.  Microsoft is very worried about this. When you quite Word, Microsoft checks if there is information on the clipboard & if so, Microsoft puts out this message.
    You should be saving your work more than once a day. I'd save every 5 minutes.  command + s does a save.
    Robert

Maybe you are looking for

  • RMAN 11gr2 ORA-00308 when dulplicate database from active

    Hi, I'm trying to clone a production database (Oracle 11.2.0.3) from HP-UX IA64 to Solaris 10 (Sparc 64) (source on Filesystem, target on ASM) the previous steps was done (same oracle software installation, same patches, sqlnet comunication, etc.) bu

  • FCP 6 playback problems in Digital Cinema Display on an LCD External Monito

    Hi Looking for advice. I am running FCP 6 and have hooked up my Macbook Pro to an external LCD SAMSUNG Flatscreen TV. I want to preview my edit as I cut but Im having problems with playback. When I hit play the video freezes on the one still image on

  • Ibooks template too wide for my image

    If you go to Ibooks author it only allows you to select the larger template,  How do I change it to the thinner vertical rectangle that other authers are using ? I am providing 2 book covers, the top one is the one I want, but the bottom one is the o

  • Outer join with tow columns foreign key

    If I want to select from two tables (A and B) with outer join on table "B" and I have two columns foregn key between the two tables what is the correct way: 1) ...from A,B where A.key1 = B.key1 (+) and A.key2 = B.key2 (+) 2) ...from A,B where A.key1|

  • Alternative for 'embed'?

    For loading external texture-images I use embed, like: [Embed(source = "../Assets/Textures/GUI.png")] " private static const GUITextureAtlasTexture:Class; Somewhere I red that the embed-tag makes apps load low, so now I want to replace this line for