Can anyone plz tell how to bundle a color box?

Hi all, 
I am trying to pass the color of a color box control from one vi to another vi by bundling it into a cluster and passing the values. There are some other values also which are bundled along with the color. In the second vi when i tried to unbundle the cluster passed from the first vi and then wired the color passed, to a color box, it is getting connected and showing the correct color . But when i am trying to connect the whole bundle to a cluster, it is not gettting connected because of the color box in the cluster. 
Can anyone please tell me how to solve this problem. I have herewith attached my 2 vi's which i am working with.
Thankful regards,
Nitz
Solved!
Go to Solution.
Attachments:
vi1.vi ‏27 KB
vi2.vi ‏11 KB

Hi Nitzy,
gaa, I'm color blind now
Well, in your vi2.vi you call a subVI (inputmodule2), which you didn't attach... There's no direct connection between vi1 and vi2...
-You also have a big race condition in your vi1 because of all those colorbox locals - when more than one condition is true you can't predict which color is used...
- Why don't you use UnbundleByName?
- VI2 shows no wiring error...
- Why don't you use a cluster in VI for all your inputs? You can hide the border and place the cluster elements in the same way. No need for several locals for initialisation and no need for a bundle node...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • Can anyone plz tell me the steps for performance tuning.

    hello friends
    what is performance tuning?
    can anyone plz tell me the steps for performance tuning.

    Hi Kishore, this will help u.
    Following are the different tools provided by SAP for performance analysis of an ABAP object
    Run time analysis transaction SE30
    This transaction gives all the analysis of an ABAP program with respect to the database and the non-database processing.
    SQL Trace transaction ST05
    The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use.
    Need for performance tuning
    In this world of SAP programming, ABAP is the universal language. In most of the projects, the focus is on getting a team of ABAP programmers as soon as possible, handing over the technical specifications to them and asking them to churn out the ABAP programs within the “given deadlines”.
    Often due to this pressure of schedules and deliveries, the main focus of making a efficient program takes a back seat. An efficient ABAP program is one which delivers the required output to the user in a finite time as per the complexity of the program, rather than hearing the comment “I put the program to run, have my lunch and come back to check the results”.
    Leaving aside the hyperbole, a performance optimized ABAP program saves the time of the end user, thus increasing the productivity of the user, and in turn keeping the user and the management happy.
    This tutorial focuses on presenting various performance tuning tips and tricks to make the ABAP programs efficient in doing their work. This tutorial also assumes that the reader is well versed in all the concepts and syntax of ABAP programming.
    Use of selection criteria
    Instead of selecting all the data and doing the processing during the selection, it is advisable to restrict the data to the selection criteria itself, rather than filtering it out using the ABAP code.
    Not recommended
    Select * from zflight.
    Check : zflight-airln = ‘LF’ and zflight-fligh = ‘BW222’.
    Endselect.
    Recommended
    Select * from zflight where airln = ‘LF’ and fligh = ‘222’.
    Endselect.
    One more point to be noted here is of the select *. Often this is a lazy coding practice. When a programmer gives select * even if one or two fields are to be selected, this can significantly slow the program and put unnecessary load on the entire system. When the application server sends this request to the database server, and the database server has to pass on the entire structure for each row back to the application server. This consumes both CPU and networking resources, especially for large structures.
    Thus it is advisable to select only those fields that are needed, so that the database server passes only a small amount of data back.
    Also it is advisable to avoid selecting the data fields into local variables as this also puts unnecessary load on the server. Instead attempt must be made to select the fields into an internal table.
    Use of aggregate functions
    Use the already provided aggregate functions, instead of finding out the minimum/maximum values using ABAP code.
    Not recommended
    Maxnu = 0.
    Select * from zflight where airln = ‘LF’ and cntry = ‘IN’.
    Check zflight-fligh > maxnu.
    Maxnu = zflight-fligh.
    Endselect.
    Recommended
    Select max( fligh ) from zflight into maxnu where airln = ‘LF’ and cntry = ‘IN’.
    The other aggregate functions that can be used are min (to find the minimum value), avg (to find the average of a Data interval), sum (to add up a data interval) and count (counting the lines in a data selection).
    Use of Views instead of base tables
    Many times ABAP programmers deal with base tables and nested selects. Instead it is always advisable to see whether there is any view provided by SAP on those base tables, so that the data can be filtered out directly, rather than specially coding for it.
    Not recommended
    Select * from zcntry where cntry like ‘IN%’.
    Select single * from zflight where cntry = zcntry-cntry and airln = ‘LF’.
    Endselect.
    Recommended
    Select * from zcnfl where cntry like ‘IN%’ and airln = ‘LF’.
    Endselect.
    Check this links
    http://www.sapdevelopment.co.uk/perform/performhome.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6
    kindly reward if found helpful.
    cheers,
    Hema.

  • Can anyone pls tell how to process idoc manually ??

    hi experts ,
    my process chain got failed at INFOPACKAGE STEP ITSELF which updating data from r/3 to cube via dso ... and in IP monitor screen it is showing that "SOME IDOC PROBLEM "
    i went to to BD87  and checked for idocs status ..my outbound idoc has problem .... its saying that "error passing data to port "
    and on drilling down, it is showing error msg like  """code page couldn't find page for receiving system """"".. (with red status )
    ,if i process these idocs manually ,will it resolve the issue ?? can any  one pls tell me how does this error looks like ???
    and can you please tell me how to process IDOC MANUALLY ??
       IS IT LIKE  "SELECTING IDOC --> RIGHT CLIK --> PROCESS" ??????
    please help with your suggestions
    HELP FULL ANSWERS WILL  BE REWARDED WITH POINTS ..
    Thanks in advance ....
    Harry

    1. Status 02 to 03 : RBDAGAIN / Tcode BD83 > Calls IDOC_PROCESS_ERROR function module.
    2. Status 30 to 03 : RSEOUT00
    3. Status 29 : Problem in ALE settings
    You can refer this link for more details : http://goo.gl/p5XPl
    See status of record and process below programs using submit report by passing Idoc number
    Program RBDMANI2 for status 51 & 52
    Program RBDAPP01 for status 64 ,66
    Program RBDAGAIE for status 32 and 69 (Edited IDocs)
    Program RBDSYNER for status 26
    Program RSEOUT00 for status 30
    Re-process IDocs failing in 29 status, use program RBDAGAIN.
    + Attention : Use these tcodes with extreme caution+

  • Can anyone plz tell me what is order processing and logistics execution?

    Hi Everyone,
              can anyone please spend there precious time on this quest. its really urgent. 
      1) Functional understanding of Order Processing and Logistics Execution.
      2) Functional understanding of Chargebacks and Billbacks.
      3) please provide me some knowledge about XI administration or provide me with some link
    quick and correct answers will b definately appreciated
    thanx in advance
          xilearner

    Hi,
    See these...
    Chargeback -- http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/03fee2dc6a6e99e10000000a11466f/frameset.htm
    Billback -- http://www.buy-rate.com/glossary/billbacks.cfm
    http://www.vistex.com/Solutions/ip/Billbacks/Demo.html
    XI administration guides..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ac6de690-0201-0010-54ac-8923089dcc97
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0b4580be-0601-0010-d3ad-bd6ce51ae916
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/0f00c890-0201-0010-beb2-c96050edc426
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Hey i am an iphone 3gs user and i am scared to update to ios 5..... can anyone plz tell me if it is safe to update....

    should i upgrade to ios5 on my 3gs????
    is it safe to upgrade...?????
    i am really confused as i only have one apple product...

    Virtually no-one has upgraded to 1os5.  They're all frozen in terror!
    But seriously...what do you reckon?
    As long as you haven't hacked your phone it will be fine.  If you have hacked it, no-one can tell whether it is safe or not. It'll be completely at your own risk.

  • Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1

    Hi, can anyone please tell me how to install the Nik collection into Adobe Photoshop CC 2014.2.1 ?

    Glad I could help. Thanks for letting me know I did.
    Gene

  • Hi Everyone, i lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...

    Hi Everyone,
    I lost my KN presentation that i spent a day with my boss to finish it. I lost it by mistakenly shutting down my Macbook pro. Can anyone please tell me how to recover the files back as i'm really2 in trouble and my job depends on it...
    hmmm...how i hate myself for being such a careless person...
    PLEASE HELP ME...
    Thank you in advance.
    Keynotes '09
    Version 5.1.1 (1034)

    How exactly did you shut down your laptop? Not a hard restart (holding down the power button), I hope... if that's the case, then it is extremely unlikely the file is still intact on your computer. If it is, it would be an image on your RAM, and it is time-and-resource-intensive to recover it if it is even there. RAM memory is disposable and always being written over. Sorry dude...
    If it wasn't a hard restart, Keynote should have made a backup, unless you 'Force Close'd it.
    It really all depends on how your mac was shut down.

  • I have finally set up a group in my contacts. Can anyone please tell me how to send an email to the entire group? running Mavericks on iMac

    I have finally set up a group in my contacts. Can anyone please tell me how to send an email to the entire group? running Mavericks on iMac

    Drag the entire group into the To: field of a new message. The group is in your Address Book. You've used a name for it, like My Group. You can simply start typing "My Group" in that To: field and it should appear in a context menu.

  • Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file

    Can anyone please tell me how the attribute node in LABVIEW ( ver 5) in builtin INSTRUMENT I/O exampe file works and how it is being made.............

    Samura,
    After running LabVIEW 5.1 I found in the Search Examples help file a link titled Instrument I/O. Under there I see several examples, one of which contains many attribute nodes. It is difficult for me to tell you pecifically what the purpose of each and every attribute node in this forum.
    Generally, attribute nodes in LabVIEW 5.1 are used to set the properties of the front panel controls and indicators. The properties available in an attribute node are very similar to the properties made available by right clicking on a particular front panel control or indicator.
    If you have a question about a specific attribute node, I would like to ask you to post in a new thread with a detailed description of the attribute node.
    Thank you, and have a great day
    Scott
    Applications Engineer
    National Instruments

  • Connector Specific Error. Can anyone PLEASE tell me in plain english not techi talk how to fix this error?

    Connector Specific Error.  
    Can anyone PLEASE tell me in plain english not techi talk how to fix this error?

    Hey royhanif,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Follow the steps in this KB article to resolve the connector specific error: www.blackberry.com/btsc/KB15294
    Let me know if you have any more questions.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • CAN SOMEONE PLZ TELL ME HOW TO SHUT OFF THE LIGHT FROM FLASHING WHEN I RECIEVE A CALL?

    CAN SOMEONE PLZ TELL ME HOW TO SHUT OFF THE LIGHT FROM FLASHING WHEN I RECIEVE A CALL?

    Settings>general>accessibility>led flash alerts off

  • Since installing the newest version of Firefox 4.0, I am unable to access my work e-mail which uses Lotus Domino Web Access. Can anyone please tell me how to correct this problem?

    Since installing the newest version of Firefox 4.0, I am unable to access my work e-mail which uses Lotus Domino Web Access. Can anyone please tell me how to correct this problem?

    Sheesh. That looks hard. I think it will fall over at this point:
    "Connect to my Exchange mailbox using HTTP" 'cos Thunderbird uses only the regular email protocols: POP, IMAP and SMTP.
    Here (at work) we have in the past have had IMAP and SMTP enabled on our Exchange server so Thunderbird could then connect just like to any other regular internet-based service.
    With the change here to outlook365/outlook 2010 I've had to switch to using DavMail which lets Thunderbird talk to the mail server using OWA.
    I haven't (seriously) tried Exquilla. Whilst I have great respect for its author and some of his other add-ons, I saw no reason to use an add-on that required payment when DavMail works for free.

  • Can anyone please tell me how to stop email previews from appearing on my screen. I have turned off the preview option in settings on both my ipad and iphone, but they still keep appearing.  Thanks

    Can anyone please tell me how to stop email previews from appearing on my screen. I have turned off the preview option in settings on both my ipad and iphone, but they still keep appearing.  Thanks

    works ok on mine - (5, 7.1.1).  Try again.  with previews set to none, mine shows the sender and the subject line only.  (you cannot get rid of the subject)    with the other settings, you get the sender, subject line and however many lines you selected.

  • When ordering a project I'm getting a message " an error occurred while contacting the Apple online store. Please try again"  Can anyone please tell me why I might be getting this message and how to fix the problem.  Thank you

    When ordering a project I'm getting a message " an error occurred while contacting the Apple online store. Please try again"  Can anyone please tell me why I might be getting this message and how to fix the problem.  Thank you

    I've got the same problem.
    It wasn't the case before the upgrade to v 9.2 (Iphoto 11) yesterday.
    The previous solution preferences - advanced - "select a store" (last option) doesn't solve it anymore.
    Thanks!

  • Can anyone please tell me how to reset the passcode on an ipod touch?

    Can anyone please tell me how to reset the passcode on an Ipod Touch?

    Conect your iPod to yur computer and restore via iTunes. Place the iPod in recovery mode if necessary. For recovery mode see:
    iPhone and iPod touch: Unable to update or restore

Maybe you are looking for

  • "Unable to open project file." i need help! URGENT

    before the problem... my film project and all its files were in a WD external drive. i had some problems with soundtrack pro being too slow because the files were on an external drive, so i bought 2 Internal Seagate drives. i moved all my files to th

  • Previous Employment data

    Hi, Is there any application in the ESS for the Previous Employment data(info type 23) ? Thanks, Anumit

  • S the Apple system in the United States is different??

    I went to the branch and they told me we will change your iPhone But then they told me where you bought your iPhone I told them from the Middle East We are sorry we can notchange your iphone because you bought it from the Middle East Been visiting th

  • Default font size for Text screen in customer document

    We use the text function to enter additional customer data for customer invoice correspondence. The data is pasted from a Word document onto an existing invoice document using menu Extras - Texts - select Correspondence then paste. Once pasted the ta

  • Portfolio using Kuler API

    I've been working on creating a portfolio for myself and thought it would be cool to integrate the Adobe Kuler API into it. Here's what I came up with: http://www.joelb.me Feedback on the portfolio design is appreciated, and I'd love it if my site co