Producer consumer "clean up diagram" puts consumer on top of producer

I do File > New... > VI > From Template > Frameworks > Design Patterns > Producer/Consumer Design Pattern (Events)
Then without doing anything to the block diagram or front panel, I click on the "clean up diagram" which does the auto block diagram cleanup.  Bam! Consumer loop is put on top of Producer. 
I tried a bunch of combinations of the Block Diagram options settings (wire spacing, move controls left, etc.) , but the "clean up diagram" always wants to put consumer loop on top of the producer loop.  How can I get labview to maintain the original loop positions?

There is a reason a lot of use do not like to use the Block Diagram Cleanup.  It generally works for simple VIs.  But I would not use it on my top level architecture.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • Producer content is not visible in Consumer portal in FPN

    Hi All,
    we have configured FPN and the connection is successful, but we are not able to see the Producer content in  Consumer portal.
    and we are not able to search the producer roles from Identity Management of Consumer also.
    We did,
    1.  we configured trust between two portals.
    2. Registered Producer.
    3. Remote_role  with  actions aslo added in Producer.
    Thank you.

    Check whether you have proper permissions on the pcd objects (roles/pages/iviews) in producer portal.
    Also check the producer roles have entry point 'Yes'.
    Also you should logon to the producer with the same role atleast once as you are assigning the producer role in conusmer portal(RRA). This is the limitation in FPN.
    Raghu

  • Getting producer resource URLs in a WSRP consumer

    I have 2 WebLogic 8.1 portal domains, a producer (ProducerDomain) and a consumer (ConsumerDomain). The producer domain has a portlet that displays an image that is local to the producer (i.e. http://localhost:7001/ProducerDomain/images/image.jpg). The consumer portal then creates a remote portlet of this producer portlet, and the end result should be that the consumer application should see the image that is local to the producer in its remote portlet.
    The problem is, I can't figure out how to create the URL to the image on the producer side in such a way that the consumer can see the image. I have tried the following in my producer portlet:
    <render:resourceUrl var="theURL" path="/images/Sunset.jpg" />
    img1 = <img src="<%=theURL%>">
    img2 = <img src="<%=request.getScheme()%>://<%=request.getServerName()%>:<%=request.getServerPort()%><%=request.getContextPath()%>/images/Sunset.jpg">
    The img2 URL works fine, because it simply gets the producer URL and hard codes that into the img tag. However, this doesn't seem like the right way to be URL writing in WSRP. The resulting values in the consumer remote portlet are the following:
    img1 = <img src="http://localhost:7011/ConsumerApp/resource;jsessionid=GRVL8lVvxvlY8Wj1JGzXSkJ6hJGRM0WhjnkKh5HZLT0wJbygZGYQ!1580368832?_windowLabel=portlet_1_1_1&wsrp-urlType=resource&wsrp-url=http%3A%2F%2Flocalhost%3A7001%2Fimages%2Fimage.jpg&wsrp-requiresRewrite=false">
    img2 = <img src="http://localhost:7001/ProducerApp/images/image.jpg">
    img2 works fine, but img1 does not. I think I'm missing something in the way I should be creating this URL. If anyone has any ideas, they would be greatly appreciated!
    Thanks.

    Anyone have any ideas on how to get this working correctly? I've already read through the following document:
    http://dev2dev.bea.com/pub/a/2005/02/urls_in_portal.html
    But I can't seem to see any concrete examples on how to get this case to work.

  • Producer env has timed out. Consumer needs to invoke initCookie again

    00000057 WSRPEngine E com.ibm.wps.wsrp.producer.impl.WSRPEngine checkCookie EJPWC1104E: The Producer environment has timed out. The Consumer needs to invoke initCookie() again.
    How to fix this? Can't increase the producer time out due to some other constraints. Is it possible to invoke this initCooki() method some way
    Producer: Websphere 6
    Consumer: WLP 10.2
    When invoking the remote portlet this exception occurs on a random basis. As per other online resource,
    when a remote portlet is hit a session gets created. You use the remote portlet,
    and the consumer sends the session id to the producer. The producer now
    recognizes this session and the session cookie. Now you work on your
    consumer portal with local portlets, but not the remote portlets. The
    session on your producer times out. If you now work on your consumer
    with the remote portlet, the consumer sends the old session cookie to
    the producer. However, this session is not valid on the producer side
    any longer, and therefore you get this error.
    Please let me know how to fix this without increasing the producer timeout time.
    Thanks,
    Sid.

    So it depends on the fault IBM is returning. WLP consumer should automatically reinitialize the session on an Invalid Session or Invalid Cookie fault. Failing that, you can write an interceptor
    Nate

  • Any way to Lock the Decoration Free Label in place so that the Clean Up Diagram process doesn't move it soemplace unreasonable?

    Any way to Lock the Decoration Free Label in place so that the Clean Up Diagram process doesn't move it soemplace unreasonable? The Clean Up Diagram process moves things to very strange places and often makes the diagram more complicated than it needs to be.
    There should be a way to lock a Decoration Free Label in a location that the Clean Up Diagram will not move it somewhere else.
    Is there such a feature?
    How do you get your Decorations to stay where you put them even after Clean Up Diagram?

    Hey dbaechtel,
    There is a way to do this however you will need to put your Decoration Free Label within a structure.  Check out the following KnowledgeBase article below for more information:
    KnowledgeBase 4TKECSYP: Block Diagram Cleanup Tool Moves Decorations
    Best,
    Chris LS
    National Instruments
    Applications Engineer
    Visit ni.com/gettingstarted for step-by-step help in setting up your system.

  • Problem applying clean up diagram

    Hi,
    Applying Clean up diagram, so that it ordered the scheme, some letters of variables in "Formula Node" are outside the box (some completely), but does not affect operation, anyone know how to fix it and did not write the variable back? . Attached image of a "Formula Node" where the problem arises.
    Thanks
    Solved!
    Go to Solution.

    I would try moving the terminals back to the side of the node instead of being on the bottom.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Theres something really wrong with Clean Up Diagram

    There appears to be some significant problems with the Clean Up Diagram algorithm. It seems that far too much space is padded next to cluster unbundle by name and structure objects. It is really frustrating that some things appear miles apart and others are far too close. I have done a very good job of factoring this application into VIs but the inconsistency around certain objects makes it look terrible.
    Help! I can't read it!
    PS: Prior to now I have been careful not to perform a Clean Up Diagram on the vi containing a case with a large number of sub cases.

    DEppAtNGC wrote:
    As for the feature being "new", it's NOT new.
    Diagram Cleanup was introduced with LabVIEW 8.6 last August. Since this is the latest major version it is a new feature by any reasonable definition.
    I agree that it is not great to be used on excellent code. So far it seems to bring the diagram quality somewhere in the neighborhood of the 70 percentile on my scale (wild guess!). It does a great job on horrible diagrams (it lifts them from very low score), but makes any of my own diagrams worse (they go from the 99 percentile down to 70). Don't expect miracles. I never use it on my own code, but it helped me to make some sense out of nightmare code posted here in the forum..
    DEppAtNGC wrote:
    GET THIS FIXED!!!
    Well, NI is always eager for product feedback, so if you have detailed and constructive ideas about how to improve the cleanup tool, please let them know via the product suggestion center. If possible, include some typical diagrams and describe what's wrong with the current outcome and how you want the results to look like instead. Good luck!
    LabVIEW Champion . Do more with less code and in less time .

  • Problema al aplicar clean up diagram

    Hola a todos,
    Al aplicar Clean up diagram ,para que quede ordenado  el esquema, algunas letras de variables en "Formula Node" quedan fuera del cuadro (alguna completamente) , aunque no afecta al funcionamiento ,  alguien sabe como solucionarlo y  que no sea volviendo a escribir la variable?. Adjunto imagen de  una "Formula Node" donde se presenta el problema.

    You are welcome. I'm glad you got it back up.
    (1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
    (2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
    (3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
    (4) Add some SARE rules:
    Visit http://www.rulesemporium.com/rules.htm and download the following rules:
    70sareadult.cf
    70saregenlsubj0.cf
    70sareheader0.cf
    70sarehtml0.cf
    70sareobfu0.cf
    70sareoem.cf
    70sarespoof.cf
    70sarestocks.cf
    70sareunsub.cf
    72sare_redirectpost
    Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
    backhair.cf
    bogus-virus-warnings.cf
    chickenpox.cf
    weeds.cf
    Copy these rules to /etc/mail/spamassassin/
    Then stop and restart mail services.
    There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck!

  • Can I put only the top image of a stack in a Mobile Album?

    I have an album that contains stacks and I would like to put only the top images of these stacks in a Mobile Album.  Is this possible? 
    I have tried to make a new album and only put the top images in this new album without sucess.  Is it possible to have a stack of images in one album and only the top image in another ablum?
    I hope someone knows about this
    Hans Brodin

    Hi Surendra,
    My target is to find a convenient way to transfer my best photos only to my iPad
    By using stacks for similar photo and putting my best shot on top I reduce the number of images displayed in the organizer.  A typical stack contains of 8 shots.  
    Then I put my best stacks in an album.  By using the Slide Show in PE I have a convenient way to display only my best shot and tha's OK for my computer were I have a lot of disc space.
    But on my iPad the size of memory is limited and it also takes some time to transfer a huge number of images so now I want to find a convenient way of tranfering only the top image of each stack. If I could have a separate album containing only the top images from each stack the task would have been easy.
    Now this is not possible so now I hope there is another solution than acually making a separate copy (a new file) of each top image and put these copies in a separate album.   This will of course work but it will end up in having two identical images showing up in the organizer and so I do not really like this idea.
    I hope I have managed to describe my intention and do you have an idea for a workaround or do I need to make separate copies?
    Thanks a lot
    Hans

  • Cant put image on top of another image

    Hi,
    I'm using keynote 09 with the 'Blueprint' theme. I'm attempting to edit the master slides by putting a company logo in the corner of each slide. This works fine on slides without images, but on slides with images, keynote will not let me put my logo over the image placeholder. The placeholder image always blocks my logo, even when I choose 'Send backward' on the place holder.
    Is there a way around this?
    thanks

    Sorry, I was typing fast.
    The problem is that you cannot put images above media placeholders on master slides. One suggestion was to make my image (my logo comprised mostly of white text) a media placeholder as well, therefore I could edit the master slide and layer my new media placeholder (logo) above the default-already-existing placeholder (some architectural image in the blueprint theme).
    This works but has an additional problem.
    Since my logo is white text, I wanted for it to stand out from the picture beneath it. As I sometimes do, I thought I should place my white-text-logo on top of a small black rounded rectangle with transparency (like a cartouche).
    I like to do that because it makes my logo legible, while still showing the picture through the transparency. INdeed, this is easy to do if you are only dealing with pictures and shapes (and not the magical placeholder versions of them)
    You can make the shape a text placeholder, and you can make the image (logo) a media placeholder, but you can't group the two together as a unit. And if you group them first, then you cannot make your group (shape+image-logo) a placeholder at all, so you then cannot layer it on top of the default image place holders.
    I was saying that I'd have to open my logo in photoshop and put it on top of a 'cartouche' and then import that modified image, and THEN make it a media placeholder.
    But obviously it would be easier if keynote just let us properly layer elements as you would expect it to work.
    I mean, setting images aside, why can't I create a shape and put it in front of a media placeholder without making the shape a text placeholder?
    Of course I can edit my logo and add dropshadow or glow to make it stand out, but even then, I would need to make it a placeholder before keynote would let me layer on top of another placeholder. And if I'm going through the trouble of using photoshop to add shadows or glows, I might as well just put the image on top of a cartouche as originally desired.

  • Can I put buttons on top of a slideshow?

    My client has asked the latest cover of their magazine to have a slow crossfade of about 5 images as the background, with elements such as logos & links to articles over the top.
    I thought this would be easy since the Slideshow » Crossfade feature is simple to control, but I run into trouble as soon as I put anything on top of it—the slideshow appears on top of everything else in the preview, even if it's an interactive element.
    Am I missing a step somewhere? I feel like this should be a relatively simple thing to do—but it's been about 6 months since my last DPS project so I'm a little rusty, and a lot has been updated in the meantime.
    My other option would be to do the crossfade in Photoshop and import as an image sequence, but I suspect I'd run into the same problem (correct me if I'm wrong!).
    Or I could do the animation in Edge Animate and import as an HTML object. Would either of those options give me better results? They seem a little more complex for essentially the same end product.

    Yep, they're buttons.
    So far I've only added one button, for initial testing. It's the client's logo as a placed Illustrator file. In Buttons and Forms, it's type is a Button, I've named it and On Release or Tap it has a Go To URL action. It has no rollover or click states and it is not Hidden Until Triggered. I feel like I'm missing a step somewhere there...
    Putting the buttons into each state of the MSO works fine, but is less than ideal since they'll change many times before the final version. Updating 5 versions of the same thing each time will get a bit tedious! That's the only way I can get it to work for now though, so I'll keep going like that.
    Adding a text frame with scrollable content works fine - it appears on top of the slideshow.
    Adding another slideshow on top works as well... but my buttons don't!
    EDIT: And yes, I mean in Adobe Content Viewer. It displays the same on the desktop version and on my iPad.
    Message was edited by: Luke-CYB

  • Putting text on top of a custom shape

    If I put text on top of a custom shape I've added, the text doesn't show.   I know it's there because if I change the opacity of the "shape" I can see the text is in fact there.   How do I force the text to be on top of the customer shape?   I'm using the shape as a "thought bubble" so one would think this is a common thing to do.

    It's probably not because of the shape. First of all check your color square to be sure the text isn't the same color as the shape. Also, you may  need to make text very much larger in PSE than you normally would, because text size is dependent on the resolution of the image. A high resolution image can need really big text before you can easily see it. Don't be afraid to type in a much larger number than is available in the pulldown menu.

  • I'm using movie program how do get rid of background noise and put music over top of video

    I'm using movie program how do get rid of background noise and put music over top of video

    Niel,
    Thanks for your suggestion about using RCDefaultApp. I am hesitating to do this because it seems like I'd be installing still another piece of software to fix the original mistake---downloading Reader.
    About 20 years ago I maintained---with considerable handholding---UNIX systems of various sorts. Can you suggest how I might find the plist that seems to require changing?
    BTW, Preview is called whenever I open some random .pdf file. The problem appears when I want to get a file from the web. If the site permits a "download" I can get the file, but if I want to "view and print" the file, the evil dark-grey Adobe screen appears with the whirling black ball. Then Safari quits. I'm wondering if the reference to Reader is in a "cookie" sent from the website, when I first was installing Reader. Is this possible?

  • How do I put my desk top music library songs onto my i pod

    How do I put my desk top music library songs onto my i pod nano ?

    Import them to the iTunes library if they're not in it, click here, and follow the instructions.
    (101781)

  • When i call on my iphone the call keeps been put at the top of the phone as if i pressed the home botton ,how do i stop this

    every time i call someone or get called the call is put at the top in green as if i have pressed the home button ,i really hate it and want to stop it but am not sure how to do so please can someone tell me how.
    thanks

    every time i call someone or get called the call is put at the top in green as if i have pressed the home button ,i really hate it and want to stop it but am not sure how to do so please can someone tell me how.
    thanks

Maybe you are looking for